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:
Noorul Islam 2010-09-02 14:57:15 +00:00 committed by Carsten Dominik
parent d8498a40e8
commit f5ff5dbe5a
1 changed files with 2 additions and 2 deletions

View File

@ -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