Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Support eldoc-mode
Use eldoc-add-command to register outshine-self-insert-command.

Closes #3.  Thanks to John Ankarström (@jocap).
  • Loading branch information
jocap authored and alphapapa committed Jul 21, 2017
1 parent 399ccd2 commit 0fdd0cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions outshine.el
Expand Up @@ -2357,6 +2357,10 @@ overwritten, and the table is not marked as requiring realignment."
;; trigger company idle completion like namesake command
(put 'outshine-self-insert-command 'company-begin t)

;; trigger eldoc (elisp help in echo area), like `self-insert-command'
(with-eval-after-load 'eldoc
(eldoc-add-command 'outshine-self-insert-command))

;;;;; Other Commands

(defun outshine-eval-lisp-subtree ()
Expand Down

0 comments on commit 0fdd0cd

Please sign in to comment.