summaryrefslogtreecommitdiff
path: root/lisp/cedet
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-12-16 12:17:33 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-12-19 13:19:09 +0100
commit79b1dede3444c07f943be34867bb2cdac236ab55 (patch)
tree2a684ddb239e9faee449d904de02ffa65e2a6007 /lisp/cedet
parent33af5371988e6329aa7e76ef4ae7fabb9ed72cf5 (diff)
downloademacs-79b1dede3444c07f943be34867bb2cdac236ab55.tar.gz
Use equal and member instead of eq and memq
* lisp/cedet/semantic/complete.el (semantic-displayer-show-request): * lisp/descr-text.el (describe-char-categories): * lisp/mh-e/mh-identity.el (mh-select-identity): * lisp/transient.el (transient--delay-post-command) (transient--post-command): * lisp/vc/vc-git.el (vc-git-create-tag): * test/lisp/emacs-lisp/cl-lib-tests.el (cl-lib-nth-value-test-multiple-values): * lisp/emulation/viper-cmd.el (viper-preserve-cursor-color): Use `equal` instead of `eq` and `member` instead of `memq` where the comparison is with literals without guaranteed identity. In some cases this change corrects evident bugs, in others it is mostly cosmetic.
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/semantic/complete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index 00fe081acb5..1f372804dcc 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -1731,7 +1731,7 @@ Display mechanism using tooltip for a list of possible completions.")
;; Add any tail info.
(setq msg (concat msg msg-tail))
;; Display tooltip.
- (when (not (eq msg ""))
+ (when (not (equal msg ""))
(semantic-displayer-tooltip-show msg)))))
;;; Compatibility