[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Problems with (defvar foo) and Emacs 23
From: |
Matt Lundin |
Subject: |
Re: [O] Problems with (defvar foo) and Emacs 23 |
Date: |
Sat, 07 Apr 2012 07:15:30 -0500 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.95 (gnu/linux) |
Bastien <address@hidden> writes:
>
> I fixed the problem with `org-clock-state'. This should be `org-state'.
>
> `state' is a local variable in many org.el functions, I renamed it to
> `org-state' in org-clock.el and in "caller" sexp from org.el.
>
Attached please find a patch that fixes the docstring of
org-after-todo-state-change-hook to reflect this change.
Best,
Matt
>From f21889985f2008bc77e2ecfc38be481a47c9916c Mon Sep 17 00:00:00 2001
From: Matt Lundin <address@hidden>
Date: Sat, 7 Apr 2012 07:13:55 -0500
Subject: [PATCH] Fix hook docstring to reflect renaming of state to
org-state.
* lisp/org.el: (org-after-todo-state-change-hook): Fix docstring to
reflect name change of state to org-state.
The renamed variable can cause user hooks added to
org-after-todo-state-change-hook to break, so it is essential to have
the correct variable name in the docstring.
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index a11d734..e7c579d 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -2231,7 +2231,7 @@ property and include the word \"recursive\" into the
value."
(defcustom org-after-todo-state-change-hook nil
"Hook which is run after the state of a TODO item was changed.
The new state (a string with a TODO keyword, or nil) is available in the
-Lisp variable `state'."
+Lisp variable `org-state'."
:group 'org-todo
:type 'hook)
--
1.7.10
- Re: [O] Problems with (defvar foo) and Emacs 23, (continued)
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/02
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/03
- Re: [O] Problems with (defvar foo) and Emacs 23, Achim Gratz, 2012/04/03
- Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/04
Re: [O] Problems with (defvar foo) and Emacs 23, Bastien, 2012/04/02
Re: [O] Problems with (defvar foo) and Emacs 23, Nick Dokos, 2012/04/01