[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107102: Document revert-buffer-in-pr
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107102: Document revert-buffer-in-progress-p |
Date: |
Sat, 04 Feb 2012 14:04:12 -0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107102
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2012-02-04 14:04:12 -0800
message:
Document revert-buffer-in-progress-p
* doc/lispref/backups.texi (Reverting): Mention revert-buffer-in-progress-p.
* lisp/files.el (revert-buffer): Doc fix (mention
revert-buffer-in-progress-p).
* etc/NEWS: Related markup.
modified:
doc/lispref/ChangeLog
doc/lispref/backups.texi
etc/NEWS
lisp/ChangeLog
lisp/files.el
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2012-02-04 21:58:00 +0000
+++ b/doc/lispref/ChangeLog 2012-02-04 22:04:12 +0000
@@ -1,5 +1,7 @@
2012-02-04 Glenn Morris <address@hidden>
+ * backups.texi (Reverting): Mention revert-buffer-in-progress-p.
+
* debugging.texi (Error Debugging): Mention debug-on-event.
* commands.texi (Misc Events): Mention sigusr1,2 and debugging.
=== modified file 'doc/lispref/backups.texi'
--- a/doc/lispref/backups.texi 2012-01-19 07:21:25 +0000
+++ b/doc/lispref/backups.texi 2012-02-04 22:04:12 +0000
@@ -696,6 +696,9 @@
identical, reverting does change the buffer; in that case, it preserves
the markers in the unchanged text (if any) at the beginning and end of
the buffer. Preserving any additional markers would be problematical.
+
+This command binds @code{revert-buffer-in-progress-p} to a
address@hidden value while it operates.
@end deffn
You can customize how @code{revert-buffer} does its work by setting
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2012-02-04 21:58:00 +0000
+++ b/etc/NEWS 2012-02-04 22:04:12 +0000
@@ -1388,6 +1388,7 @@
with a nil or omitted VALUE argument, the reporter message is
displayed with a "spinning bar".
++++
** New variable `revert-buffer-in-progress-p' is true while a buffer is
being reverted, even if the buffer has a local `revert-buffer-function'.
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-02-04 21:18:46 +0000
+++ b/lisp/ChangeLog 2012-02-04 22:04:12 +0000
@@ -1,5 +1,8 @@
2012-02-04 Glenn Morris <address@hidden>
+ * files.el (revert-buffer):
+ Doc fix (mention revert-buffer-in-progress-p).
+
* emacs-lisp/ert-x.el (ert-simulate-command):
Check deferred-action-list (which is obsolete) is bound.
=== modified file 'lisp/files.el'
--- a/lisp/files.el 2012-01-23 19:44:28 +0000
+++ b/lisp/files.el 2012-02-04 22:04:12 +0000
@@ -5131,6 +5131,8 @@
Optional third argument PRESERVE-MODES non-nil means don't alter
the files modes. Normally we reinitialize them using `normal-mode'.
+This function binds `revert-buffer-in-progress-p' non-nil while it operates.
+
If the value of `revert-buffer-function' is non-nil, it is called to
do all the work for this command. Otherwise, the hooks
`before-revert-hook' and `after-revert-hook' are run at the beginning
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107102: Document revert-buffer-in-progress-p,
Glenn Morris <=