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

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

[elpa] externals/compat 26cf72e36a 49/84: Explicitly denote subr-x funct


From: ELPA Syncer
Subject: [elpa] externals/compat 26cf72e36a 49/84: Explicitly denote subr-x functions with :feature
Date: Tue, 3 Jan 2023 08:57:35 -0500 (EST)

branch: externals/compat
commit 26cf72e36adf41bdb76bf147015aeecb5d22dfe2
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Explicitly denote subr-x functions with :feature
---
 compat-29.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compat-29.el b/compat-29.el
index 34b21d6070..32783b58f7 100644
--- a/compat-29.el
+++ b/compat-29.el
@@ -390,6 +390,7 @@ than this function."
 ;;* UNTESTED
 (compat-defun string-pixel-width (string)
   "Return the width of STRING in pixels."
+  :feature 'subr-x
   (if (zerop (length string))
       0
     ;; Keeping a work buffer around is more efficient than creating a
@@ -419,6 +420,7 @@ changes that are normally perceived as \"buffer 
modifications\", such
 as changes in text properties, `buffer-file-coding-system', buffer
 multibyteness, etc. -- will not be noticed, and the buffer will still
 be marked unmodified, effectively ignoring those changes."
+  :feature 'subr-x
   (declare (debug t) (indent 0))
   (let ((hash (make-symbol "hash"))
         (buffer (make-symbol "buffer")))



reply via email to

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