Mercurial > emacs
changeset 105745:0a74e9b3065f
(vc-backend-for-registration): Rename from
vc-get-backend-for-registration. Update callers.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 24 Oct 2009 06:34:26 +0000 |
parents | b0a732611398 |
children | 41169068dcab |
files | lisp/ChangeLog lisp/vc.el |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Oct 24 06:32:03 2009 +0000 +++ b/lisp/ChangeLog Sat Oct 24 06:34:26 2009 +0000 @@ -1,5 +1,8 @@ 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu> + * vc.el (vc-backend-for-registration): Rename from + vc-get-backend-for-registration. Update callers. + * international/mule-cmds.el (set-language-info-alist): Purecopy lang-env. (leim-list-header, leim-list-entry-regexp): Change defvars to defconst. (charset): Purecopy the name.
--- a/lisp/vc.el Sat Oct 24 06:32:03 2009 +0000 +++ b/lisp/vc.el Sat Oct 24 06:34:26 2009 +0000 @@ -794,7 +794,7 @@ ;;; Code for deducing what fileset and backend to assume -(defun vc-get-backend-for-registration (file) +(defun vc-backend-for-registration (file) "Return a backend that can be used for registering FILE. If no backend declares itself responsible for FILE, then FILE @@ -913,12 +913,12 @@ (error "Buffer %s is not associated with a file" (buffer-name))) ((and allow-unregistered (not (vc-registered buffer-file-name))) (if state-model-only-files - (list (vc-get-backend-for-registration (buffer-file-name)) + (list (vc-backend-for-registration (buffer-file-name)) (list buffer-file-name) (list buffer-file-name) (when state-model-only-files 'unregistered) nil) - (list (vc-get-backend-for-registration (buffer-file-name)) + (list (vc-backend-for-registration (buffer-file-name)) (list buffer-file-name)))) (t (error "No fileset is available here")))))