From 6543ee8b0d463a16d1ceba982019d92a2d104e5a Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 13 Jul 2025 23:26:11 +0100 Subject: emacs: Enable Electric Quote mode in Org --- emacs/early-init.el | 2 +- emacs/init.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') 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) -- cgit v1.2.3-70-g09d2