Function: remember-notes-mode

remember-notes-mode is an interactive and byte-compiled function defined in remember.el.gz.

Signature

(remember-notes-mode &optional ARG)

Documentation

Minor mode for the remember-notes buffer.

This sets buffer-save-without-query so that save-some-buffers will save the notes buffer without asking.

C-c C-c remember-notes-save-and-bury-buffer

This is a minor mode. If called interactively, toggle the Remember-Notes mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer, evaluate remember-notes-mode(var)/remember-notes-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/remember.el.gz
(define-minor-mode remember-notes-mode
  "Minor mode for the `remember-notes' buffer.
This sets `buffer-save-without-query' so that `save-some-buffers' will
save the notes buffer without asking.

\\{remember-notes-mode-map}"
  :lighter nil
  (cond
   (remember-notes-mode
    (add-hook 'kill-buffer-query-functions
              #'remember-notes--kill-buffer-query nil t)
    (setq buffer-save-without-query t))))