branch: elpa/guru-mode commit 62058a83f2bcd0dfdaa938bc59aa6c3277987271 Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
added missing autoload --- README.md | 4 ++-- guru-mode.el | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 822c7e2..9bc2287 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can enable projectile globally like this: ``` (require 'guru-mode) -(guru-mode) ;; to enable in all buffers +(guru-mode +1) ;; to enable in all buffers ``` ## Marmalade @@ -34,4 +34,4 @@ you can install guru-mode from the [MELPA](http://melpa.milkbox.net/) repository guru-mode is naturally part of the [Emacs Prelude](https://github.com/bbatsov/prelude). If you're a Prelude user - guru-mode is already properly configured and ready for -action. \ No newline at end of file +action. diff --git a/guru-mode.el b/guru-mode.el index 7241d1b..43048c2 100644 --- a/guru-mode.el +++ b/guru-mode.el @@ -69,6 +69,7 @@ (define-key guru-mode-map (read-kbd-macro (first cell)) (guru-rebind (first cell) (rest cell)))) +;;;###autoload (define-minor-mode guru-mode "A minor mode that teaches to help you use Emacs the way it was intended to be used." t " guru"