aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-06-27 16:09:19 +0000
committerJuanma Barranquero2002-06-27 16:09:19 +0000
commit4b22f844609574dbef40ec8c3903d52cc56ae900 (patch)
treee906da0c0699f8a5d08a49f46e09e92116cf7f59
parent8eb93953787ed306da3a52e03557a5284a76dada (diff)
downloademacs-4b22f844609574dbef40ec8c3903d52cc56ae900.tar.gz
emacs-4b22f844609574dbef40ec8c3903d52cc56ae900.zip
(frame-update-faces): Fix obsolescence declaration.
(internal-get-face): Remove redundant info from docstring and fix obsolescence declaration.
-rw-r--r--lisp/faces.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 9dfb88dbd9b..7271edeed15 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -196,13 +196,10 @@ should not be used anymore."
196If the optional argument FRAME is given, this gets the face NAME for 196If the optional argument FRAME is given, this gets the face NAME for
197that frame; otherwise, it uses the selected frame. 197that frame; otherwise, it uses the selected frame.
198If FRAME is the symbol t, then the global, non-frame face is returned. 198If FRAME is the symbol t, then the global, non-frame face is returned.
199If NAME is already a face, it is simply returned. 199If NAME is already a face, it is simply returned."
200
201This function is defined for compatibility with Emacs 20.2. It
202should not be used anymore."
203 (or (facep name) 200 (or (facep name)
204 (check-face name))) 201 (check-face name)))
205(make-obsolete 'internal-get-face "See `facep' and `check-face'." "21.1") 202(make-obsolete 'internal-get-face "see `facep' and `check-face'." "21.1")
206 203
207 204
208;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 205;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1755,7 +1752,7 @@ created."
1755;; Update a frame's faces when we change its default font. 1752;; Update a frame's faces when we change its default font.
1756 1753
1757(defalias 'frame-update-faces 'ignore) 1754(defalias 'frame-update-faces 'ignore)
1758(make-obsolete 'frame-update-faces "No longer necessary" "21.1") 1755(make-obsolete 'frame-update-faces "no longer necessary." "21.1")
1759 1756
1760;; Update the colors of FACE, after FRAME's own colors have been 1757;; Update the colors of FACE, after FRAME's own colors have been
1761;; changed. 1758;; changed.