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
d7e84efb
Commit
d7e84efb
authored
Apr 18, 1994
by
Richard M. Stallman
Browse files
(shell-command-sentinel): Do nothing if buffer is dead.
parent
5754d7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/simple.el
lisp/simple.el
+2
-1
No files found.
lisp/simple.el
View file @
d7e84efb
...
...
@@ -710,7 +710,8 @@ This cannot be done asynchronously."
;; We have a sentinel to prevent insertion of a termination message
;; in the buffer itself.
(defun shell-command-sentinel (process signal)
(if (memq (process-status process) '(exit signal))
(if (and (memq (process-status process) '(exit signal))
(buffer-name (process-buffer process)))
(progn
(message "
%s:
%s.
"
(car (cdr (cdr (process-command process))))
...
...
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