branch: master
commit 829151fa9e9ef0681b4a9ab3e0b007a53899810a
Author: Lars Ingebrigtsen <la...@gnus.org>
Commit: Lars Ingebrigtsen <la...@gnus.org>

    Don't cache the debbugs directory but allow setting it per invocation
---
 packages/debbugs/debbugs-gnu.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 403f580..25f10d4 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -2317,10 +2317,9 @@ or bug ranges, with default to 
`debbugs-gnu-default-bug-number-list'."
 (defun debbugs-gnu-init-current-directory (&optional branch)
 "Initialize `debbugs-gnu-current-directory'."
   (setq debbugs-gnu-current-directory
-       (or debbugs-gnu-current-directory
-           (if branch
-               debbugs-gnu-branch-directory
-             debbugs-gnu-trunk-directory)))
+       (if branch
+           debbugs-gnu-branch-directory
+         debbugs-gnu-trunk-directory))
   (unless (file-directory-p debbugs-gnu-current-directory)
     (setq debbugs-gnu-current-directory
          (read-file-name

Reply via email to