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:
parent
8a577e9468
commit
a0aef7cd02
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue