changeset 25547:2992a7953ac4

(font-menu-add-default): Simplify code.
author Richard M. Stallman <rms@gnu.org>
date Sun, 05 Sep 1999 19:44:45 +0000
parents e98819a94512
children df6548ca33fd
files lisp/mouse.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mouse.el	Sun Sep 05 16:39:19 1999 +0000
+++ b/lisp/mouse.el	Sun Sep 05 19:44:45 1999 +0000
@@ -1893,8 +1893,7 @@
     (if (assoc "Default" elt)
 	(delete (assoc "Default" elt) elt))
     (setcdr elt
-	    (cons (list "Default"
-			(cdr (assq 'font (frame-parameters (selected-frame)))))
+	    (cons (list "Default" default)
 		  (cdr elt)))))
 
 (defvar x-fixed-font-alist