emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Include modern-cpp-font-lock into GNU Emacs


From: Noam Postavsky
Subject: Re: Include modern-cpp-font-lock into GNU Emacs
Date: Wed, 22 Aug 2018 08:46:11 -0400

On 20 August 2018 at 15:45, Michael Albinus <address@hidden> wrote:

> (defun my-executable-find (command &optional remote)
>   "Run `executable-find', and ignore optional REMOTE on older Emacsen."
>   (condition-case err
>       (executable-find command remote)
>     (wrong-number-of-arguments (executable-find command))
>     (error (signal (car err) (cdr err)))))

The last line can be dropped: if you don't handle the error type, it
will already propagate upward so there is no need to catch and
re-signal.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]