mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(add-log-current-defun): Use `forward-sexp'
instead of `forward-word' to pick c++::symbol. Reported by Herbert Euler <herberteuler@hotmail.com>.
This commit is contained in:
parent
2e77924dcf
commit
1d8f4cb627
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-09-22 Masatake YAMATO <jet@gyve.org>
|
||||
|
||||
* add-log.el (add-log-current-defun): Use `forward-sexp'
|
||||
instead of `forward-word' to pick c++::symbol.
|
||||
Reported by Herbert Euler <herberteuler@hotmail.com>.
|
||||
|
||||
2006-09-22 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* bindings.el: Fix setting self-insert-command for multibyte
|
||||
|
|
|
|||
|
|
@ -914,7 +914,7 @@ Has a preference of looking backwards."
|
|||
;; Include certain keywords if they
|
||||
;; precede the name.
|
||||
(setq middle (point))
|
||||
(forward-word -1)
|
||||
(forward-sexp -1)
|
||||
;; Is this C++ method?
|
||||
(when (and (< 2 middle)
|
||||
(string= (buffer-substring (- middle 2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue