HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
03361bc
)
(add-log-current-defun): In texinfo-mode,
author
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Oct 1994 09:00:51 +0000
(09:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 8 Oct 1994 09:00:51 +0000
(09:00 +0000)
handle the case of no commas after @node.
lisp/add-log.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/add-log.el
b/lisp/add-log.el
index
b2074ef
..
340ef08
100644
(file)
--- a/
lisp/add-log.el
+++ b/
lisp/add-log.el
@@
-427,7
+427,7
@@
Has a preference of looking backwards."
(end-of-line)
(point))))))
((eq major-mode 'texinfo-mode)
- (if (re-search-backward "^@node[ \t]+\\([^,
]+\\),
" nil t)
+ (if (re-search-backward "^@node[ \t]+\\([^,
\n]+\\)
" nil t)
(buffer-substring (match-beginning 1)
(match-end 1))))
((eq major-mode 'perl-mode)