fix(emacs): Expand paths given to age.el

This commit is contained in:
Madeleine Sydney
2025-02-20 15:51:53 -07:00
parent e2193dbd53
commit 66773a7567
4 changed files with 6 additions and 80 deletions

View File

@@ -3,8 +3,9 @@
(use-package age
:hook (on-first-file . age-file-enable)
:custom
;; We use rage over age, as the former supports pinentry.
((age-program "rage")
(age-default-identity "~/private-keys/age/crumb.age")
(age-default-recipient "~/public-keys/age/crumb.pub")))
(age-default-identity (expand-file-name "~/private-keys/age/crumb.age"))
(age-default-recipient (expand-file-name "~/public-keys/age/crumb.pub"))))
(provide 'syd-age)

View File

@@ -1,7 +1,5 @@
;;; syd-org.el -*- lexical-binding: t; -*-
(require 'syd-prose)
(with-eval-after-load 'org
(syd-add-hook 'org-tab-first-hook
(defun syd-org-cycle-only-current-subtree-h (&optional arg)
@@ -284,7 +282,7 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
"|"
"DONE(d)" ; Task successfully completed
"KILL(k)"))) ; Task was cancelled, aborted, or is no longer
; applicable
; applicable
(org-todo-keyword-faces
'(("[-]" . syd-org-todo-active)
("STRT" . syd-org-todo-active)
@@ -306,9 +304,10 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
;; ol-rmail
;; ol-eww
))
(syd-add-hook 'org-load-hook
(add-hook 'org-load-hook
#'syd-org-init-popup-rules-h)
:config
(require 'syd-prose)
(syd-add-hook 'org-mode-hook
#'org-indent-mode
#'syd-prose-mode)