]> git.eshelyaron.com Git - emacs.git/commitdiff
(menu-set-font): Renamed x-font-dialog to x-select-font.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 12 Jun 2008 15:30:04 +0000 (15:30 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 12 Jun 2008 15:30:04 +0000 (15:30 +0000)
lisp/menu-bar.el

index 66793a4a805423c7304805b805772b6a58036d0d..aa7cd194acf034bd1e963546a0e6ad9f16dfd469 100644 (file)
@@ -632,8 +632,8 @@ by \"Save Options\" in Custom buffers.")
 (defun menu-set-font ()
   "Interactively select a font and make it the default."
   (interactive)
-  (let ((font (if (functionp 'x-font-dialog)
-                 (x-font-dialog)
+  (let ((font (if (functionp 'x-select-font)
+                 (x-select-font)
                (mouse-select-font)))
        spec)
     (when font