Don't try to make menu bindings when window-system==nil.
This commit is contained in:
parent
0122281ab9
commit
2db6c9ecda
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue