* todos.el (todos-done-separator): Use window-width for length, in
authorStephen Berman <stephen.berman@gmx.net>
Fri, 17 May 2013 21:41:09 +0000 (23:41 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Fri, 17 May 2013 21:41:09 +0000 (23:41 +0200)
anticipation of bug#2749 being fixed.

lisp/calendar/ChangeLog
lisp/calendar/todos.el

index 5a6bab3..10ea010 100644 (file)
@@ -1,3 +1,8 @@
+2013-05-17  Stephen Berman  <stephen.berman@gmx.net>
+
+       * todos.el (todos-done-separator): Use window-width for length, in
+       anticipation of bug#2749 being fixed.
+
 2013-05-17  Stephen Berman  <stephen.berman@gmx.net>
 
        * todos.el (todos-category-completions): Restore point after
index 855ae77..5b707de 100644 (file)
@@ -1147,14 +1147,14 @@ number as its value."
   "Return string used as value of variable `todos-done-separator'."
   (let ((sep todos-done-separator-string))
     (propertize (if (= 1 (length sep))
-                   ;; If separator's length is window-width, then
-                   ;; with non-nil todos-wrap-lines and
-                   ;; todos-wrap-and-indent as value of
-                   ;; todos-line-wrapping-function, an indented empty
-                   ;; line appears between the separator and the
-                   ;; first done item.
-                   (make-string (1- (window-width)) (string-to-char sep))
-                   ;; (make-string (window-width) (string-to-char sep))
+                   ;; Until bug#2749 is fixed, if separator's length
+                   ;; is window-width, then with non-nil
+                   ;; todos-wrap-lines and todos-wrap-and-indent as
+                   ;; value of todos-line-wrapping-function, an
+                   ;; indented empty line appears between the
+                   ;; separator and the first done item.
+                   ;; (make-string (1- (window-width)) (string-to-char sep))
+                   (make-string (window-width) (string-to-char sep))
                  todos-done-separator-string)
                'face 'todos-done-sep)))