Mercurial > emacs
diff lisp/vc-hooks.el @ 105735:5d9281801a59
Convert comment about autoload into autoload comment.
(vc-responsible-backend): Fix declaration.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 24 Oct 2009 03:43:47 +0000 |
parents | 6b8dce5c4461 |
children | b4f29dbe3ee7 |
line wrap: on
line diff
--- a/lisp/vc-hooks.el Sat Oct 24 03:42:18 2009 +0000 +++ b/lisp/vc-hooks.el Sat Oct 24 03:43:47 2009 +0000 @@ -205,7 +205,7 @@ ;; Tell Emacs about this new kind of minor mode ;; (add-to-list 'minor-mode-alist '(vc-mode vc-mode)) -;; Autoload if this file no longer dumped. +;;;###autoload (put 'vc-mode 'risky-local-variable t) (make-variable-buffer-local 'vc-mode) (put 'vc-mode 'permanent-local t) @@ -1019,7 +1019,7 @@ (defalias 'vc-menu-map vc-menu-map) -(declare-function vc-responsible-backend "vc" (file &optional register)) +(declare-function vc-responsible-backend "vc" (file)) (defun vc-menu-map-filter (orig-binding) (if (and (symbolp orig-binding) (fboundp orig-binding))