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

    Declare temporary-file-directory for make-nearby-temp-file
    
    The variable is either defined by Emacs or compat.el.
---
 compat-26.1.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compat-26.1.el b/compat-26.1.el
index b85d6ac..523dccd 100644
--- a/compat-26.1.el
+++ b/compat-26.1.el
@@ -263,6 +263,7 @@ PREFIX is a string, and defaults to \"g\"."
 
 ;;;; Defined in files.el
 
+(declare-function temporary-file-directory nil)
 (compat-defun make-nearby-temp-file (prefix &optional dir-flag suffix)
   "Create a temporary file as close as possible to `default-directory'.
 If PREFIX is a relative file name, and `default-directory' is a

Reply via email to