diff options
author | Chong Yidong <[email protected]> | 2012-09-20 12:29:04 +0800 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2012-09-20 12:29:04 +0800 |
commit | 9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215 (patch) | |
tree | 27e0d3551f4b00655e9032784d23855f8ec077fb /lisp | |
parent | e6f0a80dd2bf0ee1101d6e6be2afc93966950cd0 (diff) |
* vc/diff.el (diff-latest-backup-file): Autoload.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/vc/diff.el | 3 |
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 |