diff options
author | Yuchen Pei <id@ypei.org> | 2024-12-08 09:12:28 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-12-08 09:12:28 +1100 |
commit | 76865e3e10a28c024275511e2348fb1b702650ce (patch) | |
tree | 316c1b5ce346e9a7848428b2c4d014e95cd80f1d | |
parent | bd224c3d7f3e5872232ed9d948432552013c350f (diff) |
[emacs] Fix my-org-edit-special-after
No args passed
-rw-r--r-- | emacs/.emacs.d/lisp/my/my-org.el | 2 |
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)) |