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:
parent
c6e0157095
commit
e330027ac1
|
@ -9177,8 +9177,8 @@ Called with a universal prefix arg, show the priority instead of setting it."
|
||||||
(1- (point)) (point-at-eol)
|
(1- (point)) (point-at-eol)
|
||||||
(list 'display (org-add-props stamp nil
|
(list 'display (org-add-props stamp nil
|
||||||
'face 'secondary-selection))))
|
'face 'secondary-selection))))
|
||||||
(move-beginning-of-line 1))
|
(beginning-of-line 1))
|
||||||
(move-beginning-of-line 0)))))
|
(beginning-of-line 0)))))
|
||||||
|
|
||||||
(defun org-agenda-date-prompt (arg)
|
(defun org-agenda-date-prompt (arg)
|
||||||
"Change the date of this item. Date is prompted for, with default today.
|
"Change the date of this item. Date is prompted for, with default today.
|
||||||
|
|
Loading…
Reference in New Issue