branch: externals/idlwave
commit c64d75106eeea782701bca6cfb7da6e62d17031d
Author: JD Smith <jdtsm...@gmail.com>
Commit: JD Smith <jdtsm...@gmail.com>

    Careful with batch emacs invocation name
---
 idlwave.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idlwave.el b/idlwave.el
index be862ecf55..e7efb29668 100644
--- a/idlwave.el
+++ b/idlwave.el
@@ -4426,7 +4426,7 @@ will re-read the catalog."
          (not (stringp idlwave-user-catalog-file))
          (not (file-regular-p idlwave-user-catalog-file)))
       (error "No catalog has been produced yet"))
-  (let* ((emacs (expand-file-name (invocation-name) (invocation-directory)))
+  (let* ((emacs (concat invocation-directory invocation-name))
         (args (list "-batch"
                     "-l" (expand-file-name "~/.emacs")
                     "-l" "idlwave"

Reply via email to