]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix use of mark-active in examples.
authorDave Love <fx@gnu.org>
Fri, 28 Jan 2000 22:58:46 +0000 (22:58 +0000)
committerDave Love <fx@gnu.org>
Fri, 28 Jan 2000 22:58:46 +0000 (22:58 +0000)
lispref/keymaps.texi

index a7b96a8a3e89996261b3b5342d97652a5812f056..0826db07df8504aa0bd55185d39219aa46efa69a 100644 (file)
@@ -1980,7 +1980,7 @@ Items}) for @code{print-region}, like this:
 @example
 (define-key menu-bar-print-menu [print-region]
   '(menu-item "Print Region" print-region
-              :enable (mark-active)))
+              :enable mark-active))
 @end example
 
 @noindent
@@ -1992,7 +1992,7 @@ we could do it this way:
 @example
 (define-key menu-bar-print-menu [print-region]
   '(menu-item "Print Region" print-region
-              :visible (mark-active)))
+              :visible mark-active))
 @end example
 
 @node Menu Bar