[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company cab10c0c3e 1/2: Adjust recently added docs
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company cab10c0c3e 1/2: Adjust recently added docs |
Date: |
Sat, 13 Aug 2022 16:57:23 -0400 (EDT) |
branch: externals/company
commit cab10c0c3e0085435221b4d930743fbd2c948a71
Author: YugaEgo <yet@ego.team>
Commit: YugaEgo <yet@ego.team>
Adjust recently added docs
---
company.el | 10 ++++++----
doc/company.texi | 9 +++++----
2 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/company.el b/company.el
index 45f15a3dcf..354a3f3298 100644
--- a/company.el
+++ b/company.el
@@ -1341,8 +1341,9 @@ can retrieve meta-data for them."
(string-match-p "\\`company-" (symbol-name this-command)))))))
(defvar company-auto-update-doc nil
- "If non-nil, company updates the doc-buffer whenever the selection changes.
-Use `company-show-doc-buffer' to toggle this variable.")
+ "If non-nil, update the documentation buffer on each selection change.
+To toggle the value of this variable, call `company-show-doc-buffer' with a
+prefix argument.")
(defun company-call-frontends (command)
(when (and company-auto-update-doc
@@ -2849,8 +2850,9 @@ from the candidates list.")
(defun company-show-doc-buffer (&optional toggle-auto-update)
"Show the documentation buffer for the selection.
-Show it temporarily unless the variable `company-auto-update-doc' is
-non-nil. The prefix argument TOGGLE-AUTO-UPDATE toggles this variable."
+With a prefix argument TOGGLE-AUTO-UPDATE, toggle the value of
+`company-auto-update-doc'. When `company-auto-update-doc' is non-nil,
+automatically show the documentation buffer for each selection."
(interactive "P")
(when toggle-auto-update
(setq company-auto-update-doc (not company-auto-update-doc)))
diff --git a/doc/company.texi b/doc/company.texi
index b36a415a17..3cf93d6a3a 100644
--- a/doc/company.texi
+++ b/doc/company.texi
@@ -3,7 +3,7 @@
@setfilename company.info
@settitle Company User Manual
@set VERSION 0.9.14snapshot
-@set UPDATED 8 January 2022
+@set UPDATED 12 August 2022
@documentencoding UTF-8
@documentlanguage en
@paragraphindent asis
@@ -353,9 +353,10 @@ Cancel @emph{company-mode} activity (@code{company-abort}).
@cindex doc
@findex company-show-doc-buffer
Display a buffer with the documentation for the selected candidate
-(@w{@code{company-show-doc-buffer}}). With a prefix argument it also
-toggles between temporary showing the documentation and keeping the
-documentation buffer up-to-date whenever the selection changes.
+(@w{@code{company-show-doc-buffer}}). With a prefix argument
+(@kbd{C-u C-h}, @kbd{C-u @key{f}}), this command toggles between
+temporary showing the documentation and keeping the documentation
+buffer up-to-date whenever the selection changes.
@item C-w
@kindex C-w
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/company cab10c0c3e 1/2: Adjust recently added docs,
ELPA Syncer <=