aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/frame.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 81f29dfe230..5a9c276a2fe 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -490,7 +490,7 @@ The optional second argument PARAMETERS specifies additional frame parameters."
490 "Functions to run after a frame is created. 490 "Functions to run after a frame is created.
491The functions are run with one arg, the newly created frame.") 491The functions are run with one arg, the newly created frame.")
492 492
493(defvar after-setting-font-hooks nil 493(defvar after-setting-font-hook nil
494 "Functions to run after a frame's font has been changed.") 494 "Functions to run after a frame's font has been changed.")
495 495
496;; Alias, kept temporarily. 496;; Alias, kept temporarily.
@@ -733,7 +733,7 @@ To get the frame's current default font, use `frame-parameters'."
733 (x-list-fonts "*" nil (selected-frame))))))) 733 (x-list-fonts "*" nil (selected-frame)))))))
734 (modify-frame-parameters (selected-frame) 734 (modify-frame-parameters (selected-frame)
735 (list (cons 'font font-name))) 735 (list (cons 'font font-name)))
736 (run-hooks 'after-setting-font-hooks)) 736 (run-hooks 'after-setting-font-hook 'after-setting-font-hooks))
737 737
738(defun set-background-color (color-name) 738(defun set-background-color (color-name)
739 "Set the background color of the selected frame to COLOR-NAME. 739 "Set the background color of the selected frame to COLOR-NAME.