Make bin/doom work when it's symlinked
This commit is contained in:
parent
349fb49c7b
commit
33d692a6be
1 changed files with 1 additions and 1 deletions
2
bin/doom
2
bin/doom
|
@ -41,7 +41,7 @@
|
||||||
;;
|
;;
|
||||||
(let ((args (cdr (cdr (cdr command-line-args))))
|
(let ((args (cdr (cdr (cdr command-line-args))))
|
||||||
(emacs-dir (or (getenv "EMACSDIR")
|
(emacs-dir (or (getenv "EMACSDIR")
|
||||||
(expand-file-name "../" (file-name-directory load-file-name)))))
|
(expand-file-name "../" (file-name-directory (file-truename load-file-name))))))
|
||||||
;; Parse options
|
;; Parse options
|
||||||
(while (ignore-errors (string-prefix-p "-" (car args)))
|
(while (ignore-errors (string-prefix-p "-" (car args)))
|
||||||
(pcase (pop args)
|
(pcase (pop args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue