From: Carsten Dominik <cdominik@newartisans.com>
To: emacs-orgmode@gnu.org
Subject: [Accepted] Check marker is valid before use
Date: Fri, 21 Oct 2011 10:09:51 +0200 (CEST) [thread overview]
Message-ID: <20111021080951.F06D65B30A2@u016822.science.uva.nl> (raw)
In-Reply-To: m1ipnj8mj4.fsf@gmail.com
Patch 994 (http://patchwork.newartisans.com/patch/994/) is now "Accepted".
Maintainer comment: none
This relates to the following submission:
http://mid.gmane.org/%3Cm1ipnj8mj4.fsf%40gmail.com%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] Check marker is valid before use
> Date: Fri, 21 Oct 2011 00:56:31 -0000
> From: Leo <sdl.web@gmail.com>
> X-Patchwork-Id: 994
> Message-Id: <m1ipnj8mj4.fsf@gmail.com>
> To: emacs-orgmode@gnu.org
>
> lisp/org-agenda.el | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
>
>
> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
> index bf03b68c..f4b8bcbf 100644
> --- a/lisp/org-agenda.el
> +++ b/lisp/org-agenda.el
> @@ -6784,13 +6784,13 @@ (defun org-agenda-previous-line ()
> (defun org-agenda-do-context-action ()
> "Show outline path and, maybe, follow mode window."
> (let ((m (org-get-at-bol 'org-marker)))
> - (if (and org-agenda-follow-mode m)
> - (if org-agenda-follow-indirect
> - (org-agenda-tree-to-indirect-buffer)
> - (org-agenda-show)))
> - (if (and m org-agenda-show-outline-path)
> - (org-with-point-at m
> - (org-display-outline-path t)))))
> + (when (and (markerp m) (marker-buffer m))
> + (and org-agenda-follow-mode
> + (if org-agenda-follow-indirect
> + (org-agenda-tree-to-indirect-buffer)
> + (org-agenda-show)))
> + (and org-agenda-show-outline-path
> + (org-with-point-at m (org-display-outline-path t))))))
>
> (defun org-agenda-show-priority ()
> "Show the priority of the current item.
>
next prev parent reply other threads:[~2011-10-21 8:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 19:56 [PATCH] Check marker is valid before use Leo
2011-10-21 8:09 ` Carsten Dominik [this message]
2011-10-31 13:43 ` [Accepted] " Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111021080951.F06D65B30A2@u016822.science.uva.nl \
--to=cdominik@newartisans.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).