Re: Any want to test buffer-substring patches?

Kevin Rosenberg <[email protected]>
Newsgroups gmane.lisp.ilisp.devel
Message-ID <[email protected]>
Thanks very much for all of your help.

I've replaced ilisp-buffer-substring with
buffer-substring-no-properties and added the following form to
ilcompat.el per recommendations:


(cond ((fboundp 'buffer-substring-no-properties)
       ;; nothing to do (emacs 19,20,&21, xemacs 21)
       )
       ((fboundp 'set-text-properties)
	;; I believe this is xemacs 20 and before
	(defun buffer-substring-no-properties (start end)
	  (let ((string
		 (buffer-substring start end)))
	    (set-text-properties 0 (length string) nil string)
	    string)))
       (t
	;; hope that buffer-substring works okay on this platform ;-)
	(defun buffer-substring-no-properties (start end)
	  (buffer-substring start end))))

This is my first significant patch to ilisp, thanks for your guidance.

-- 
       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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.