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.
This commit is contained in:
Bastien Guerry 2014-03-25 21:46:50 +01:00
parent c6e0157095
commit e330027ac1
1 changed files with 2 additions and 2 deletions

View File

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