Fix compiler warning
org.el : Fix compiler warning. * lisp/org.el (org-insert-subheading) : Fix compiler warning (org-insert-todo-subheading) : Fix compiler warning TINYCHANGE Thanks and Regards Noorul
This commit is contained in:
parent
d8498a40e8
commit
f5ff5dbe5a
|
@ -6834,7 +6834,7 @@ Works for outline headings and for plain lists alike."
|
|||
(org-insert-heading arg)
|
||||
(cond
|
||||
((org-on-heading-p) (org-do-demote))
|
||||
((org-at-item-p) (org-indent-item 1))))
|
||||
((org-at-item-p) (org-indent-item))))
|
||||
|
||||
(defun org-insert-todo-subheading (arg)
|
||||
"Insert a new subheading with TODO keyword or checkbox and demote it.
|
||||
|
@ -6843,7 +6843,7 @@ Works for outline headings and for plain lists alike."
|
|||
(org-insert-todo-heading arg)
|
||||
(cond
|
||||
((org-on-heading-p) (org-do-demote))
|
||||
((org-at-item-p) (org-indent-item 1))))
|
||||
((org-at-item-p) (org-indent-item))))
|
||||
|
||||
;;; Promotion and Demotion
|
||||
|
||||
|
|
Loading…
Reference in New Issue