Mark Oteiza <mvoteiza@udel.edu> schrieb am Mi., 1. Feb. 2017 um 01:28 Uhr:

+(defmacro xdg--dir-home (environ default-path)
+  (declare (debug (stringp stringp)))
+  (let ((env (make-symbol "env")))
+    `(let ((,env (getenv ,environ)))
+       (if (or (null ,env) (not (file-name-absolute-p ,env)))
+           (expand-file-name ,default-path)
+         ,env))))

Maybe I'm missing something, but why is this a macro and not a normal function?