branch: elpa/cider
commit 823fff5d6cb97628e2249221ad3cb1637f1b679f
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Autoload cider-enlighten-mode and cider-enlighten-clear
The other two public enlighten commands (cider-enlighten-defun-at-point,
cider-enlighten-stop) already carry autoload cookies; add them to the
mode and the clear command for consistency.
---
lisp/cider-enlighten.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/cider-enlighten.el b/lisp/cider-enlighten.el
index 233111c686..66e269dbad 100644
--- a/lisp/cider-enlighten.el
+++ b/lisp/cider-enlighten.el
@@ -96,6 +96,7 @@ displaying its value. Does nothing while
`cider-enlighten--suppress' is set."
:type 'enlighten
'face 'cider-enlightened-local-face)))))))))
+;;;###autoload
(define-minor-mode cider-enlighten-mode
"Minor mode for displaying locals in debugger-instrumented evaluations."
:lighter (cider-mode " light")
@@ -116,6 +117,7 @@ and off (and re-evaluate everything) just to light up one
definition."
(let ((cider-enlighten-mode t))
(cider-eval-defun-at-point)))
+;;;###autoload
(defun cider-enlighten-clear ()
"Remove all enlighten value overlays from the current buffer."
(interactive)