aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-12-08 09:12:28 +1100
committerYuchen Pei <id@ypei.org>2024-12-08 09:12:28 +1100
commit76865e3e10a28c024275511e2348fb1b702650ce (patch)
tree316c1b5ce346e9a7848428b2c4d014e95cd80f1d /emacs/.emacs.d/lisp
parentbd224c3d7f3e5872232ed9d948432552013c350f (diff)
[emacs] Fix my-org-edit-special-after
No args passed
Diffstat (limited to 'emacs/.emacs.d/lisp')
-rw-r--r--emacs/.emacs.d/lisp/my/my-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-org.el b/emacs/.emacs.d/lisp/my/my-org.el
index 698b0d3..ad0c3cb 100644
--- a/emacs/.emacs.d/lisp/my/my-org.el
+++ b/emacs/.emacs.d/lisp/my/my-org.el
@@ -1365,7 +1365,7 @@ With a prefix arg, yank and exit immediately."
(org-edit-src-exit))))
;; used to add an :after advice to `org-edit-special'.
-(defun my-org-edit-special-after (_)
+(defun my-org-edit-special-after ()
;; some modes (e.g. diff mode) are read-only by default, which
;; does not make sense when the intention is to edit
(read-only-mode 0))