diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
commit | 07fcbb558d797272b9f43547da60beda485873a3 (patch) | |
tree | 77d5da14e9f9d9d8b1d877c70c01296fd3893796 /lisp/ps-print.el | |
parent | c9bdeff3e45a7ac84a74a81bb048046f82dddc91 (diff) | |
parent | fb81c8c3adf8633f2f617c82f6019aef630860c7 (diff) | |
download | emacs-07fcbb558d797272b9f43547da60beda485873a3.tar.gz |
Merge remote-tracking branch 'origin/master' into athena/unstable
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r-- | lisp/ps-print.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index fcc6e1fd834..1b8654ead2b 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el @@ -6506,10 +6506,11 @@ If FACE is not a valid face name, use default face." (and (buffer-live-p ps-buffer) (buffer-modified-p ps-buffer) (not (yes-or-no-p "Unprinted PostScript waiting; exit anyway? ")) - (error "Unprinted PostScript")))) + (error "Unprinted PostScript"))) + t) (unless noninteractive - (add-hook 'kill-emacs-hook #'ps-kill-emacs-check)) + (add-hook 'kill-emacs-query-functions #'ps-kill-emacs-check)) (provide 'ps-print) |