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

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

[elpa] externals/compat 12e36f7 12/99: Check if actual name is fbound be


From: ELPA Syncer
Subject: [elpa] externals/compat 12e36f7 12/99: Check if actual name is fbound before binding a function or macro
Date: Sun, 17 Oct 2021 05:57:48 -0400 (EDT)

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

    Check if actual name is fbound before binding a function or macro
---
 compat-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat-macs.el b/compat-macs.el
index 46ffa0c..ac093f5 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -159,7 +159,7 @@ attributes (see `compat-generate-common')."
      (lambda (realname)
        (cond
         ((memq type '(func macro))
-         `(fboundp ',realname))
+         `(fboundp ',name))
         ((eq type 'advice)
          ;; TODO: Improve the check if the advice already has been
          ;;       installed or still has to be added.



reply via email to

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