emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix typo in agenda local variable
@ 2011-04-13 22:05 Bernt Hansen
  2011-04-15 11:56 ` [Accepted] " Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Bernt Hansen @ 2011-04-13 22:05 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Bernt Hansen

* lisp/org-agenda.el (org-agenda-filter-by-tag): Fix variable name typo

maybe-reftresh -> maybe-refresh
---
This patch is available at git://git.norang.ca/org-mode.git fix-agenda-var-typo

-Bernt

 lisp/org-agenda.el |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 5571838..321221d 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5905,7 +5905,7 @@ to switch to narrowing."
 	 (effort-prompt "")
 	 (inhibit-read-only t)
 	 (current org-agenda-filter)
-	 maybe-reftresh a n tag)
+	 maybe-refresh a n tag)
     (unless char
       (message
        "%s by tag [%s ], [TAB], %s[/]:off, [+-]:narrow, [>=<?]:effort: "
@@ -5952,12 +5952,12 @@ to switch to narrowing."
 		(push modifier org-agenda-filter))))
 	(if (not (null org-agenda-filter))
 	    (org-agenda-filter-apply org-agenda-filter)))
-      (setq maybe-reftresh t))
+      (setq maybe-refresh t))
      ((equal char ?/)
       (org-agenda-filter-by-tag-show-all)
       (when (get 'org-agenda-filter :preset-filter)
 	(org-agenda-filter-apply org-agenda-filter))
-      (setq maybe-reftresh t))
+      (setq maybe-refresh t))
      ((or (equal char ?\ )
 	  (setq a (rassoc char alist))
 	  (and (>= char ?0) (<= char ?9)
@@ -5974,9 +5974,9 @@ to switch to narrowing."
 	    (cons (concat (if strip "-" "+") tag)
 		  (if narrow current nil)))
       (org-agenda-filter-apply org-agenda-filter)
-      (setq maybe-reftresh t))
+      (setq maybe-refresh t))
      (t (error "Invalid tag selection character %c" char)))
-    (when (and maybe-reftresh
+    (when (and maybe-refresh
 	       (eq org-agenda-clockreport-mode 'with-filter))
       (org-agenda-redo))))
 
-- 
1.7.5.rc0.100.gcb35c0

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

* [Accepted]  Fix typo in agenda local variable
  2011-04-13 22:05 [PATCH] Fix typo in agenda local variable Bernt Hansen
@ 2011-04-15 11:56 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2011-04-15 11:56 UTC (permalink / raw)
  To: emacs-orgmode

Patch 749 (http://patchwork.newartisans.com/patch/749/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C1302732325-21162-1-git-send-email-bernt%40norang.ca%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: [O] Fix typo in agenda local variable
> Date: Thu, 14 Apr 2011 03:05:25 -0000
> From: Bernt Hansen <bernt@norang.ca>
> X-Patchwork-Id: 749
> Message-Id: <1302732325-21162-1-git-send-email-bernt@norang.ca>
> To: emacs-orgmode@gnu.org
> Cc: Bernt Hansen <bernt@norang.ca>
> 
> * lisp/org-agenda.el (org-agenda-filter-by-tag): Fix variable name typo
> 
> maybe-reftresh -> maybe-refresh
> 
> ---
> This patch is available at git://git.norang.ca/org-mode.git fix-agenda-var-typo
> 
> -Bernt
> 
>  lisp/org-agenda.el |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index 5571838..321221d 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -5905,7 +5905,7 @@ to switch to narrowing."
>  	 (effort-prompt "")
>  	 (inhibit-read-only t)
>  	 (current org-agenda-filter)
> -	 maybe-reftresh a n tag)
> +	 maybe-refresh a n tag)
>      (unless char
>        (message
>         "%s by tag [%s ], [TAB], %s[/]:off, [+-]:narrow, [>=<?]:effort: "
> @@ -5952,12 +5952,12 @@ to switch to narrowing."
>  		(push modifier org-agenda-filter))))
>  	(if (not (null org-agenda-filter))
>  	    (org-agenda-filter-apply org-agenda-filter)))
> -      (setq maybe-reftresh t))
> +      (setq maybe-refresh t))
>       ((equal char ?/)
>        (org-agenda-filter-by-tag-show-all)
>        (when (get 'org-agenda-filter :preset-filter)
>  	(org-agenda-filter-apply org-agenda-filter))
> -      (setq maybe-reftresh t))
> +      (setq maybe-refresh t))
>       ((or (equal char ?\ )
>  	  (setq a (rassoc char alist))
>  	  (and (>= char ?0) (<= char ?9)
> @@ -5974,9 +5974,9 @@ to switch to narrowing."
>  	    (cons (concat (if strip "-" "+") tag)
>  		  (if narrow current nil)))
>        (org-agenda-filter-apply org-agenda-filter)
> -      (setq maybe-reftresh t))
> +      (setq maybe-refresh t))
>       (t (error "Invalid tag selection character %c" char)))
> -    (when (and maybe-reftresh
> +    (when (and maybe-refresh
>  	       (eq org-agenda-clockreport-mode 'with-filter))
>        (org-agenda-redo))))
>  
> 

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

end of thread, other threads:[~2011-04-15 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-13 22:05 [PATCH] Fix typo in agenda local variable Bernt Hansen
2011-04-15 11:56 ` [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).