diff options
| author | Glenn Morris | 2012-12-09 18:00:42 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-12-09 18:00:42 -0800 |
| commit | 265c2fbf11cb8bf9b805df63ecb9508631f08e35 (patch) | |
| tree | 808684294d7ec600f5300e0a5d5f868740096f7b /lisp/vc | |
| parent | 5f460827dd14fbfae26ac8451cedd4446817d1ec (diff) | |
| parent | f433306af510e86a614e9f9f082b6d2d5f56a968 (diff) | |
| download | emacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.tar.gz emacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.zip | |
Merge from emacs-24; up to 2012-11-26T19:56:14Z!monnier@iro.umontreal.ca
Diffstat (limited to 'lisp/vc')
| -rw-r--r-- | lisp/vc/vc-hooks.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 40a1f3db982..a5eb2932af8 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el | |||
| @@ -438,8 +438,8 @@ For registered files, the possible values are: | |||
| 438 | (defun vc-state (file &optional backend) | 438 | (defun vc-state (file &optional backend) |
| 439 | "Return the version control state of FILE. | 439 | "Return the version control state of FILE. |
| 440 | 440 | ||
| 441 | If FILE is not registered, this function always returns nil. | 441 | A return of nil from this function means we have no information on the |
| 442 | For registered files, the value returned is one of: | 442 | status of this file. Otherwise, the value returned is one of: |
| 443 | 443 | ||
| 444 | 'up-to-date The working file is unmodified with respect to the | 444 | 'up-to-date The working file is unmodified with respect to the |
| 445 | latest version on the current branch, and not locked. | 445 | latest version on the current branch, and not locked. |
| @@ -491,10 +491,8 @@ For registered files, the value returned is one of: | |||
| 491 | that any file with vc-state nil might be ignorable | 491 | that any file with vc-state nil might be ignorable |
| 492 | without VC knowing it. | 492 | without VC knowing it. |
| 493 | 493 | ||
| 494 | 'unregistered The file is not under version control. | 494 | 'unregistered The file is not under version control." |
| 495 | 495 | ||
| 496 | A return of nil from this function means we have no information on the | ||
| 497 | status of this file." | ||
| 498 | ;; Note: in Emacs 22 and older, return of nil meant the file was | 496 | ;; Note: in Emacs 22 and older, return of nil meant the file was |
| 499 | ;; unregistered. This is potentially a source of | 497 | ;; unregistered. This is potentially a source of |
| 500 | ;; backward-compatibility bugs. | 498 | ;; backward-compatibility bugs. |