Skip to content

Commit

Permalink
org-insert-heading-respect-content: Fix the argument order
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
yantar92 committed Aug 20, 2022
1 parent 1aaa0ba commit a1af06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/org.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a1af06d

Please sign in to comment.