From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: [PATCH] Fix compiler warning Date: Thu, 02 Sep 2010 15:27:15 +0530 Message-ID: <87vd6o1n9g.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=42862 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or6cB-0002m1-9X for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:01:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or6ZB-000196-0i for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 05:58:45 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:44465) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or6ZA-000192-TZ for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 05:58:44 -0400 Received: by iwn33 with SMTP id 33so527933iwn.0 for ; Thu, 02 Sep 2010 02:58:44 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= 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 --=-=-= Content-Disposition: attachment; filename=org.el.txt diff --git a/lisp/org.el b/lisp/org.el index d0a2218..67ed452 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--