From aec39b6bd406eb3e3b569a14b81a809f9dd0075d Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Fri, 14 Dec 2018 18:03:51 -0500 Subject: [PATCH] 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. --- README.org | 1 - eldoc-box.el | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/README.org b/README.org index 83e249f..c480a94 100644 --- a/README.org +++ b/README.org @@ -8,7 +8,6 @@ Get the file, add to load path, and * Usage ** 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. ** Face - =eldoc-box-border= :: Adjust =:background= of this face for border color. diff --git a/eldoc-box.el b/eldoc-box.el index 8638541..6b2a4d1 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -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.") ;;;;; 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 "The frame to display doc.")