Mercurial > emacs
changeset 9677:8ff145bf72cf
Don't try to make menu bindings when window-system==nil.
author | Boris Goldowsky <boris@gnu.org> |
---|---|
date | Mon, 24 Oct 1994 14:18:32 +0000 |
parents | 03324d1a8d7f |
children | 721cc180810c |
files | lisp/enriched.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/enriched.el Mon Oct 24 13:54:44 1994 +0000 +++ b/lisp/enriched.el Mon Oct 24 14:18:32 1994 +0000 @@ -558,7 +558,7 @@ (define-key enriched-mode-map "\M-j" 'enriched-justification-menu-map) ;;; These extend the "Face" menu. -(let ((menu (car (where-is-internal facemenu-menu)))) +(let ((menu (and window-system (car (where-is-internal facemenu-menu))))) (if (null menu) nil (define-key enriched-mode-map