Remove eldoc-box-help-at-point

This function doesn't play well when eldoc-document-function is async.
Plus this function is not in ElDoc spec anyway.
This commit is contained in:
Yuan Fu 2018-12-14 18:03:51 -05:00
parent 0a3b4a8c0e
commit aec39b6bd4
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901
2 changed files with 0 additions and 12 deletions

View File

@ -8,7 +8,6 @@ Get the file, add to load path, and
* Usage * Usage
** Function ** Function
- =eldoc-box-help-at-point= :: Show the documentation of the symbol at point.
- =eldoc-box-hover-mode= :: Show documentation upon hover. Note that you need to enable ElDoc mode for this to work. - =eldoc-box-hover-mode= :: Show documentation upon hover. Note that you need to enable ElDoc mode for this to work.
** Face ** Face
- =eldoc-box-border= :: Adjust =:background= of this face for border color. - =eldoc-box-border= :: Adjust =:background= of this face for border color.

View File

@ -92,17 +92,6 @@ Consider your machine's screen's resolution when setting this variable.")
Consider your machine's screen's resolution when setting this variable.") Consider your machine's screen's resolution when setting this variable.")
;;;;; Function ;;;;; Function
(defun eldoc-box-help-at-point ()
"Display hover info at point in a childframe."
(interactive)
(let ((doc (funcall eldoc-documentation-function)))
(if doc
(progn
(eldoc-box--display doc)
(eldoc-box--inject-quit-func))
(message "No documentation available"))))
(defvar eldoc-box--frame nil ;; A backstage variable (defvar eldoc-box--frame nil ;; A backstage variable
"The frame to display doc.") "The frame to display doc.")