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

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

[nongnu] elpa/helm 1c08fd5123: Fix helm-advice-candidate even if obsolet


From: ELPA Syncer
Subject: [nongnu] elpa/helm 1c08fd5123: Fix helm-advice-candidate even if obsolete
Date: Sun, 17 Sep 2023 00:59:32 -0400 (EDT)

branch: elpa/helm
commit 1c08fd5123a95fed0413931d1abb9c9257bdb8f8
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix helm-advice-candidate even if obsolete
---
 helm-elisp.el | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/helm-elisp.el b/helm-elisp.el
index ca6cd2506a..2922b9f966 100644
--- a/helm-elisp.el
+++ b/helm-elisp.el
@@ -853,19 +853,19 @@ a string, i.e. the `symbol-name' of any existing symbol."
     :persistent-help "Toggle describe function / C-u C-j: Toggle advice"))
 
 (defun helm-advice-candidates ()
-  (cl-loop for (fname) in ad-advised-functions
-        for function = (intern fname)
-        append
-        (cl-loop for class in ad-advice-classes append
-              (cl-loop for advice in (ad-get-advice-info-field function class)
-                    for enabled = (ad-advice-enabled advice)
-                    collect
-                    (cons (format
-                           "%s %s %s"
-                           (if enabled "Enabled " "Disabled")
-                           (propertize fname 'face 
'font-lock-function-name-face)
-                           (ad-make-single-advice-docstring advice class nil))
-                          (list function class advice))))))
+  (cl-loop for fname in ad-advised-functions
+           for function = (intern fname)
+           append
+           (cl-loop for class in ad-advice-classes append
+                    (cl-loop for advice in (ad-get-advice-info-field function 
class)
+                             for enabled = (ad-advice-enabled advice)
+                             collect
+                             (cons (format
+                                    "%s %s %s"
+                                    (if enabled "Enabled " "Disabled")
+                                    (propertize fname 'face 
'font-lock-function-name-face)
+                                    (ad-make-single-advice-docstring advice 
class nil))
+                                   (list function class advice))))))
 
 (defun helm-advice-persistent-action (func-class-advice)
   (if current-prefix-arg



reply via email to

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