summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-20 05:38:59 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-20 05:38:59 +0000
commit908a4a7d81d2b03ee3442c14d9674ebba8dacd14 (patch)
tree3605a2f2b9dabe438f23a05694a4de4fe51d73d7 /lisp/add-log.el
parent11c1d32b43102197c838eced437b8100689a6cf7 (diff)
downloademacs-908a4a7d81d2b03ee3442c14d9674ebba8dacd14.tar.gz
(add-log-current-defun): Deal with lisp-interaction-mode like lisp-mode.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el
index 3c570fa17d5..db169295441 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -300,7 +300,8 @@ Has a preference of looking backwards."
(condition-case nil
(save-excursion
(let ((location (point)))
- (cond ((memq major-mode '(emacs-lisp-mode lisp-mode scheme-mode))
+ (cond ((memq major-mode '(emacs-lisp-mode lisp-mode scheme-mode
+ lisp-interaction-mode))
;; If we are now precisely a the beginning of a defun,
;; make sure beginning-of-defun finds that one
;; rather than the previous one.