Mercurial > emacs
comparison lisp/vc.el @ 99159:b0dce7f34dda
* vc.el: Rename VC methods that were missed when vc-status was
renamed to vc-dir.
* vc-svn.el (vc-svn-dir-extra-headers): Rename from
vc-svn-status-extra-headers.
* vc-hg.el (vc-hg-dir-printer): Rename from vc-hg-status-printer.
(vc-hg-dir-extra-header): Rename from vc-hg-status-extra-headers.
* vc-git.el (vc-git-dir-printer): Rename from vc-dir-status-printer.
(vc-git-dir-extra-headers): Rename from vc-git-status-extra-headers.
* vc-dir.el (vc-dir-mode): Use vc-dir-printer instead of
vc-dir-status-printer.
(vc-dir-headers): Use `dir-extra-headers' instead of
`status-extra-headers'
(vc-dir-printer): Rename from vc-dir-status-printer.
(vc-default-dir-extra-headers): Rename from
vc-default-status-extra-headers.
* vc-cvs.el (vc-cvs-dir-extra-headers): Rename from
vc-cvs-status-extra-headers.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 27 Oct 2008 07:21:43 +0000 |
parents | a0d0310a78a7 |
children | bc878f998f43 |
comparison
equal
deleted
inserted
replaced
99158:d1d986962044 | 99159:b0dce7f34dda |
---|---|
157 ;; they can be passed back by doing: | 157 ;; they can be passed back by doing: |
158 ;; (funcall UPDATE-FUNCTION RESULT t) | 158 ;; (funcall UPDATE-FUNCTION RESULT t) |
159 ;; and then do a (funcall UPDATE-FUNCTION RESULT nil) | 159 ;; and then do a (funcall UPDATE-FUNCTION RESULT nil) |
160 ;; when all the results have been computed. | 160 ;; when all the results have been computed. |
161 ;; To provide more backend specific functionality for `vc-dir' | 161 ;; To provide more backend specific functionality for `vc-dir' |
162 ;; the following functions might be needed: `status-extra-headers', | 162 ;; the following functions might be needed: `dir-extra-headers', |
163 ;; `status-printer', `extra-status-menu' and `dir-status-files'. | 163 ;; `dir-printer', `extra-dir-menu' and `dir-status-files'. |
164 ;; | 164 ;; |
165 ;; - dir-status-files (dir files default-state update-function) | 165 ;; - dir-status-files (dir files default-state update-function) |
166 ;; | 166 ;; |
167 ;; This function is identical to dir-status except that it should | 167 ;; This function is identical to dir-status except that it should |
168 ;; only report status for the specified FILES. Also it needs to | 168 ;; only report status for the specified FILES. Also it needs to |
169 ;; report on all requested files, including up-to-date or ignored | 169 ;; report on all requested files, including up-to-date or ignored |
170 ;; files. If not provided, the default is to consider that the files | 170 ;; files. If not provided, the default is to consider that the files |
171 ;; are in DEFAULT-STATE. | 171 ;; are in DEFAULT-STATE. |
172 ;; | 172 ;; |
173 ;; - status-extra-headers (dir) | 173 ;; - dir-extra-headers (dir) |
174 ;; | 174 ;; |
175 ;; Return a string that will be added to the *vc-dir* buffer header. | 175 ;; Return a string that will be added to the *vc-dir* buffer header. |
176 ;; | 176 ;; |
177 ;; - status-printer (fileinfo) | 177 ;; - dir-printer (fileinfo) |
178 ;; | 178 ;; |
179 ;; Pretty print the `vc-dir-fileinfo' FILEINFO. | 179 ;; Pretty print the `vc-dir-fileinfo' FILEINFO. |
180 ;; If a backend needs to show more information than the default FILE | 180 ;; If a backend needs to show more information than the default FILE |
181 ;; and STATE in the vc-dir listing, it can store that extra | 181 ;; and STATE in the vc-dir listing, it can store that extra |
182 ;; information in `vc-dir-fileinfo->extra'. This function can be | 182 ;; information in `vc-dir-fileinfo->extra'. This function can be |
525 ;; to specify extra menu items that appear in the VC menu. This way | 525 ;; to specify extra menu items that appear in the VC menu. This way |
526 ;; you can provide menu entries for functionality that is specific | 526 ;; you can provide menu entries for functionality that is specific |
527 ;; to your backend and which does not map to any of the VC generic | 527 ;; to your backend and which does not map to any of the VC generic |
528 ;; concepts. | 528 ;; concepts. |
529 ;; | 529 ;; |
530 ;; - extra-status-menu () | 530 ;; - extra-dir-menu () |
531 ;; | 531 ;; |
532 ;; Return a menu keymap, the items in the keymap will appear at the | 532 ;; Return a menu keymap, the items in the keymap will appear at the |
533 ;; end of the VC Status menu. The goal is to allow backends to | 533 ;; end of the VC Status menu. The goal is to allow backends to |
534 ;; specify extra menu items that appear in the VC Status menu. This | 534 ;; specify extra menu items that appear in the VC Status menu. This |
535 ;; makes it possible to provide menu entries for functionality that | 535 ;; makes it possible to provide menu entries for functionality that |