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
748d6ca4
Commit
748d6ca4
authored
Feb 26, 1999
by
Richard M. Stallman
Browse files
(shell-command-on-region): Don't go into the REPLACE = t
case just because the current buffer is the output buffer.
parent
a127b764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lisp/simple.el
lisp/simple.el
+1
-2
No files found.
lisp/simple.el
View file @
748d6ca4
...
...
@@ -1242,8 +1242,7 @@ of ERROR-BUFFER."
exit-status)
(if (or replace
(and output-buffer
(not (or (bufferp output-buffer) (stringp output-buffer))))
(equal (buffer-name (current-buffer)) "
*Shell
Command
Output*
"))
(not (or (bufferp output-buffer) (stringp output-buffer)))))
;; Replace specified region with output from command.
(let ((swap (and replace (< start end))))
;; Don't muck with mark unless REPLACE says we should.
...
...
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