]> git.eshelyaron.com Git - emacs.git/commitdiff
remember.el: Add additional items to some defcustom options
authorMichael Olson <mwolson@gnu.org>
Tue, 30 Oct 2007 13:47:24 +0000 (13:47 +0000)
committerMichael Olson <mwolson@gnu.org>
Tue, 30 Oct 2007 13:47:24 +0000 (13:47 +0000)
lisp/ChangeLog
lisp/textmodes/remember.el

index 43656726e3ca513dd5eb17e60ed28bbd15d5a260..6ded079f8ab4b704a10b29dc5dff4c0c6b160bd9 100644 (file)
@@ -3,6 +3,12 @@
        * vc.el (vc-annotate): Fix omission bug:
        Specify value for vc-sentinel-movepoint.
 
+2007-10-30  Michael Olson  <mwolson@gnu.org>
+
+       * textmodes/remember.el (remember-mode-hook)
+       (remember-handler-functions, remember-annotation-functions): Add
+       additional items as options, including some Org functions.
+
 2007-10-30  Tassilo Horn  <tassilo@member.fsf.org>
 
        * doc-view.el: Remove cl-dependency.
index ac9931ff320ce0e33b0e9f7121f5b347adf49cd4..a55992dd7dcb67621633d73a344a79145cd92a23 100644 (file)
 (defcustom remember-mode-hook nil
   "Functions run upon entering `remember-mode'."
   :type 'hook
-  :options '(flyspell-mode turn-on-auto-fill)
+  :options '(flyspell-mode turn-on-auto-fill org-remember-apply-template)
   :group 'remember)
 
 (defcustom remember-in-new-frame nil
@@ -203,6 +203,10 @@ user wants remembered.
 If any function returns non-nil, the data is assumed to have been
 recorded somewhere by that function. "
   :type 'hook
+  :options '(remember-store-in-mailbox
+             remember-append-to-file
+             remember-diary-extract-entries
+             org-remember-handler)
   :group 'remember)
 
 (defcustom remember-all-handler-functions nil
@@ -234,6 +238,7 @@ called."
 If you have planner.el, it's nice to set this to
 `planner-annotation-functions'."
   :type 'hook
+  :options '(org-remember-annotation buffer-file-name)
   :group 'remember)
 
 (defvar remember-annotation nil
@@ -368,8 +373,6 @@ Subject: %s\n\n"
       (append-to-file (point-min) (point-max) remember-mailbox)
       t)))
 
-(custom-add-option 'remember-handler-functions 'remember-store-in-mailbox)
-
 ;; Remembering to plain files
 
 (defcustom remember-data-file "~/.notes"
@@ -400,8 +403,6 @@ Subject: %s\n\n"
               (when remember-save-after-remembering (save-buffer))))
         (append-to-file (point-min) (point-max) remember-data-file)))))
 
-(custom-add-option 'remember-handler-functions 'remember-append-to-file)
-
 ;;;###autoload
 (defun remember-region (&optional beg end)
   "Remember the data from BEG to END.