Commit 1d8f4cb6 authored by Masatake YAMATO's avatar Masatake YAMATO
Browse files

(add-log-current-defun): Use `forward-sexp'

instead of `forward-word' to pick c++::symbol.
Reported by Herbert Euler <herberteuler@hotmail.com>.
parent 2e77924d
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment