emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix compiler warning
@ 2010-09-02  9:57 Noorul Islam K M
  2010-09-02 10:21 ` [Accepted] " Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Noorul Islam K M @ 2010-09-02  9:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]


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

[-- Attachment #2: org.el.txt --]
[-- Type: text/plain, Size: 740 bytes --]

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
 

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Accepted] Fix compiler warning
  2010-09-02  9:57 [PATCH] Fix compiler warning Noorul Islam K M
@ 2010-09-02 10:21 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2010-09-02 10:21 UTC (permalink / raw)
  To: emacs-orgmode

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 <noorul@noorul.com>
> 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
>  
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-02 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02  9:57 [PATCH] Fix compiler warning Noorul Islam K M
2010-09-02 10:21 ` [Accepted] " Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).