Skip to content

Commit

Permalink
Adds autoloads for tablist
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Politz committed Nov 11, 2015
1 parent e2f2eb6 commit 8767514
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisp/tablist.el
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,14 @@ as argument for the function `completion-in-region'.")
(lambda nil
(add-to-list 'savehist-additional-variables 'tablist-named-filter)))

;;;###autoload
(define-minor-mode tablist-minor-mode
nil nil nil nil
(unless (derived-mode-p 'tabulated-list-mode)
(error "Buffer is not in Tabulated List Mode"))
(tablist-init (not tablist-minor-mode)))

;;;###autoload
(define-derived-mode tablist-mode tabulated-list-mode "TL"
(tablist-init))

Expand Down

0 comments on commit 8767514

Please sign in to comment.