emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calendar/todo-mode.el


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/calendar/todo-mode.el
Date: Mon, 12 Nov 2001 23:11:15 -0500

Index: emacs/lisp/calendar/todo-mode.el
diff -u emacs/lisp/calendar/todo-mode.el:1.47 
emacs/lisp/calendar/todo-mode.el:1.48
--- emacs/lisp/calendar/todo-mode.el:1.47       Mon Jul 16 08:22:59 2001
+++ emacs/lisp/calendar/todo-mode.el    Mon Nov 12 23:11:15 2001
@@ -5,7 +5,7 @@
 ;; Author: Oliver Seidel <address@hidden>
 ;;   [Not clear the above works, July 2000]
 ;; Created: 2 Aug 1997
-;; Version: $Id: todo-mode.el,v 1.47 2001/07/16 12:22:59 pj Exp $
+;; Version: $Id: todo-mode.el,v 1.48 2001/11/13 04:11:15 rms Exp $
 ;; Keywords: calendar, todo
 
 ;; This file is part of GNU Emacs.
@@ -97,7 +97,7 @@
 ;;
 ;;      Which version of todo-mode.el does this documentation refer to?
 ;;
-;;      $Id: todo-mode.el,v 1.47 2001/07/16 12:22:59 pj Exp $
+;;      $Id: todo-mode.el,v 1.48 2001/11/13 04:11:15 rms Exp $
 ;;
 ;;  Pre-Requisites
 ;;
@@ -494,9 +494,11 @@
 (defun todo-save ()
   "Save the TODO list."
   (interactive)
-  (save-buffer)
-  (if todo-save-top-priorities-too (todo-save-top-priorities))
-  )
+  (save-excursion
+    (save-restriction
+      (save-buffer)
+      (if todo-save-top-priorities-too (todo-save-top-priorities))
+      )))
 (defalias 'todo-cmd-save 'todo-save)
 
 (defun todo-quit ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]