emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] documentation fix
@ 2017-10-31 19:12 Alex Branham
  2018-01-06  9:20 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Branham @ 2017-10-31 19:12 UTC (permalink / raw)
  To: org-mode-email

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

Hello,

I tripped myself up by trying to set org-agenda-show-log instead of org-agenda-start-with-log, so hopefully this patch will help other people down the line.

Alex


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-agenda-documentation-addition.patch --]
[-- Type: text/x-diff, Size: 970 bytes --]

From 47e1c3a9cd66d73c01ec0b4072228c02abbe0450 Mon Sep 17 00:00:00 2001
From: Alex Branham <branham@utexas.edu>
Date: Tue, 31 Oct 2017 14:08:00 -0500
Subject: [PATCH] org-agenda: documentation addition

* lisp/org-agenda.el: Add documentation to `org-agenda-show-log'
---
 lisp/org-agenda.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 750221e46..39761121a 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -2092,7 +2092,9 @@ evaluate to a string."
 (defvar org-agenda-follow-mode nil)
 (defvar org-agenda-entry-text-mode nil)
 (defvar org-agenda-clockreport-mode nil)
-(defvar org-agenda-show-log nil)
+(defvar org-agenda-show-log nil
+  "If non-nil, show the log in the agenda.
+Do not set this directly; instead use `org-agenda-start-with-log-mode', which see.")
 (defvar org-agenda-redo-command nil)
 (defvar org-agenda-query-string nil)
 (defvar org-agenda-mode-hook nil
-- 
2.15.0


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

* Re: [PATCH] documentation fix
  2017-10-31 19:12 [PATCH] documentation fix Alex Branham
@ 2018-01-06  9:20 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-01-06  9:20 UTC (permalink / raw)
  To: Alex Branham; +Cc: org-mode-email

Hello,

Alex Branham <alex.branham@gmail.com> writes:

> I tripped myself up by trying to set org-agenda-show-log instead of
> org-agenda-start-with-log, so hopefully this patch will help other
> people down the line.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2018-01-06  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 19:12 [PATCH] documentation fix Alex Branham
2018-01-06  9:20 ` Nicolas Goaziou

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).