summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2025-07-13 23:26:11 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2025-07-14 00:27:33 +0100
commit6543ee8b0d463a16d1ceba982019d92a2d104e5a (patch)
treea0922b39a54074585eb288f621a7c1e1c2ecde9a /emacs
parent51ef11637a98a9ae575b1f4bc88181b9d731fa55 (diff)
emacs: Enable Electric Quote mode in Org
Diffstat (limited to 'emacs')
-rw-r--r--emacs/early-init.el2
-rw-r--r--emacs/init.el1
2 files changed, 2 insertions, 1 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 7236069..e409804 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -8,7 +8,7 @@
;; Helper Loading Functions
(defun my/load-file (filename)
- "Load FILENAME if it exists within the dotfiles directory."
+ "Load FILENAME if it exists within ‘my/dotfiles-directory’."
(load (concat my/dotfiles-directory
(substitute-in-file-name filename)) :no-error))
diff --git a/emacs/init.el b/emacs/init.el
index 16a251d..9e0f566 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -301,6 +301,7 @@
(defun my/org-agenda-todo ()
(interactive)
(consult-org-agenda "/TODO"))
+ :hook (org-mode . electric-quote-mode)
:bind ("C-c n t" . my/org-agenda-todo)
:custom
((org-archive-file-header-format nil)