X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fmake-deps.el;h=a7699fb1dd05cff9c167217d6671cb0b891dd628;hp=dcac319ce282c35bce12ce0451104bdc32bb0312;hb=df3fab18fe70ea750f6f06da30291c67de7e74f2;hpb=6fb7d35069c8770b872128156cb4f0511da6b6e9 diff --git a/emacs/make-deps.el b/emacs/make-deps.el index dcac319c..a7699fb1 100644 --- a/emacs/make-deps.el +++ b/emacs/make-deps.el @@ -1,4 +1,4 @@ -;; make-deps.el --- compute make dependencies for Elisp sources +;;; make-deps.el --- compute make dependencies for Elisp sources ;; ;; Copyright © Austin Clements ;; @@ -36,7 +36,8 @@ This prints make dependencies to `standard-output' based on the top-level `require' expressions in the current buffer. Paths in rules will be given relative to DIR, or `default-directory'." - (setq dir (or dir default-directory)) + (unless dir + (setq dir default-directory)) (save-excursion (goto-char (point-min)) (condition-case nil