From 539e9ef1312e21dbf390becc74fd00eed8f263ea Mon Sep 17 00:00:00 2001 From: tj Date: Thu, 25 Sep 2014 09:49:14 +0200 Subject: [PATCH] Fix org-store-log-note advice. --- CONTRIBUTORS.org | 1 - outshine.el | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CONTRIBUTORS.org b/CONTRIBUTORS.org index 222095f..1ebd8ac 100644 --- a/CONTRIBUTORS.org +++ b/CONTRIBUTORS.org @@ -144,7 +144,6 @@ its a rather sophisticated contribution. But since its just a few lines of code, signing of FSF papers isn't necessary (its a trivial contribution from a legal point of view). - * Fabrice Niessen :PROPERTIES: :roles: contributor diff --git a/outshine.el b/outshine.el index db309c5..40a5739 100644 --- a/outshine.el +++ b/outshine.el @@ -932,7 +932,7 @@ section are given (with section title in submatch 1)." ;; stay after inserted text (copy-marker org-log-note-marker t))) ad-do-it - (unless (derived-mode-p 'org-mode) + (unless (derived-mode-p 'org-mode 'org-agenda-mode) (comment-region outshine-log-note-beg-marker outshine-log-note-end-marker)) (move-marker outshine-log-note-beg-marker nil)