branch: externals/compat commit 870b28b4b23fae03e701a13f9cea10ab76e6b98e Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Ignore unused variable "err" in condition-case --- compat-27.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat-27.el b/compat-27.el index 80dffad1d9..b74450f9cb 100644 --- a/compat-27.el +++ b/compat-27.el @@ -498,7 +498,7 @@ the value of the variable `exec-path'." ;; FIXME: The handler was added in 27.1, and this compatibility ;; function only applies to versions of Emacs before that. (when handler - (condition-case err + (condition-case nil (funcall handler 'exec-path) (error nil))))) ((file-remote-p default-directory)