mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(add-log-current-defun): Skip doc string
correctly even if it ends with line that starts space.
This commit is contained in:
parent
cd6446282d
commit
019644eeaa
1 changed files with 3 additions and 1 deletions
|
|
@ -358,7 +358,9 @@ Has a preference of looking backwards."
|
|||
;; or the DEFUN macro used by the C library.
|
||||
(if (condition-case nil
|
||||
(and (save-excursion
|
||||
(forward-line 1)
|
||||
(end-of-line)
|
||||
(while (= (preceding-char) ?\\)
|
||||
(end-of-line 2))
|
||||
(backward-sexp 1)
|
||||
(beginning-of-line)
|
||||
(setq tem (point))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue