mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(add-log-current-defun): In texinfo-mode,
handle the case of no commas after @node.
This commit is contained in:
parent
03361bcc45
commit
3071ee28bb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user