aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/vc
diff options
context:
space:
mode:
authorBasil L. Contovounesios2026-03-11 20:21:58 +0100
committerStefan Monnier2026-03-11 16:05:04 -0400
commit8d356c55ad75577435205a1091201fd7f666dba6 (patch)
treee4c3b0b13da4527e6173aa427ec95fe81745341c /test/lisp/vc
parent261f4a012ef109481881324fa67a62bfe6f67610 (diff)
downloademacs-scratch/error-API.tar.gz
emacs-scratch/error-API.zip
Tweak recent error descriptor changesscratch/error-API
* etc/NEWS: Fix capitalization and markup. * lisp/emacs-lisp/ert.el (ert--should-error-handle-error): Prefer any over cl-some where either will do. * lisp/epa-file.el (epa-file--find-file-not-found-function): Reindent. (epa-file--error-add-context): Use correct variables. Add docstring. * lisp/ffap.el (ffap-machine-p): * lisp/gnus/nnmaildir.el (nnmaildir--emlink-p): Prefer string-equal-ignore-case over case fiddling. * lisp/gnus/gnus-search.el (gnus-search-run-query): Fix typo in error re-signaling. * lisp/ibuffer.el (ibuffer-confirm-operation-on): Prefer string search over regexp matching where either will do. * test/lisp/vc/vc-tests/vc-tests.el (vc-test--run-maybe-unsupported-function): Pacify unused condition-case error variable warnings (bug#72212).
Diffstat (limited to '')
-rw-r--r--test/lisp/vc/vc-tests/vc-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/vc/vc-tests/vc-tests.el b/test/lisp/vc/vc-tests/vc-tests.el
index 737ee09415e..a64bee00de2 100644
--- a/test/lisp/vc/vc-tests/vc-tests.el
+++ b/test/lisp/vc/vc-tests/vc-tests.el
@@ -236,7 +236,7 @@ For backends which don't support it, `vc-not-supported' is signaled."
236(defmacro vc-test--run-maybe-unsupported-function (func &rest args) 236(defmacro vc-test--run-maybe-unsupported-function (func &rest args)
237 "Run FUNC with ARGS as arguments. 237 "Run FUNC with ARGS as arguments.
238Catch the `vc-not-supported' error." 238Catch the `vc-not-supported' error."
239 `(condition-case err 239 `(condition-case nil
240 (funcall ,func ,@args) 240 (funcall ,func ,@args)
241 (vc-not-supported 'vc-not-supported))) 241 (vc-not-supported 'vc-not-supported)))
242 242