From 541940d7dc1d7f7b4ace4cbfc88070eb1a18b7a8 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 5 Jan 2020 12:17:37 +0100 Subject: [PATCH] Fix glitch in custom setter for `org-agenda-file' --- site-lisp/db-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 52205f0..b5b1012 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -40,7 +40,7 @@ the new one instead." (setq x (assoc ctf file-alist) had x) (unless x - (setq x (cons ctf (abbreviate-file-name buffer-file-name)))) + (setq x (cons ctf (abbreviate-file-name value)))) (setq file-alist (append (delq x file-alist) (list x))) (org-store-new-agenda-file-list (mapcar 'cdr file-alist)) (org-install-agenda-files-menu)