diff options
| author | Stephen Berman | 2013-05-17 23:41:09 +0200 |
|---|---|---|
| committer | Stephen Berman | 2013-05-17 23:41:09 +0200 |
| commit | 17de84fb54684da90fbaf41184a36d25e65688b3 (patch) | |
| tree | b07575a90181272f4f0dc8490d3bf322aad5f695 | |
| parent | 60c9e803176c0635724a372f74752103e803a534 (diff) | |
| download | emacs-17de84fb54684da90fbaf41184a36d25e65688b3.tar.gz emacs-17de84fb54684da90fbaf41184a36d25e65688b3.zip | |
* todos.el (todos-done-separator): Use window-width for length, in
anticipation of bug#2749 being fixed.
| -rw-r--r-- | lisp/calendar/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/calendar/todos.el | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/calendar/ChangeLog b/lisp/calendar/ChangeLog index 5a6bab346fc..10ea01075ce 100644 --- a/lisp/calendar/ChangeLog +++ b/lisp/calendar/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-05-17 Stephen Berman <stephen.berman@gmx.net> | 1 | 2013-05-17 Stephen Berman <stephen.berman@gmx.net> |
| 2 | 2 | ||
| 3 | * todos.el (todos-done-separator): Use window-width for length, in | ||
| 4 | anticipation of bug#2749 being fixed. | ||
| 5 | |||
| 6 | 2013-05-17 Stephen Berman <stephen.berman@gmx.net> | ||
| 7 | |||
| 3 | * todos.el (todos-category-completions): Restore point after | 8 | * todos.el (todos-category-completions): Restore point after |
| 4 | ensuring category is properly displayed. | 9 | ensuring category is properly displayed. |
| 5 | 10 | ||
diff --git a/lisp/calendar/todos.el b/lisp/calendar/todos.el index 855ae7753e5..5b707de31dc 100644 --- a/lisp/calendar/todos.el +++ b/lisp/calendar/todos.el | |||
| @@ -1147,14 +1147,14 @@ number as its value." | |||
| 1147 | "Return string used as value of variable `todos-done-separator'." | 1147 | "Return string used as value of variable `todos-done-separator'." |
| 1148 | (let ((sep todos-done-separator-string)) | 1148 | (let ((sep todos-done-separator-string)) |
| 1149 | (propertize (if (= 1 (length sep)) | 1149 | (propertize (if (= 1 (length sep)) |
| 1150 | ;; If separator's length is window-width, then | 1150 | ;; Until bug#2749 is fixed, if separator's length |
| 1151 | ;; with non-nil todos-wrap-lines and | 1151 | ;; is window-width, then with non-nil |
| 1152 | ;; todos-wrap-and-indent as value of | 1152 | ;; todos-wrap-lines and todos-wrap-and-indent as |
| 1153 | ;; todos-line-wrapping-function, an indented empty | 1153 | ;; value of todos-line-wrapping-function, an |
| 1154 | ;; line appears between the separator and the | 1154 | ;; indented empty line appears between the |
| 1155 | ;; first done item. | 1155 | ;; separator and the first done item. |
| 1156 | (make-string (1- (window-width)) (string-to-char sep)) | 1156 | ;; (make-string (1- (window-width)) (string-to-char sep)) |
| 1157 | ;; (make-string (window-width) (string-to-char sep)) | 1157 | (make-string (window-width) (string-to-char sep)) |
| 1158 | todos-done-separator-string) | 1158 | todos-done-separator-string) |
| 1159 | 'face 'todos-done-sep))) | 1159 | 'face 'todos-done-sep))) |
| 1160 | 1160 | ||