[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 9150f6c08c 1/2: Remove XDG from denote-directory
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 9150f6c08c 1/2: Remove XDG from denote-directory |
Date: |
Fri, 30 Jun 2023 09:57:50 -0400 (EDT) |
branch: externals/denote
commit 9150f6c08c014c921b129359315867da74844585
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Remove XDG from denote-directory
I learnt that it does not work on the Mac. Maybe it doesn't work on
Windows either.
---
denote.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/denote.el b/denote.el
index 987e320376..135089a74a 100644
--- a/denote.el
+++ b/denote.el
@@ -111,7 +111,6 @@
(require 'seq)
(require 'xref)
(require 'dired)
-(require 'xdg)
(eval-when-compile (require 'subr-x))
(defgroup denote ()
@@ -125,7 +124,7 @@
;; About the autoload: (info "(elisp) File Local Variables")
;;;###autoload (put 'denote-directory 'safe-local-variable (lambda (val) (or
(eq val 'local) (eq val 'default-directory))))
-(defcustom denote-directory (expand-file-name "notes" (xdg-user-dir
"DOCUMENTS"))
+(defcustom denote-directory (expand-file-name "~/Documents/notes/")
"Directory for storing personal notes.
A safe local value of either `default-directory' or `local' can
@@ -146,7 +145,7 @@ the function `denote-directory' instead: it returns the
path as a
directory and also checks if a safe local value should be used."
:group 'denote
:safe (lambda (val) (or (eq val 'local) (eq val 'default-directory)))
- :package-version '(denote . "0.5.0")
+ :package-version '(denote . "2.0.0")
:link '(info-link "(denote) Maintain separate directories for notes")
:type 'directory)