]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/make-deps.el
emacs: Various cosmetic changes
[notmuch] / emacs / make-deps.el
index dcac319ce282c35bce12ce0451104bdc32bb0312..91f4ef3dd08c5f8bd757a2423c1afc15693a2945 100644 (file)
@@ -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'."
 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
   (save-excursion
     (goto-char (point-min))
     (condition-case nil