aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2012-09-20 12:29:04 +0800
committerChong Yidong <[email protected]>2012-09-20 12:29:04 +0800
commit9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215 (patch)
tree27e0d3551f4b00655e9032784d23855f8ec077fb /lisp
parente6f0a80dd2bf0ee1101d6e6be2afc93966950cd0 (diff)
* vc/diff.el (diff-latest-backup-file): Autoload.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/vc/diff.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c7a15e11f9..99d50511b8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-20 Chong Yidong <[email protected]>
+
+ * vc/diff.el (diff-latest-backup-file): Autoload.
+
2012-09-20 Stefan Monnier <[email protected]>
* calc/calc.el: Remove redundant autoload shape check.
diff --git a/lisp/vc/diff.el b/lisp/vc/diff.el
index b70b6cd919..b1c334ddcf 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