mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-03 11:33:37 +00:00
(add-log-current-defun): Remove trailing -=' in C modes.
This commit is contained in:
parent
f165ac6642
commit
a0bcdd7f58
@ -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…
Reference in New Issue
Block a user