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
f2b3cdc3
Commit
f2b3cdc3
authored
Aug 17, 1996
by
Richard M. Stallman
Browse files
(shell-command): Really use output-buffer in synchronous
case, when it is a buffer.
parent
7c983171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/simple.el
lisp/simple.el
+1
-1
No files found.
lisp/simple.el
View file @
f2b3cdc3
...
...
@@ -828,7 +828,7 @@ In either case, the output is inserted after point (leaving mark after it)."
(require 'shell) (shell-mode)
(set-process-sentinel proc 'shell-command-sentinel)
))
(shell-command-on-region (point) (point) command
nil
)
(shell-command-on-region (point) (point) command
output-buffer
)
))))))
;; We have a sentinel to prevent insertion of a termination message
...
...
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