diff options
| author | Chong Yidong | 2012-09-20 12:29:04 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-20 12:29:04 +0800 |
| commit | 9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215 (patch) | |
| tree | 27e0d3551f4b00655e9032784d23855f8ec077fb | |
| parent | e6f0a80dd2bf0ee1101d6e6be2afc93966950cd0 (diff) | |
| download | emacs-9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215.tar.gz emacs-9f7c28f0f65e4658da01c63a35fb8fc4b6b9a215.zip | |
* vc/diff.el (diff-latest-backup-file): Autoload.
| -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 c7a15e11f92..99d50511b88 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-09-20 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * vc/diff.el (diff-latest-backup-file): Autoload. | ||
| 4 | |||
| 1 | 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * calc/calc.el: Remove redundant autoload shape check. | 7 | * 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." | |||
| 197 | ori file)) | 197 | ori file)) |
| 198 | (diff bak ori switches))) | 198 | (diff bak ori switches))) |
| 199 | 199 | ||
| 200 | (defun diff-latest-backup-file (fn) ; actually belongs into files.el | 200 | ;;;###autoload |
| 201 | (defun diff-latest-backup-file (fn) | ||
| 201 | "Return the latest existing backup of FILE, or nil." | 202 | "Return the latest existing backup of FILE, or nil." |
| 202 | (let ((handler (find-file-name-handler fn 'diff-latest-backup-file))) | 203 | (let ((handler (find-file-name-handler fn 'diff-latest-backup-file))) |
| 203 | (if handler | 204 | (if handler |