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

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

[elpa] externals/compat 1fdb3ddece 01/11: Use correct name in compat-fun


From: ELPA Syncer
Subject: [elpa] externals/compat 1fdb3ddece 01/11: Use correct name in compat-funcall
Date: Tue, 3 Jan 2023 15:57:28 -0500 (EST)

branch: externals/compat
commit 1fdb3ddece539d9ef6c66c6f33651f0f2ae27d3a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Use correct name in compat-funcall
---
 compat-24.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/compat-24.el b/compat-24.el
index 0934bf024c..023e20a46e 100644
--- a/compat-24.el
+++ b/compat-24.el
@@ -37,14 +37,14 @@
 
 If the Emacs version provides a sufficiently recent version of
 FUN, the symbol FUN is returned itself."
-  (let ((compat (intern (format "compat--%s" fun))))
+  (let ((compat (intern (format "compat--explicit-%s" fun))))
     `#',(if (fboundp compat) compat fun)))
 
 (defmacro compat-funcall (fun &rest args)
   "Call compatibility function FUN with ARGS.
 
 See `compat-function' for the compatibility function resolution."
-  (let ((compat (intern (format "compat--%s" fun))))
+  (let ((compat (intern (format "compat--explicit-%s" fun))))
     `(,(if (fboundp compat) compat fun) ,@args)))
 
 (eval-when-compile (load "compat-macs.el" nil t t))



reply via email to

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