emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/htmlize d6dc274 125/134: Remove unused function.


From: ELPA Syncer
Subject: [nongnu] elpa/htmlize d6dc274 125/134: Remove unused function.
Date: Sat, 7 Aug 2021 09:17:20 -0400 (EDT)

branch: elpa/htmlize
commit d6dc274696ffefe4a0ecd73b66d1bf32a90c45e7
Author: Hrvoje Niksic <hniksic@gmail.com>
Commit: Hrvoje Niksic <hniksic@gmail.com>

    Remove unused function.
---
 htmlize.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/htmlize.el b/htmlize.el
index 87207ef..a2033a2 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -917,17 +917,6 @@ If no rgb.txt file is found, return nil."
 
 ;;; Face handling.
 
-(defun htmlize-face-specifies-property (face prop)
-  ;; Return t if face specifies PROP, as opposed to it being inherited
-  ;; from the default face.  The problem with e.g.
-  ;; `face-foreground-instance' is that it returns an instance for
-  ;; EVERY face because every face inherits from the default face.
-  ;; However, we'd like htmlize-face-{fore,back}ground to return nil
-  ;; when called with a face that doesn't specify its own foreground
-  ;; or background.
-  (or (eq face 'default)
-      (assq 'global (specifier-spec-list (face-property face prop)))))
-
 (defun htmlize-face-color-internal (face fg)
   ;; Used only under GNU Emacs.  Return the color of FACE, but don't
   ;; return "unspecified-fg" or "unspecified-bg".  If the face is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]