Don't try to make menu bindings when window-system==nil.
authorBoris Goldowsky <boris@gnu.org>
Mon, 24 Oct 1994 14:18:32 +0000 (14:18 +0000)
committerBoris Goldowsky <boris@gnu.org>
Mon, 24 Oct 1994 14:18:32 +0000 (14:18 +0000)
lisp/enriched.el

index 3249d1d..8a4d325 100644 (file)
@@ -558,7 +558,7 @@ Commands:
 (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