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

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

[elpa] master 8fc254f 341/399: counsel.el (counsel--setq-doconst): Fix c


From: Oleh Krehel
Subject: [elpa] master 8fc254f 341/399: counsel.el (counsel--setq-doconst): Fix compiler warning
Date: Sat, 20 Jul 2019 14:57:53 -0400 (EDT)

branch: master
commit 8fc254fda78932db3d2b6c651020e745601193f9
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel--setq-doconst): Fix compiler warning
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 49a86dc..3e6f795 100644
--- a/counsel.el
+++ b/counsel.el
@@ -631,7 +631,7 @@ X is an item of a radio- or choice-type defcustom."
   (when (listp x)
     (let ((v (car-safe (last x)))
           (tag (and (eq (car x) 'const)
-                    (setq tag (plist-get (cdr x) :tag)))))
+                    (plist-get (cdr x) :tag))))
       (when (and (or v tag) (not (eq v 'function)))
         (cons
          (concat



reply via email to

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