]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-backend-for-registration): Rename from
authorDan Nicolaescu <dann@ics.uci.edu>
Sat, 24 Oct 2009 06:34:26 +0000 (06:34 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Sat, 24 Oct 2009 06:34:26 +0000 (06:34 +0000)
vc-get-backend-for-registration.  Update callers.

lisp/ChangeLog
lisp/vc.el

index a9e21b1c2518f72d55ad3891b6446c7b42ab9fdf..8a41ef8d1714b785d734ce7b3202be56f06f0d33 100644 (file)
@@ -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.
index e2ddb4f07beb36167a9ef5707d3e1f8a7ce39c32..19033c214d89f8926eee327ba022fba7a7b84dec 100644 (file)
@@ -794,7 +794,7 @@ been updated to their corresponding values."
 
 ;;; 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 @@ current buffer."
        (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")))))