changeset 85863:f5b982bf98e0

Remember: Fix mistake in last commit and improve remember-mode docstring.
author Michael Olson <mwolson@gnu.org>
date Thu, 01 Nov 2007 04:56:10 +0000
parents 9e1be56af44a
children 07652ce8f3df
files lisp/ChangeLog lisp/textmodes/remember.el
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Nov 01 04:40:55 2007 +0000
+++ b/lisp/ChangeLog	Thu Nov 01 04:56:10 2007 +0000
@@ -11,6 +11,7 @@
 	functional overlap with the `remember' function.
 	(remember-destroy): Remove autoload cookie.
 	(remember-mode-map): Define and initialize in one step.
+	(remember-mode): Improve docstring.
 
 2007-11-01  Glenn Morris  <rgm@gnu.org>
 
--- a/lisp/textmodes/remember.el	Thu Nov 01 04:40:55 2007 +0000
+++ b/lisp/textmodes/remember.el	Thu Nov 01 04:56:10 2007 +0000
@@ -456,15 +456,19 @@
   (let ((map (make-sparse-keymap)))
     (define-key map "\C-x\C-s" 'remember-finalize)
     (define-key map "\C-c\C-c" 'remember-finalize)
-    (define-key map "\C-c\C-k" 'remember-destroy))
+    (define-key map "\C-c\C-k" 'remember-destroy)
+
+    map)
   "Keymap used in Remember mode.")
 
 (defun remember-mode ()
   "Major mode for output from \\[remember].
-\\<remember-mode-map>This buffer is used to collect data that you want
-remember.  Just hit \\[remember-region] when you're done entering, and
-it will go ahead and file the data for latter retrieval, and possible
-indexing.  \\{remember-mode-map}"
+This buffer is used to collect data that you want to remember.
+
+Just hit `C-c C-c' when you're done entering, and it will file
+the data away for latter retrieval, and possible indexing.
+
+\\{remember-mode-map}"
   (interactive)
   (kill-all-local-variables)
   (indented-text-mode)