branch: externals/compat
commit 2089c90451b84c058e3f03201ebb0ad73fc2f352
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Declare gensym for with-existing-directory
    
    The variable is either defined by Emacs or compat.el.
---
 compat-28.1.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compat-28.1.el b/compat-28.1.el
index 2d1acb6..37f1904 100644
--- a/compat-28.1.el
+++ b/compat-28.1.el
@@ -219,6 +219,7 @@ Also see `local-variable-p'."
       (void-variable nil (throw 'fail nil)))
     t))
 
+(declare gensym nil (&optional prefix))
 (compat-defmacro with-existing-directory (&rest body)
   "Execute BODY with `default-directory' bound to an existing directory.
 If `default-directory' is already an existing directory, it's not changed."

Reply via email to