From: Noorul Islam K M <noorul@noorul.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Fix compiler warning
Date: Thu, 02 Sep 2010 15:27:15 +0530 [thread overview]
Message-ID: <87vd6o1n9g.fsf@noorul.maa.corp.collab.net> (raw)
[-- 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
next reply other threads:[~2010-09-02 10:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-02 9:57 Noorul Islam K M [this message]
2010-09-02 10:21 ` [Accepted] Fix compiler warning Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vd6o1n9g.fsf@noorul.maa.corp.collab.net \
--to=noorul@noorul.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.