branch: externals/denote commit 4715b45425eee9907b0893d218b59e8a8e4af518 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Simplify the value of denote-dired-directories --- denote.el | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/denote.el b/denote.el index 5b129e8b97..d430bc815c 100644 --- a/denote.el +++ b/denote.el @@ -2689,12 +2689,10 @@ and seconds." "Integration between Denote and Dired." :group 'denote) -(defcustom denote-dired-directories - ;; We use different ways to specify a path for demo purposes. - (list denote-directory - ;; (thread-last denote-directory (expand-file-name "attachments")) - (expand-file-name "~/Documents/vlog")) - "List of directories where `denote-dired-mode' should apply to." +(defcustom denote-dired-directories (list denote-directory) + "List of directories where `denote-dired-mode' should apply to. +For this to take effect, add `denote-dired-mode-in-directories', +to the `dired-mode-hook'." :type '(repeat directory) :package-version '(denote . "0.1.0") :link '(info-link "(denote) Fontification in Dired")