changeset 92534:cdc0b4ed6c22

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Bugfix: replaced :enable (mark-active) with :enable mark-active. Thanks to Lennart Borgman.
author Bastien Guerry <bzg@altern.org>
date Thu, 06 Mar 2008 17:15:47 +0000
parents f71ac6a5973f
children 46c4774d31c9
files lisp/ChangeLog lisp/emacs-lisp/lisp-mode.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Mar 06 15:23:36 2008 +0000
+++ b/lisp/ChangeLog	Thu Mar 06 17:15:47 2008 +0000
@@ -1,3 +1,8 @@
+2008-03-06  Lennart Borgman  <lennart.borgman@gmail.com>  (tiny change)
+
+	* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Bugfix: replaced
+	:enable (mark-active) with :enable mark-active.
+
 2008-03-06  Juanma Barranquero  <lekktu@gmail.com>
 
 	* vms-patch.el (make-legal-file-name): New obsolete alias.
--- a/lisp/emacs-lisp/lisp-mode.el	Thu Mar 06 15:23:36 2008 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Thu Mar 06 17:15:47 2008 +0000
@@ -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.