1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00
emacs/doc
Mauro Aranda 1278a9a907 New command: revert-buffer-with-fine-grain
* doc/emacs/files.texi (Reverting): Document the new command and the
new variable.

* etc/NEWS: Mention the new command and the new variable.

* lisp/files.el (revert-buffer-with-fine-grain): New command.  Revert
a buffer trying to be non-destructive, by using replace-buffer-contents.
(revert-buffer-insert-file-contents-delicately): New function, alternative
to revert-buffer-insert-file-contents-function--default-function.
(revert-buffer-with-fine-grain-max-seconds): New variable.  Passed as
argument MAX-SECS of replace-buffer-contents.

* test/lisp/files-tests.el (files-tests-lao files-tests-tzu): Helper
variables, taken from diffutils manual, to test reverting a buffer.
(files-tests-revert-buffer)
(files-tests-revert-buffer-with-fine-grain): New tests (bug#18).
2020-09-20 01:04:39 +02:00
..
emacs New command: revert-buffer-with-fine-grain 2020-09-20 01:04:39 +02:00
lispintro Merge from origin/emacs-27 2020-08-31 10:45:54 -07:00
lispref Extend process-lines to allow exit status handling 2020-09-20 00:16:36 +02:00
man Fix syntax error in man page. 2020-04-05 10:19:31 +02:00
misc Add a new variable 'gnus-global-groups' 2020-09-19 21:16:42 +02:00