summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-03-25 21:46:50 +0100
committerBastien Guerry <bzg@altern.org>2014-03-25 21:46:50 +0100
commite330027ac1d5378defde46e274057a92b247e5d3 (patch)
treeaa8859c825c85ab519819baac743775507d8919f
parentc6e015709516437518031655caa5ba983e24b840 (diff)
downloadorg-mode-e330027ac1d5378defde46e274057a92b247e5d3.tar.gz
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.
-rw-r--r--lisp/org-agenda.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 048937b..07a54c0 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.