aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1995-06-14 14:58:36 +0000
committerSimon Marshall1995-06-14 14:58:36 +0000
commit4b619ecad71d9701cc2b54edf781e48573cadf8f (patch)
tree49c84ddf5491de44c8572a5042a87e8289c1d445
parent366ad7b01ff2a2106aea6b0b89ff63c194595764 (diff)
downloademacs-4b619ecad71d9701cc2b54edf781e48573cadf8f.tar.gz
emacs-4b619ecad71d9701cc2b54edf781e48573cadf8f.zip
Put mark-active for menu-enable property on eval-region, comment-region, and indent-region symbols.
-rw-r--r--lisp/emacs-lisp/lisp-mode.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index c4e69d29dfe..2a2c88a9a17 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -144,7 +144,10 @@ All commands in shared-lisp-mode-map are inherited by this map.")
144 (define-key map [separator-format] '("--")) 144 (define-key map [separator-format] '("--"))
145 (define-key map [comment-region] '("Comment Out Region" . comment-region)) 145 (define-key map [comment-region] '("Comment Out Region" . comment-region))
146 (define-key map [indent-region] '("Indent Region" . indent-region)) 146 (define-key map [indent-region] '("Indent Region" . indent-region))
147 (define-key map [indent-line] '("Indent Line" . lisp-indent-line)))) 147 (define-key map [indent-line] '("Indent Line" . lisp-indent-line))
148 (put 'eval-region 'menu-enable 'mark-active)
149 (put 'comment-region 'menu-enable 'mark-active)
150 (put 'indent-region 'menu-enable 'mark-active)))
148 151
149(defun emacs-lisp-byte-compile () 152(defun emacs-lisp-byte-compile ()
150 "Byte compile the file containing the current buffer." 153 "Byte compile the file containing the current buffer."
@@ -534,6 +537,7 @@ of the start of the containing expression."
534(put 'prog2 'lisp-indent-function 2) 537(put 'prog2 'lisp-indent-function 2)
535(put 'save-excursion 'lisp-indent-function 0) 538(put 'save-excursion 'lisp-indent-function 0)
536(put 'save-window-excursion 'lisp-indent-function 0) 539(put 'save-window-excursion 'lisp-indent-function 0)
540(put 'save-selected-window 'lisp-indent-function 0)
537(put 'save-restriction 'lisp-indent-function 0) 541(put 'save-restriction 'lisp-indent-function 0)
538(put 'save-match-data 'lisp-indent-function 0) 542(put 'save-match-data 'lisp-indent-function 0)
539(put 'let 'lisp-indent-function 1) 543(put 'let 'lisp-indent-function 1)