branch: elpa/eldoc-mouse
commit f1a0a3f19cbfc28344bf217c0b6310fad9d6f2c6
Author: Mark A. Hershberger <[email protected]>
Commit: huangfeiyu <[email protected]>
Introduce customizable eldoc-mouse-posframe-border-width
Helps my eye differentiate from the posframe and the parent frame.
Fixes #18
---
eldoc-mouse.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index 7349db3861e..721dd3fc24a 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -76,6 +76,11 @@ no limit, the popup may affect writing."
:type 'number
:group 'eldoc-mouse)
+(defcustom eldoc-mouse-posframe-border-width 5
+ "The width of the posframe border."
+ :type 'number
+ :group 'eldoc-mouse)
+
(defcustom eldoc-mouse-posframe-buffer-name "*doc-posframe-buffer*"
"The name of the hidden buffer used by posframe."
:type 'string
@@ -349,7 +354,7 @@ Argument CB is the callback function."
:max-width eldoc-mouse-posframe-max-width
:min-height eldoc-mouse-posframe-min-height
:max-height eldoc-mouse-posframe-max-height
- :border-width 1
+ :border-width eldoc-mouse-posframe-border-width
:border-color border-color
:string doc)
(advice-add 'keyboard-quit :before #'eldoc-mouse--hide-posframe)