emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org a1af06d643 1/5: org-insert-heading-respect-content:


From: ELPA Syncer
Subject: [elpa] externals/org a1af06d643 1/5: org-insert-heading-respect-content: Fix the argument order
Date: Sat, 20 Aug 2022 02:57:53 -0400 (EDT)

branch: externals/org
commit a1af06d643d662f8c04e7c59d10efc45108a9528
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-insert-heading-respect-content: Fix the argument order
    
    * lisp/org.el (org-insert-todo-heading-respect-content): Fix the order
    of arguments inside the `org-insert-todo-heading' call.
    
    Fixes https://orgmode.org/list/m1a683p42k.fsf@rrudakov-mbp.lan
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index bc881968fa..2c79e9f76e 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6404,7 +6404,7 @@ Set it to HEADING when provided."
 (defun org-insert-todo-heading-respect-content (&optional force-state)
   "Insert TODO heading with `org-insert-heading-respect-content' set to t."
   (interactive)
-  (org-insert-todo-heading force-state '(4)))
+  (org-insert-todo-heading '(4) force-state))
 
 (defun org-insert-todo-heading (arg &optional force-heading)
   "Insert a new heading with the same level and TODO state as current heading.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]