diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-16 12:17:33 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-16 17:19:21 +0100 |
commit | f4b430140f0866f98bbf18b7094348dc64032813 (patch) | |
tree | ce358de58a35b6b77e3605c320b8f882b2c2d644 /lisp/descr-text.el | |
parent | 13aa376e93564a8cf2ddbbcf0968c6666620db89 (diff) | |
download | emacs-f4b430140f0866f98bbf18b7094348dc64032813.tar.gz emacs-f4b430140f0866f98bbf18b7094348dc64032813.tar.bz2 emacs-f4b430140f0866f98bbf18b7094348dc64032813.zip |
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/descr-text.el')
-rw-r--r-- | lisp/descr-text.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index f2ffddcf702..f105f292448 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -366,7 +366,7 @@ This function is semi-obsolete. Use `get-char-code-property'." ;; description is added to the category name as a tooltip (defsubst describe-char-categories (category-set) (let ((mnemonics (category-set-mnemonics category-set))) - (unless (eq mnemonics "") + (unless (equal mnemonics "") (list (mapconcat (lambda (x) (let* ((c (category-docstring x)) |