(push (list symbol 'custom-group) found))
(if (custom-variable-p symbol)
(push (list symbol 'custom-variable) found))
- (if (custom-facep symbol)
+ (if (facep symbol)
(push (list symbol 'custom-face) found)))))))
(if found
(custom-buffer-create (custom--filter-obsolete-variables
(mapatoms (lambda (symbol)
(and (or (get symbol 'customized-face)
(get symbol 'customized-face-comment))
- (custom-facep symbol)
+ (facep symbol)
(push (list symbol 'custom-face) found))
(and (or (get symbol 'customized-value)
(get symbol 'customized-variable-comment))
(mapatoms (lambda (symbol)
(and (or (get symbol 'saved-face)
(get symbol 'saved-face-comment))
- (custom-facep symbol)
+ (facep symbol)
(push (list symbol 'custom-face) found))
(and (or (get symbol 'saved-value)
(get symbol 'saved-variable-comment))
(if (get symbol 'custom-group)
(push (list symbol 'custom-group) found)))
(if (memq type '(nil faces))
- (if (custom-facep symbol)
+ (if (facep symbol)
(push (list symbol 'custom-face) found)))
(if (memq type '(nil options))
(if (and (boundp symbol)
(let ((spec (car-safe (get symbol 'theme-face)))
(value (get symbol 'saved-face))
(now (not (or (get symbol 'face-defface-spec)
- (and (not (custom-facep symbol))
+ (and (not (facep symbol))
(not (get symbol 'force-face))))))
(comment (get symbol 'saved-face-comment)))
(when (or (and spec (eq (nth 0 spec) 'user))
;;; Code:
-(defalias 'custom-facep 'facep)
-
;;; Declaring a face.
(defun custom-declare-face (face spec doc &rest args)
This means reset FACE to its value in FROM-THEME."
(apply 'custom-theme-reset-faces 'user args))
+(define-obsolete-function-alias 'custom-facep #'facep "28.1")
+
;;; The End.
(provide 'cus-face)