From 6a0b1bd0ade038c5926ea97f966609cba9c852aa Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Mon, 17 Apr 2023 13:19:29 -0700 Subject: [PATCH] Fix typo * eldoc-box.el (eldoc-box-lighter): * README.org (Variable): Mode line. --- README.org | 2 +- eldoc-box.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index 51a9b2f..22d9bc2 100644 --- a/README.org +++ b/README.org @@ -38,7 +38,7 @@ It is also available on [[https://melpa.org/#/eldoc-box][MELPA]]. - =eldoc-box-cleanup-interval= :: After this amount of seconds, eldoc-box will attempt to cleanup the childframe. E.g. if it is set to 1, the childframe is cleared 1 second after you moved the point to somewhere else (that doesn't have a doc to show). This doesn't apply to =eldoc-box-hover-at-point-mode=. In that mode, the childframe is cleared as soon as point moves. - =eldoc-box-fringe-use-same-bg= :: Whether to set fringe’s background color to as same as that of default. Default to t. - =eldoc-box-self-insert-command-list= :: By default =eldoc-box-hover-at-point-mode= only keeps childframe display while you are typing (ie, when =this-command= is =self-insert-command=). But if you bind something else to your keys, eldoc-box can’t recognize it and will hide childframe when you type. Add your command to this list so eldoc-box won’t hide childframe when this command is called. -- =eldoc-box-lighter= :: Lighter displayed on the mode-line. +- =eldoc-box-lighter= :: Lighter displayed on the mode line. ** Use with eglot diff --git a/eldoc-box.el b/eldoc-box.el index 25c42f7..2ca3275 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -85,7 +85,7 @@ "Body face used in documentation childframe.") (defcustom eldoc-box-lighter " ELDOC-BOX" - "Mod-line lighter for all eldoc-box modes. + "Mode line lighter for all eldoc-box modes. If the value is nil, no lighter is displayed." :type '(choice string (const :tag "None" nil)))