diff options
Diffstat (limited to 'lisp/vc')
| -rw-r--r-- | lisp/vc/ediff-mult.el | 5 | ||||
| -rw-r--r-- | lisp/vc/ediff-ptch.el | 2 | ||||
| -rw-r--r-- | lisp/vc/vc-hooks.el | 28 |
3 files changed, 18 insertions, 17 deletions
diff --git a/lisp/vc/ediff-mult.el b/lisp/vc/ediff-mult.el index c81afce016d..7bfc3b60b4a 100644 --- a/lisp/vc/ediff-mult.el +++ b/lisp/vc/ediff-mult.el | |||
| @@ -1456,7 +1456,8 @@ Useful commands: | |||
| 1456 | (map-extents 'delete-extent) | 1456 | (map-extents 'delete-extent) |
| 1457 | (mapc 'delete-overlay (overlays-in 1 1))) | 1457 | (mapc 'delete-overlay (overlays-in 1 1))) |
| 1458 | 1458 | ||
| 1459 | (insert "This is a registry of all active Ediff sessions. | 1459 | (insert (substitute-command-keys "\ |
| 1460 | This is a registry of all active Ediff sessions. | ||
| 1460 | 1461 | ||
| 1461 | Useful commands: | 1462 | Useful commands: |
| 1462 | button2, `v', RET over a session record: switch to that session | 1463 | button2, `v', RET over a session record: switch to that session |
| @@ -1471,7 +1472,7 @@ Useful commands: | |||
| 1471 | \t\tActive Ediff Sessions: | 1472 | \t\tActive Ediff Sessions: |
| 1472 | \t\t---------------------- | 1473 | \t\t---------------------- |
| 1473 | 1474 | ||
| 1474 | ") | 1475 | ")) |
| 1475 | ;; purge registry list from dead buffers | 1476 | ;; purge registry list from dead buffers |
| 1476 | (mapc (lambda (elt) | 1477 | (mapc (lambda (elt) |
| 1477 | (if (not (ediff-buffer-live-p elt)) | 1478 | (if (not (ediff-buffer-live-p elt)) |
diff --git a/lisp/vc/ediff-ptch.el b/lisp/vc/ediff-ptch.el index b665034d135..b45d533caea 100644 --- a/lisp/vc/ediff-ptch.el +++ b/lisp/vc/ediff-ptch.el | |||
| @@ -406,7 +406,7 @@ other files, enter /dev/null | |||
| 406 | (with-output-to-temp-buffer ediff-msg-buffer | 406 | (with-output-to-temp-buffer ediff-msg-buffer |
| 407 | (ediff-with-current-buffer standard-output | 407 | (ediff-with-current-buffer standard-output |
| 408 | (fundamental-mode)) | 408 | (fundamental-mode)) |
| 409 | (princ (format " | 409 | (princ (format-message " |
| 410 | Ediff has inferred that | 410 | Ediff has inferred that |
| 411 | %s | 411 | %s |
| 412 | %s | 412 | %s |
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index e674f0e4d4e..3e6d2a95051 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el | |||
| @@ -380,14 +380,14 @@ If the argument is a list, the files must all have the same back end." | |||
| 380 | If FILES are not registered, this function always returns nil. | 380 | If FILES are not registered, this function always returns nil. |
| 381 | For registered files, the possible values are: | 381 | For registered files, the possible values are: |
| 382 | 382 | ||
| 383 | 'implicit FILES are always writable, and checked out `implicitly' | 383 | `implicit' FILES are always writable, and checked out `implicitly' |
| 384 | when the user saves the first changes to the file. | 384 | when the user saves the first changes to the file. |
| 385 | 385 | ||
| 386 | 'locking FILES are read-only if up-to-date; user must type | 386 | `locking' FILES are read-only if up-to-date; user must type |
| 387 | \\[vc-next-action] before editing. Strict locking | 387 | \\[vc-next-action] before editing. Strict locking |
| 388 | is assumed. | 388 | is assumed. |
| 389 | 389 | ||
| 390 | 'announce FILES are read-only if up-to-date; user must type | 390 | `announce' FILES are read-only if up-to-date; user must type |
| 391 | \\[vc-next-action] before editing. But other users | 391 | \\[vc-next-action] before editing. But other users |
| 392 | may be editing at the same time." | 392 | may be editing at the same time." |
| 393 | (vc-call-backend backend 'checkout-model files)) | 393 | (vc-call-backend backend 'checkout-model files)) |
| @@ -416,10 +416,10 @@ For registered files, the possible values are: | |||
| 416 | A return of nil from this function means we have no information on the | 416 | A return of nil from this function means we have no information on the |
| 417 | status of this file. Otherwise, the value returned is one of: | 417 | status of this file. Otherwise, the value returned is one of: |
| 418 | 418 | ||
| 419 | 'up-to-date The working file is unmodified with respect to the | 419 | `up-to-date' The working file is unmodified with respect to the |
| 420 | latest version on the current branch, and not locked. | 420 | latest version on the current branch, and not locked. |
| 421 | 421 | ||
| 422 | 'edited The working file has been edited by the user. If | 422 | `edited' The working file has been edited by the user. If |
| 423 | locking is used for the file, this state means that | 423 | locking is used for the file, this state means that |
| 424 | the current version is locked by the calling user. | 424 | the current version is locked by the calling user. |
| 425 | This status should *not* be reported for files | 425 | This status should *not* be reported for files |
| @@ -429,44 +429,44 @@ status of this file. Otherwise, the value returned is one of: | |||
| 429 | USER The current version of the working file is locked by | 429 | USER The current version of the working file is locked by |
| 430 | some other USER (a string). | 430 | some other USER (a string). |
| 431 | 431 | ||
| 432 | 'needs-update The file has not been edited by the user, but there is | 432 | `needs-update' The file has not been edited by the user, but there is |
| 433 | a more recent version on the current branch stored | 433 | a more recent version on the current branch stored |
| 434 | in the repository. | 434 | in the repository. |
| 435 | 435 | ||
| 436 | 'needs-merge The file has been edited by the user, and there is also | 436 | `needs-merge' The file has been edited by the user, and there is also |
| 437 | a more recent version on the current branch stored in | 437 | a more recent version on the current branch stored in |
| 438 | the repository. This state can only occur if locking | 438 | the repository. This state can only occur if locking |
| 439 | is not used for the file. | 439 | is not used for the file. |
| 440 | 440 | ||
| 441 | 'unlocked-changes The working version of the file is not locked, | 441 | `unlocked-changes' The working version of the file is not locked, |
| 442 | but the working file has been changed with respect | 442 | but the working file has been changed with respect |
| 443 | to that version. This state can only occur for files | 443 | to that version. This state can only occur for files |
| 444 | with locking; it represents an erroneous condition that | 444 | with locking; it represents an erroneous condition that |
| 445 | should be resolved by the user (vc-next-action will | 445 | should be resolved by the user (vc-next-action will |
| 446 | prompt the user to do it). | 446 | prompt the user to do it). |
| 447 | 447 | ||
| 448 | 'added Scheduled to go into the repository on the next commit. | 448 | `added' Scheduled to go into the repository on the next commit. |
| 449 | Often represented by vc-working-revision = \"0\" in VCSes | 449 | Often represented by vc-working-revision = \"0\" in VCSes |
| 450 | with monotonic IDs like Subversion and Mercurial. | 450 | with monotonic IDs like Subversion and Mercurial. |
| 451 | 451 | ||
| 452 | 'removed Scheduled to be deleted from the repository on next commit. | 452 | `removed' Scheduled to be deleted from the repository on next commit. |
| 453 | 453 | ||
| 454 | 'conflict The file contains conflicts as the result of a merge. | 454 | `conflict' The file contains conflicts as the result of a merge. |
| 455 | For now the conflicts are text conflicts. In the | 455 | For now the conflicts are text conflicts. In the |
| 456 | future this might be extended to deal with metadata | 456 | future this might be extended to deal with metadata |
| 457 | conflicts too. | 457 | conflicts too. |
| 458 | 458 | ||
| 459 | 'missing The file is not present in the file system, but the VC | 459 | `missing' The file is not present in the file system, but the VC |
| 460 | system still tracks it. | 460 | system still tracks it. |
| 461 | 461 | ||
| 462 | 'ignored The file showed up in a dir-status listing with a flag | 462 | `ignored' The file showed up in a dir-status listing with a flag |
| 463 | indicating the version-control system is ignoring it, | 463 | indicating the version-control system is ignoring it, |
| 464 | Note: This property is not set reliably (some VCSes | 464 | Note: This property is not set reliably (some VCSes |
| 465 | don't have useful directory-status commands) so assume | 465 | don't have useful directory-status commands) so assume |
| 466 | that any file with vc-state nil might be ignorable | 466 | that any file with vc-state nil might be ignorable |
| 467 | without VC knowing it. | 467 | without VC knowing it. |
| 468 | 468 | ||
| 469 | 'unregistered The file is not under version control." | 469 | `unregistered' The file is not under version control." |
| 470 | 470 | ||
| 471 | ;; Note: in Emacs 22 and older, return of nil meant the file was | 471 | ;; Note: in Emacs 22 and older, return of nil meant the file was |
| 472 | ;; unregistered. This is potentially a source of | 472 | ;; unregistered. This is potentially a source of |