[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia 51f7509 184/241: Fix #57 - protect marginali
From: |
Stefan Monnier |
Subject: |
[elpa] externals/marginalia 51f7509 184/241: Fix #57 - protect marginalia--symbol-class equality check |
Date: |
Fri, 28 May 2021 20:49:23 -0400 (EDT) |
branch: externals/marginalia
commit 51f750994aaa0b6798d97366acfb0d397639af66
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Fix #57 - protect marginalia--symbol-class equality check
---
marginalia.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 51d8d6a..d1cfcbc 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -395,20 +395,20 @@ t cl-type"
(concat
(when (fboundp s)
(concat
- (when (get s 'byte-obsolete-info) "o")
+ (and (get s 'byte-obsolete-info) "o")
(cond
((commandp s) "c")
((eq (car-safe (symbol-function s)) 'macro) "m")
(t "f"))
- (when (marginalia--advised s) "!")))
+ (and (marginalia--advised s) "!")))
(when (boundp s)
(concat
- (when (get s 'byte-obsolete-variable) "o")
- (when (local-variable-if-set-p s) "l")
+ (and (get s 'byte-obsolete-variable) "o")
+ (and (local-variable-if-set-p s) "l")
(if (custom-variable-p s) "u" "v")
- (when (and (boundp s) (default-boundp s) (not (equal (symbol-value s)
(default-value s)))) "*")))
- (when (facep s) "a")
- (when (and (fboundp 'cl-find-class) (cl-find-class s)) "t"))))
+ (and (ignore-errors (not (equal (symbol-value s) (default-value s))))
"*")))
+ (and (facep s) "a")
+ (and (fboundp 'cl-find-class) (cl-find-class s) "t"))))
(defun marginalia--function-doc (sym)
"Documentation string of function SYM."
- [elpa] externals/marginalia 2a9df61 145/241: readme fixes, (continued)
- [elpa] externals/marginalia 2a9df61 145/241: readme fixes, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 51b6dbf 147/241: readme fixes, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 7d4f07f 146/241: add marginalia.texi, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a2f9242 154/241: fix marginalia-annotate-bookmark for front context with newlines, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia d0c0005 166/241: update readme, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia fcf41c5 167/241: Version 0.2, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5a00dcb 170/241: marginalia-annotate-consult-buffer: remove width, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia e15b8b2 174/241: readme: update marginalia keybinding, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 55bfd5f 176/241: do not unnecessarily use defsubst, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia dcdcd5d 179/241: consistently use \` and \' for regexps, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 51f7509 184/241: Fix #57 - protect marginalia--symbol-class equality check,
Stefan Monnier <=
- [elpa] externals/marginalia 3e061a0 185/241: marginalia-annotate-bookmark: Handle non-symbol bookmark handlers, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 58f397d 187/241: update readme, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia c93b1b3 188/241: marginalia--full-candidate: Do not switch entire window, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia e54aa0c 193/241: Revert "Revert "fix #46: affixation suffix must not be nil, it must be a string"", Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 153417a 192/241: marginalia-annotate-file: Use substitute-in-file-name, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2d19497 208/241: marginalia--full-file: Ensure that pt >= 0 if cursor is moved into the prompt, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f263745 201/241: marginalia-annotate-color: Use readable-foreground-color, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia b6994e0 203/241: Attempt to fix full candidate function for files (#65), Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia f3eaa1a 197/241: Add annotator for the embark-keybinding category, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 9559819 209/241: Add link to upstream bug, Stefan Monnier, 2021/05/28