mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
(add-log-current-defun): Remove trailing -=' in C modes.
This commit is contained in:
parent
f165ac6642
commit
a0bcdd7f58
1 changed files with 5 additions and 0 deletions
|
|
@ -634,6 +634,11 @@ Has a preference of looking backwards."
|
|||
(and (bolp)
|
||||
(looking-at "struct \\|union \\|class ")
|
||||
(setq middle (point)))
|
||||
(goto-char end)
|
||||
(when (eq (preceding-char) ?=)
|
||||
(forward-char -1)
|
||||
(skip-chars-backward " \t")
|
||||
(setq end (point)))
|
||||
(buffer-substring middle end)))))))))
|
||||
((memq major-mode add-log-tex-like-modes)
|
||||
(if (re-search-backward
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue