1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Improve test of error message when Emacs cannot be suspended

* lisp/term/x-win.el (x-win-suspend-error):
* lisp/term/ns-win.el (ns-suspend-error): Improve the error
message.  (Bug#27901)
This commit is contained in:
Eli Zaretskii 2017-08-05 12:00:31 +03:00
parent 8a577e9468
commit a0aef7cd02
2 changed files with 2 additions and 2 deletions

View file

@ -774,7 +774,7 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
(defun ns-suspend-error ()
;; Don't allow suspending if any of the frames are NS frames.
(if (memq 'ns (mapcar 'window-system (frame-list)))
(error "Cannot suspend Emacs while running under NS")))
(error "Cannot suspend Emacs while an NS GUI frame exists")))
;; Set some options to be as Nextstep-like as possible.