summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'lispref')
-rw-r--r--lispref/keymaps.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index a7b96a8a3e8..0826db07df8 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -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