Update eldoc-box-max-pixel-height and README doc

- height max 1400 -> 700
- add doc in readme about them
This commit is contained in:
Yuan Fu 2018-12-12 21:58:54 -05:00
parent 614c318fdb
commit 310e08a0d5
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901
2 changed files with 7 additions and 3 deletions

View File

@ -14,6 +14,7 @@ Get the file, add to load path, and
- =eldoc-box-border= :: Adjust =:background= of this face for border color.
- =eldoc-box-body= :: Adjust =:background= of this face for background color of childframe.
** Variable
- =eldoc-box-max-pixel-width= & =eldoc-box-max-pixel-height= :: Set them according to the screen resolution of your machine.
- =eldoc-box-only-multi-line= :: Set this to non-nil and eldoc-box only display multi-line message in childframe. One line messages are left in minibuffer.
** Use with eglot

View File

@ -84,9 +84,12 @@
"Frame parameters used to create the frame.")
(defvar eldoc-box-max-pixel-width 800
"Maximum width of doc childframw in pixel.")
(defvar eldoc-box-max-pixel-height 1400
"Maximum height of doc childframw in pixel.")
"Maximum width of doc childframw in pixel.
Consider your machine's screen's resolution when setting this variable.")
(defvar eldoc-box-max-pixel-height 700
"Maximum height of doc childframw in pixel.
Consider your machine's screen's resolution when setting this variable.")
;;;;; Function