summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 691d3dae790..515e605fb2f 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2220,7 +2220,7 @@ With prefix arg, silently save all file-visiting buffers, then kill."
(or (not active)
(yes-or-no-p "Active processes exist; kill them and exit anyway? "))))
;; Query the user for other things, perhaps.
- (run-hook-with-args-until-failure 'kill-emacs-query-functions)
+ (not (run-hook-with-args-until-failure 'kill-emacs-query-functions))
(kill-emacs)))
(define-key ctl-x-map "\C-f" 'find-file)