From 9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 20 Sep 2012 12:29:04 +0800 Subject: [PATCH] * vc/diff.el (diff-latest-backup-file): Autoload. --- lisp/ChangeLog | 4 ++++ lisp/vc/diff.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7a15e11f92..99d50511b88 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-09-20 Chong Yidong + + * vc/diff.el (diff-latest-backup-file): Autoload. + 2012-09-20 Stefan Monnier * calc/calc.el: Remove redundant autoload shape check. 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 -- 2.39.2