summaryrefslogtreecommitdiff
path: root/test/src/editfns-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2025-03-29 13:50:21 +0100
committerStefan Kangas <stefankangas@gmail.com>2025-03-29 14:59:44 +0100
commitf60fc1287d499e8c93857b1b96e8bd2467b22c8d (patch)
tree972126c3db11b14f93b352d698fd450fdddc2953 /test/src/editfns-tests.el
parentdd0dd87e3aaf3116c400fba858cbe35ced15f04e (diff)
downloademacs-f60fc1287d499e8c93857b1b96e8bd2467b22c8d.tar.gz
emacs-f60fc1287d499e8c93857b1b96e8bd2467b22c8d.tar.bz2
emacs-f60fc1287d499e8c93857b1b96e8bd2467b22c8d.zip
Use 'hash-table-contains-p' in a few places
This replaces open coded versions of the common idiom (not (eq (gethash key table 'missing) 'missing)) with (hash-table-contains-p key table) in files where we can rely on features in Emacs 31. * lisp/emacs-lisp/map.el (map-contains-key): * lisp/external-completion.el (external-completion-table): * lisp/mh-e/mh-utils.el (mh-sub-folders) (mh-remove-from-sub-folders-cache): * lisp/net/ange-ftp.el (ange-ftp-hash-entry-exists-p): * lisp/password-cache.el (password-in-cache-p, password-cache-add): * lisp/pcmpl-x.el (pcmpl-x-tlmgr-action-options): * lisp/xdg.el (xdg-mime-apps): Use 'hash-table-contains-p'.
Diffstat (limited to 'test/src/editfns-tests.el')
0 files changed, 0 insertions, 0 deletions