summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2008-03-06 17:15:47 +0000
committerBastien Guerry <bzg@altern.org>2008-03-06 17:15:47 +0000
commita218ab178b3814366daf920d89a8ec71e2b1c33c (patch)
treed32f7d79a6bc3d2c11d39dbda11778ede8cf0553 /lisp/emacs-lisp
parent403d0c9679f56c71616a428f1b049f9ba724831a (diff)
downloademacs-a218ab178b3814366daf920d89a8ec71e2b1c33c.tar.gz
emacs-a218ab178b3814366daf920d89a8ec71e2b1c33c.tar.bz2
emacs-a218ab178b3814366daf920d89a8ec71e2b1c33c.zip
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Bugfix: replaced
:enable (mark-active) with :enable mark-active. Thanks to Lennart Borgman.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index c73a10607a0..054c6419085 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -298,7 +298,7 @@
(define-key menu-map [eval-region]
'(menu-item "Evaluate Region" eval-region
:help "Execute the region as Lisp code"
- :enable (mark-active)))
+ :enable mark-active))
(define-key menu-map [eval-sexp]
'(menu-item "Evaluate Last S-expression" eval-last-sexp
:help "Evaluate sexp before point; print value in minibuffer"))
@@ -306,11 +306,11 @@
(define-key menu-map [comment-region]
'(menu-item "Comment Out Region" comment-region
:help "Comment or uncomment each line in the region"
- :enable (mark-active)))
+ :enable mark-active))
(define-key menu-map [indent-region]
'(menu-item "Indent Region" indent-region
:help "Indent each nonblank line in the region"
- :enable (mark-active)))
+ :enable mark-active))
(define-key menu-map [indent-line] '("Indent Line" . lisp-indent-line))
map)
"Keymap for Emacs Lisp mode.