فهرست منبع

org-agenda: Fix last commit

* lisp/org-agenda.el (org-agenda-align-tags): Fix thinko in last
  commit.
Nicolas Goaziou 7 سال پیش
والد
کامیت
298eaa1c32
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      lisp/org-agenda.el

+ 2 - 2
lisp/org-agenda.el

@@ -9002,7 +9002,7 @@ current line."
 	(org-agenda-tags-column (if (eq 'auto org-agenda-tags-column)
 				    (- (window-text-width))
 				  org-agenda-tags-column))
-	(end (if line (line-end-position) (point-max)))
+	(end (and line (line-end-position)))
 	l c)
     (save-excursion
       (goto-char (if line (line-beginning-position) (point-min)))
@@ -9023,7 +9023,7 @@ current line."
 	(delete-region (save-excursion (skip-chars-backward " \t") (point))
 		       (point))
 	(insert (org-add-props
-		    (make-string (max 1 (- c (current-column))) ?\ )
+		    (make-string (max 1 (- c (current-column))) ?\s)
 		    (plist-put (copy-sequence (text-properties-at (point)))
 			       'face nil))))
       (goto-char (point-min))