diff options
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/add-log.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f1e1f7615cb..241087e608e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-09-22 Masatake YAMATO <jet@gyve.org> | ||
| 2 | |||
| 3 | * add-log.el (add-log-current-defun): Use `forward-sexp' | ||
| 4 | instead of `forward-word' to pick c++::symbol. | ||
| 5 | Reported by Herbert Euler <herberteuler@hotmail.com>. | ||
| 6 | |||
| 1 | 2006-09-22 Kenichi Handa <handa@m17n.org> | 7 | 2006-09-22 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * bindings.el: Fix setting self-insert-command for multibyte | 9 | * bindings.el: Fix setting self-insert-command for multibyte |
diff --git a/lisp/add-log.el b/lisp/add-log.el index 393a696d3f1..d60f920244a 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -914,7 +914,7 @@ Has a preference of looking backwards." | |||
| 914 | ;; Include certain keywords if they | 914 | ;; Include certain keywords if they |
| 915 | ;; precede the name. | 915 | ;; precede the name. |
| 916 | (setq middle (point)) | 916 | (setq middle (point)) |
| 917 | (forward-word -1) | 917 | (forward-sexp -1) |
| 918 | ;; Is this C++ method? | 918 | ;; Is this C++ method? |
| 919 | (when (and (< 2 middle) | 919 | (when (and (< 2 middle) |
| 920 | (string= (buffer-substring (- middle 2) | 920 | (string= (buffer-substring (- middle 2) |