Re: Any want to test buffer-substring patches?
Kevin Rosenberg <[email protected]>
| Newsgroups | gmane.lisp.ilisp.devel |
|---|---|
| Message-ID | <[email protected]> |
aardvark llama wrote:
> >(unless (fboundp 'buffer-substring-no-properties)
> > (defun buffer-substring-no-properties (start end)
> > use-whatever-those-old-versions-support-then))
> >
> (defun buffer-substring-no-properties (beg end)
> "Return the text from BEG to END, without text properties, as a string."
> (let ((string (buffer-substring beg end)))
> (set-text-properties 0 (length string) nil string)
> string))
That version looks fairly xemacs-specific. I don't know if that'd work
in old versions of emacs that didn't have buffer-substring-no-properties.
> >However, I would be interested to know which versions you found not
> >to support buffer-substring-no-properties. Concerning Emacs, 19.34
I'm not aware of any versions that don't have that function. I just
don't want to break anyone's old (x)emacs editors.
--
Kevin Rosenberg | .''`. ** Debian GNU/Linux **
http://b9.com/debian.html | : :' : The universal
GPG signed and encrypted | `. `' Operating System
messages accepted. | `- http://www.debian.org/
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en