1. xemacs
  2. texinfo


aidan  committed e3873a8

Texinfo line-end-position -> point-at-eol, whitespace cleanup, as suggested by Katsumi Yamaoka in b9yd5ushx8q.fsf@jpl.org

  • Participants
  • Parent commits e5b342b
  • Branches default

Comments (0)

Files changed (3)

File ChangeLog

View file
+2005-02-23  Katsumi Yamaoka  <yamaoka@jpl.org>
+	* texinfmt.el (texinfo-format-scan):  Silence whitespace-cleanup.
+	* texnfo-upd.el (texinfo-copy-node-name): Use point-at-eol instead 
+        of line-end-position. 
 2004-12-22  Norbert Koch  <viteno@xemacs.org>
 	* Makefile (VERSION): XEmacs package 1.28 released.

File texinfmt.el

View file
          (error "Unterminated @%s" (car (car texinfo-stack)))))
   ;; Remove excess whitespace
-  (whitespace-cleanup))
+  (let ((whitespace-silent t)) 
+    (whitespace-cleanup))) 
 (defvar texinfo-copying-text ""
   "Text of the copyright notice and copying permissions.")

File texnfo-upd.el

View file
 after the node command up to the first comma on the line, if any, and
 return the text as a string.  Leaves point at the beginning of the
 line.  If there is no node name, returns an empty string."
      (progn (forward-word 1)              ; skip over node command
 	    (skip-chars-forward " \t")    ; and over spaces
-     (if (search-forward "," (line-end-position) t) ; bound search
+     (if (search-forward "," (point-at-eol) t) ; bound search 
 	 (1- (point))
        (end-of-line) (point)))))