瀏覽代碼

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.
Bastien Guerry 11 年之前
父節點
當前提交
e330027ac1
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org-agenda.el

+ 2 - 2
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.