Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4b619eca
Commit
4b619eca
authored
Jun 14, 1995
by
Simon Marshall
Browse files
Put mark-active for menu-enable property on eval-region, comment-region, and indent-region symbols.
parent
366ad7b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+5
-1
No files found.
lisp/emacs-lisp/lisp-mode.el
View file @
4b619eca
...
...
@@ -144,7 +144,10 @@ All commands in shared-lisp-mode-map are inherited by this map.")
(
define-key
map
[separator-format]
'
(
"--"
))
(
define-key
map
[comment-region]
'
(
"Comment Out Region"
.
comment-region
))
(
define-key
map
[indent-region]
'
(
"Indent Region"
.
indent-region
))
(
define-key
map
[indent-line]
'
(
"Indent Line"
.
lisp-indent-line
))))
(
define-key
map
[indent-line]
'
(
"Indent Line"
.
lisp-indent-line
))
(
put
'eval-region
'menu-enable
'mark-active
)
(
put
'comment-region
'menu-enable
'mark-active
)
(
put
'indent-region
'menu-enable
'mark-active
)))
(
defun
emacs-lisp-byte-compile
()
"Byte compile the file containing the current buffer."
...
...
@@ -534,6 +537,7 @@ of the start of the containing expression."
(
put
'prog2
'lisp-indent-function
2
)
(
put
'save-excursion
'lisp-indent-function
0
)
(
put
'save-window-excursion
'lisp-indent-function
0
)
(
put
'save-selected-window
'lisp-indent-function
0
)
(
put
'save-restriction
'lisp-indent-function
0
)
(
put
'save-match-data
'lisp-indent-function
0
)
(
put
'let
'lisp-indent-function
1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment