From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: [Accepted] Fix compiler warning Date: Thu, 2 Sep 2010 12:21:52 +0200 (CEST) Message-ID: <20100902102152.9044D6EADCF@u016822.science.uva.nl> References: <87vd6o1n9g.fsf@noorul.maa.corp.collab.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48153 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or6vd-0000zm-0N for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:21:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or6vb-00054Z-1r for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:21:56 -0400 Received: from u016822.science.uva.nl ([146.50.39.34]:52485) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or6va-00054Q-O0 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:21:55 -0400 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 Patch 252 (http://patchwork.newartisans.com/patch/252/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C87vd6o1n9g.fsf%40noorul.maa.corp.collab.net%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [Orgmode] Fix compiler warning > Date: Thu, 02 Sep 2010 14:57:15 -0000 > From: Noorul Islam > X-Patchwork-Id: 252 > Message-Id: <87vd6o1n9g.fsf@noorul.maa.corp.collab.net> > 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 > > > 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 > >