diff options
| author | Richard M. Stallman | 1993-08-11 19:22:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-11 19:22:35 +0000 |
| commit | 0d94f5ca296f68fe52c4a9cafc7400fa9ef27fc7 (patch) | |
| tree | d69673c6ff8f238632ae9cb0b32ba1ea0114ed74 | |
| parent | 3d64d15b2e128914e168a0aa96937f12e9629556 (diff) | |
| download | emacs-0d94f5ca296f68fe52c4a9cafc7400fa9ef27fc7.tar.gz emacs-0d94f5ca296f68fe52c4a9cafc7400fa9ef27fc7.zip | |
(font-menu-add-default): Use list, not cons, for new elt.
Don't get confused if no Misc entry.
| -rw-r--r-- | lisp/mouse.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index f5a264d2a4b..49e78c4f1b6 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -888,7 +888,7 @@ and selects that window." | |||
| 888 | (defun font-menu-add-default () | 888 | (defun font-menu-add-default () |
| 889 | (let* ((default (cdr (assq 'font (frame-parameters (selected-frame))))) | 889 | (let* ((default (cdr (assq 'font (frame-parameters (selected-frame))))) |
| 890 | (font-alist x-fixed-font-alist) | 890 | (font-alist x-fixed-font-alist) |
| 891 | (elt (assoc "Misc" font-alist))) | 891 | (elt (or (assoc "Misc" font-alist) (nth 1 font-alist)))) |
| 892 | (if (assoc "Default" elt) | 892 | (if (assoc "Default" elt) |
| 893 | (delete (assoc "Default" elt) elt)) | 893 | (delete (assoc "Default" elt) elt)) |
| 894 | (setcdr elt | 894 | (setcdr elt |