aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-02-02 01:53:27 +0000
committerRichard M. Stallman1997-02-02 01:53:27 +0000
commit889611f0962bca3dca5039d98a6ac05eeb51c06b (patch)
tree3fdcedfc642aac5a6c46d7bd9a5ba0e68d45b3f4
parent98f1928d38d4093975c5bf3f25a8e1f3d34dca45 (diff)
downloademacs-889611f0962bca3dca5039d98a6ac05eeb51c06b.tar.gz
emacs-889611f0962bca3dca5039d98a6ac05eeb51c06b.zip
(set-frame-font): Renamed from set-default-font,
-rw-r--r--lisp/frame.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index c97a6d3ab7f..80c903b5795 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -583,7 +583,8 @@ If FRAME is omitted, describe the currently selected frame."
583If FRAME is omitted, describe the currently selected frame." 583If FRAME is omitted, describe the currently selected frame."
584 (cdr (assq 'width (frame-parameters frame)))) 584 (cdr (assq 'width (frame-parameters frame))))
585 585
586(defun set-default-font (font-name) 586(defalias 'set-default-font 'set-frame-font)
587(defun set-frame-font (font-name)
587 "Set the font of the selected frame to FONT. 588 "Set the font of the selected frame to FONT.
588When called interactively, prompt for the name of the font to use. 589When called interactively, prompt for the name of the font to use.
589To get the frame's current default font, use `frame-parameters'." 590To get the frame's current default font, use `frame-parameters'."