* [PATCH] typo in variable name: org-inlinetask-defaut-state
@ 2010-10-19 12:08 Dan Davison
2010-10-20 12:07 ` [Accepted] " Bastien Guerry
0 siblings, 1 reply; 2+ messages in thread
From: Dan Davison @ 2010-10-19 12:08 UTC (permalink / raw)
To: emacs org-mode mailing list
diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index 29b1544..041ee29 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -106,7 +106,7 @@ When nil, they will not be exported."
(defvar org-complex-heading-regexp)
(defvar org-property-end-re)
-(defcustom org-inlinetask-defaut-state nil
+(defcustom org-inlinetask-default-state nil
"Non-nil means make inline tasks have a TODO keyword initially.
This should be the state `org-inlinetask-insert-task' should use by
default, or nil of no state should be assigned."
@@ -117,16 +117,16 @@ default, or nil of no state should be assigned."
(defun org-inlinetask-insert-task (&optional no-state)
"Insert an inline task.
-If prefix arg NO-STATE is set, ignore `org-inlinetask-defaut-state'."
+If prefix arg NO-STATE is set, ignore `org-inlinetask-default-state'."
(interactive "P")
(or (bolp) (newline))
(let ((indent org-inlinetask-min-level))
(if org-odd-levels-only
(setq indent (- (* 2 indent) 1)))
(insert (make-string indent ?*)
- (if (or no-state (not org-inlinetask-defaut-state))
+ (if (or no-state (not org-inlinetask-default-state))
" \n"
- (concat " " org-inlinetask-defaut-state " \n"))
+ (concat " " org-inlinetask-default-state " \n"))
(make-string indent ?*) " END\n"))
(end-of-line -1))
(define-key org-mode-map "\C-c\C-xt" 'org-inlinetask-insert-task)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Accepted] typo in variable name: org-inlinetask-defaut-state
2010-10-19 12:08 [PATCH] typo in variable name: org-inlinetask-defaut-state Dan Davison
@ 2010-10-20 12:07 ` Bastien Guerry
0 siblings, 0 replies; 2+ messages in thread
From: Bastien Guerry @ 2010-10-20 12:07 UTC (permalink / raw)
To: emacs-orgmode
Patch 324 (http://patchwork.newartisans.com/patch/324/) is now "Accepted".
Maintainer comment: none
This relates to the following submission:
http://mid.gmane.org/%3C874ocie66b.fsf%40stats.ox.ac.uk%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] typo in variable name: org-inlinetask-defaut-state
> Date: Tue, 19 Oct 2010 17:08:28 -0000
> From: Dan Davison <davison@stats.ox.ac.uk>
> X-Patchwork-Id: 324
> Message-Id: <874ocie66b.fsf@stats.ox.ac.uk>
> To: emacs org-mode mailing list <emacs-orgmode@gnu.org>
>
>
>
>
> diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
> index 29b1544..041ee29 100644
> --- a/lisp/org-inlinetask.el
> +++ b/lisp/org-inlinetask.el
> @@ -106,7 +106,7 @@ When nil, they will not be exported."
> (defvar org-complex-heading-regexp)
> (defvar org-property-end-re)
>
> -(defcustom org-inlinetask-defaut-state nil
> +(defcustom org-inlinetask-default-state nil
> "Non-nil means make inline tasks have a TODO keyword initially.
> This should be the state `org-inlinetask-insert-task' should use by
> default, or nil of no state should be assigned."
> @@ -117,16 +117,16 @@ default, or nil of no state should be assigned."
>
> (defun org-inlinetask-insert-task (&optional no-state)
> "Insert an inline task.
> -If prefix arg NO-STATE is set, ignore `org-inlinetask-defaut-state'."
> +If prefix arg NO-STATE is set, ignore `org-inlinetask-default-state'."
> (interactive "P")
> (or (bolp) (newline))
> (let ((indent org-inlinetask-min-level))
> (if org-odd-levels-only
> (setq indent (- (* 2 indent) 1)))
> (insert (make-string indent ?*)
> - (if (or no-state (not org-inlinetask-defaut-state))
> + (if (or no-state (not org-inlinetask-default-state))
> " \n"
> - (concat " " org-inlinetask-defaut-state " \n"))
> + (concat " " org-inlinetask-default-state " \n"))
> (make-string indent ?*) " END\n"))
> (end-of-line -1))
> (define-key org-mode-map "\C-c\C-xt" 'org-inlinetask-insert-task)
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-20 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19 12:08 [PATCH] typo in variable name: org-inlinetask-defaut-state Dan Davison
2010-10-20 12:07 ` [Accepted] " Bastien Guerry
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.