From f5ff5dbe5a374c3e2260cec1f6928bad4f6ca6c4 Mon Sep 17 00:00:00 2001 From: Noorul Islam Date: Thu, 2 Sep 2010 14:57:15 +0000 Subject: [PATCH] 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 --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index d0a2218a3..67ed452b0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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