* calendar/todos.el (todos-edit-multiline, todos-edit-quit):

Revert buffer renaming.
This commit is contained in:
Stephen Berman 2013-02-14 14:02:21 +01:00
parent cb2077b433
commit b117d0fbfc
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-02-14 Stephen Berman <stephen.berman@gmx.net>
* calendar/todos.el (todos-edit-multiline, todos-edit-quit):
Revert buffer renaming.
2013-02-11 Stephen Berman <stephen.berman@gmx.net>
* calendar/todos.el (todos-edit-quit): On quitting file editing,

View file

@ -4882,7 +4882,6 @@ the format of Diary entries."
"" ;FIXME
(interactive)
(widen)
(rename-buffer todos-edit-buffer)
(todos-edit-mode)
(remove-overlays) ; nil nil 'before-string)
(message "%s" (substitute-command-keys
@ -4919,7 +4918,6 @@ in the number or names of categories."
;; (todos-repair-categories-sexp)
;; Compare (todos-make-categories-list t) with sexp and if
;; different ask (todos-update-categories-sexp) ?
(rename-buffer (file-name-nondirectory todos-current-todos-file))
(todos-mode)
(let* ((cat-beg (concat "^" (regexp-quote todos-category-beg)
"\\(.*\\)$"))