diff options
| author | Eli Zaretskii | 2015-12-12 11:17:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-12-12 11:17:25 +0200 |
| commit | acae1834c619ad1a0c8db8b6421291070087a004 (patch) | |
| tree | 5f4423b8621bf82cced7280e7dd74bcb7c8ca8bd /doc | |
| parent | 0b7d6b026eb2cd69a90a9af41a4fca24389c5e47 (diff) | |
| download | emacs-acae1834c619ad1a0c8db8b6421291070087a004.tar.gz emacs-acae1834c619ad1a0c8db8b6421291070087a004.zip | |
Document 'vc-refresh-state'
* doc/emacs/maintaining.texi (Version Control): Document
'vc-refresh-state'.
* lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/maintaining.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index f1a59f84351..359b50321c7 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -47,6 +47,17 @@ variable @code{vc-handled-backends} to @code{nil} | |||
| 47 | (@pxref{Customizing VC}). | 47 | (@pxref{Customizing VC}). |
| 48 | @end ifnottex | 48 | @end ifnottex |
| 49 | 49 | ||
| 50 | @findex vc-refresh-state | ||
| 51 | @findex vc-state-refresh | ||
| 52 | To update the VC state information for the file visited in the | ||
| 53 | current buffer, use the command @code{vc-refresh-state}. This command | ||
| 54 | is useful when you perform version control commands outside Emacs | ||
| 55 | (e.g., from the shell prompt), or if you put the buffer's file under a | ||
| 56 | different version control system, or remove it from version control | ||
| 57 | entirely. A companion command @code{vc-state-refresh} does the same, | ||
| 58 | but does not consider switching the version control system or removal | ||
| 59 | from VC. | ||
| 60 | |||
| 50 | @menu | 61 | @menu |
| 51 | * Introduction to VC:: How version control works in general. | 62 | * Introduction to VC:: How version control works in general. |
| 52 | * VC Mode Line:: How the mode line shows version control status. | 63 | * VC Mode Line:: How the mode line shows version control status. |