Mercurial > emacs
changeset 85798:5810ee84e0f9
remember.el: Add additional items to some defcustom options
author | Michael Olson <mwolson@gnu.org> |
---|---|
date | Tue, 30 Oct 2007 13:47:24 +0000 |
parents | af7404d1b4df |
children | 10f70d5f0ff3 |
files | lisp/ChangeLog lisp/textmodes/remember.el |
diffstat | 2 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Oct 30 12:50:53 2007 +0000 +++ b/lisp/ChangeLog Tue Oct 30 13:47:24 2007 +0000 @@ -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.
--- a/lisp/textmodes/remember.el Tue Oct 30 12:50:53 2007 +0000 +++ b/lisp/textmodes/remember.el Tue Oct 30 13:47:24 2007 +0000 @@ -177,7 +177,7 @@ (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 @@ 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 @@ 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 @@ (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 @@ (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.