[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39823: 26.3; update-directory-autoloads regression from Emacs 26 to
From: |
Noam Postavsky |
Subject: |
bug#39823: 26.3; update-directory-autoloads regression from Emacs 26 to Emacs 27 |
Date: |
Sun, 19 Apr 2020 08:19:06 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> (defun update-directory-autoloads (&rest dirs)
>
> I don't see how &key can be combined with &rest without potentially
> causing problems.
You can check if the first arg is a keyword like
:generated-autoload-file (which can't be a directory, since it's not a
string), and if it is, then handle the second arg specially.