From 76865e3e10a28c024275511e2348fb1b702650ce Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 8 Dec 2024 09:12:28 +1100 Subject: [emacs] Fix my-org-edit-special-after No args passed --- emacs/.emacs.d/lisp/my/my-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs/.emacs.d/lisp/my') 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)) -- cgit v1.2.3