summaryrefslogtreecommitdiff
path: root/lisp/vc/diff.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-20 12:29:04 +0800
committerChong Yidong <cyd@gnu.org>2012-09-20 12:29:04 +0800
commit9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215 (patch)
tree27e0d3551f4b00655e9032784d23855f8ec077fb /lisp/vc/diff.el
parente6f0a80dd2bf0ee1101d6e6be2afc93966950cd0 (diff)
downloademacs-9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215.tar.gz
* vc/diff.el (diff-latest-backup-file): Autoload.
Diffstat (limited to 'lisp/vc/diff.el')
-rw-r--r--lisp/vc/diff.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index b70b6cd919c..b1c334ddcfc 100644
--- a/lisp/vc/diff.el
+++ b/lisp/vc/diff.el
@@ -197,7 +197,8 @@ With prefix arg, prompt for diff switches."
ori file))
(diff bak ori switches)))
-(defun diff-latest-backup-file (fn) ; actually belongs into files.el
+;;;###autoload
+(defun diff-latest-backup-file (fn)
"Return the latest existing backup of FILE, or nil."
(let ((handler (find-file-name-handler fn 'diff-latest-backup-file)))
(if handler