projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea3137
)
* lisp/simple.el (shell-command-on-region): Use set-buffer-major-mode.
author
Juri Linkov
<juri@linkov.net>
Sun, 8 Dec 2019 22:27:34 +0000
(
00:27
+0200)
committer
Juri Linkov
<juri@linkov.net>
Sun, 8 Dec 2019 22:27:34 +0000
(
00:27
+0200)
This enables globalized minor modes explicitly after get-buffer-create
creates "*Shell Command Output*" buffer (bug#38111).
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 67ddab3d343fb8951962aabf424b2685da1dd6fa..a0250cc2ac45fd58c0e4afcb9f8bc057d4a95c7b 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-3925,6
+3925,7
@@
interactively, this is t."
;; replacing its entire contents.
(let ((buffer (get-buffer-create
(or output-buffer "*Shell Command Output*"))))
+ (set-buffer-major-mode buffer) ; Enable globalized modes (bug#38111)
(unwind-protect
(if (and (eq buffer (current-buffer))
(or (not shell-command-dont-erase-buffer)