From e330027ac1d5378defde46e274057a92b247e5d3 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 25 Mar 2014 21:46:50 +0100 Subject: [PATCH] org-agenda.el (org-agenda-show-new-time): Don't use `move-beginning-of-line' * org-agenda.el (org-agenda-show-new-time): Don't use `move-beginning-of-line' as it is slower and not needed. Thanks to Matt Lundin for reporting this. --- lisp/org-agenda.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 048937bd5..07a54c0dd 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -9177,8 +9177,8 @@ Called with a universal prefix arg, show the priority instead of setting it." (1- (point)) (point-at-eol) (list 'display (org-add-props stamp nil 'face 'secondary-selection)))) - (move-beginning-of-line 1)) - (move-beginning-of-line 0))))) + (beginning-of-line 1)) + (beginning-of-line 0))))) (defun org-agenda-date-prompt (arg) "Change the date of this item. Date is prompted for, with default today.