diff options
| author | David Aspinall | 2009-08-28 17:12:14 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-08-28 17:12:14 +0000 |
| commit | f9edafd5b576460b92ff4dd493f7aec34a769c86 (patch) | |
| tree | 48bd1b8d690508d9f1fa869803389412205519bf /lib/bufhist.el | |
| parent | d6708ddf3b79fa777df4356fcc8ca9e476aded34 (diff) | |
Update autoloads
Diffstat (limited to 'lib/bufhist.el')
| -rw-r--r-- | lib/bufhist.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/bufhist.el b/lib/bufhist.el index c6e70c9d..8864c425 100644 --- a/lib/bufhist.el +++ b/lib/bufhist.el @@ -27,6 +27,8 @@ ;; advice on erase-buffer doesn't work ;; duplicated first item in ring after clear (& on startup). +(require 'ring) + ;;; First a function which ought to be in ring.el (defun bufhist-ring-update (ring index newitem) @@ -303,10 +305,6 @@ The size defaults to `bufhist-ring-size'." ;;; Minor mode -;;;###autoload -(autoload 'bufhist-mode "bufhist" - "Minor mode retaining an in-memory history of the buffer contents.") - (defconst bufhist-minor-mode-map (let ((map (make-sparse-keymap))) ;; (define-key map [mouse-2] 'bufhist-popup-menu) @@ -319,6 +317,7 @@ The size defaults to `bufhist-ring-size'." map) "Keymap for `bufhist-minor-mode'.") +;;;###autoload (define-minor-mode bufhist-mode "Minor mode retaining an in-memory history of the buffer contents. |
