[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indices in Info.
From: |
Luc Teirlinck |
Subject: |
Re: Indices in Info. |
Date: |
Tue, 24 Jun 2003 20:55:09 -0500 (CDT) |
Or is the following style considered preferable? (There is no
difference in functionality between the two diffs, just a matter of
style.)
===File ~/infodiff2=========================================
cd /usr/local/share/emacs/21.3.50/lisp/
diff -c /usr/local/share/emacs/21.3.50/lisp/info.old.el
/usr/local/share/emacs/21.3.50/lisp/info.el
*** /usr/local/share/emacs/21.3.50/lisp/info.old.el Mon Jun 23 16:25:22 2003
--- /usr/local/share/emacs/21.3.50/lisp/info.el Tue Jun 24 20:36:37 2003
***************
*** 1564,1572 ****
(skip-chars-forward " \t\n")
(let ((beg (point))
str)
! (while (not (looking-at ":*[,.;() \t\n]"))
! (skip-chars-forward "^:")
! (forward-char 1))
(setq str
(if (looking-at ":")
(buffer-substring-no-properties beg (1- (point)))
--- 1564,1574 ----
(skip-chars-forward " \t\n")
(let ((beg (point))
str)
! (while
! (progn
! (skip-chars-forward "^:")
! (forward-char 1)
! (not (looking-at ":*[,.;() \t\n]"))))
(setq str
(if (looking-at ":")
(buffer-substring-no-properties beg (1- (point)))
Diff finished at Tue Jun 24 20:42:14
============================================================