There was an error while loading. Please reload this page.
1 parent 27d5d33 commit ffecfdaCopy full SHA for ffecfda
1 file changed
lisp/_prepare.el
@@ -466,7 +466,9 @@ other scripts internally. See function `eask-call'.")
466
"Execute BODY with workspace setup."
467
(declare (indent 0) (debug t))
468
`(eask--batch-mode
469
- (let (alist)
+ (let ((default-directory (if (eask-global-p) user-emacs-directory
470
+ default-directory))
471
+ (alist))
472
(dolist (cmd eask--command-list)
473
(push (cons cmd '(lambda (&rest _))) alist))
474
(setq command-switch-alist (append command-switch-alist alist))
0 commit comments