1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 08:11:05 -08:00
emacs/doc
Michal Nazarewicz ef099a941f Add `remember-notes' function to store random notes across Emacs
restarts.
* remember.el (remember-data-file): Add :set callback to affect
notes buffer (if any).
(remember-notes): New command.
(remember-notes-buffer-name, bury-remember-notes-on-kill):
New defcustoms for the `remember-notes' function.
(remember-notes-save-and-bury-buffer): New command.
(remember-notes-mode-map): New variable.
(remember-mode): New minor mode.
(remember-notes--kill-buffer-query): New function.
* lisp/startup.el (initial-buffer-choice): Add notes to custom type.
* src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions'
before checking whether buffer is modified.  This lets
`kill-buffer-query-functions' cancel killing of the buffer or save
its content before `kill-buffer' asks user the "Buffer %s
modified; kill anyway?" question.

* remember.el (remember-append-to-file):
Don't mix `find-buffer-visiting' and `get-file-buffer'.

* lisp/files.el (find-file-noselect): Simplify conditional expression.
2013-06-30 18:29:23 -04:00
..
emacs Implement visual-order cursor motion. 2013-06-29 16:36:19 +03:00
lispintro Remove obsolete comments re postscript image printing 2013-06-20 19:17:37 -07:00
lispref Add `remember-notes' function to store random notes across Emacs 2013-06-30 18:29:23 -04:00
man Merge from emacs-24; up to 2012-12-26T22:30:58Z!yamaoka@jpl.org 2013-04-20 12:11:25 -07:00
misc Merge from emacs-24; up to 2012-12-29T06:14:00Z!cyd@gnu.org 2013-06-23 23:58:52 -07:00