mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Redo doc strings for ERC's entry point commands
* lisp/erc/erc.el: Bump Compat version in Package-Requires header to 29.1.4.4. (erc-select-read-args): Revise doc string, and update name of internal `--interactive-env--' entry-point parameter. (erc, erc-tls): Don't use `&interactive-env' as a variable name, in case it confuses persons or programs. Overhaul doc string in response to user complaints. For `erc' specifically, include literal `:keyword' symbols to help non-Emacs users understand the required syntax, which isn't obvious without an example, like `erc-tls' has, and with only "&key" and upcased metasynctatic variables to go by. (erc--current-buffer-joined-p): Remove assertion. * test/lisp/erc/erc-scenarios-keep-place-indicator.el (erc-scenarios-keep-place-indicator--follow): Try waiting for intermittently failing condition. * test/lisp/erc/erc-tests.el (erc-select-read-args): Update name of internal keyword variable.
This commit is contained in:
parent
13c7933a9d
commit
dd2caf1a76
3 changed files with 53 additions and 66 deletions
|
|
@ -85,8 +85,8 @@
|
|||
(goto-char (window-point))
|
||||
(should (looking-back (rx "<bob> tester, welcome!")))
|
||||
(should (= (pos-bol) (window-start)))
|
||||
(should (= (overlay-start erc--keep-place-indicator-overlay)
|
||||
(pos-bol))))
|
||||
(erc-d-t-wait-for 20
|
||||
(= (overlay-start erc--keep-place-indicator-overlay) (pos-bol))))
|
||||
;; Lower window is still centered at start.
|
||||
(other-window 1)
|
||||
(switch-to-buffer "#chan")
|
||||
|
|
|
|||
|
|
@ -2707,7 +2707,7 @@
|
|||
(list :server "irc.libera.chat"
|
||||
:port 6697
|
||||
:nick (user-login-name)
|
||||
'&interactive-env
|
||||
'--interactive-env--
|
||||
'((erc-server-connect-function . erc-open-tls-stream)
|
||||
(erc-join-buffer . window))))))
|
||||
|
||||
|
|
@ -2717,7 +2717,7 @@
|
|||
(list :server "irc.gnu.org"
|
||||
:port 6697
|
||||
:nick (user-login-name)
|
||||
'&interactive-env
|
||||
'--interactive-env--
|
||||
'((erc-server-connect-function . erc-open-tls-stream)
|
||||
(erc-join-buffer . window))))))
|
||||
|
||||
|
|
@ -2728,7 +2728,7 @@
|
|||
(list :server "irc.gnu.org"
|
||||
:port 6697
|
||||
:nick (user-login-name)
|
||||
'&interactive-env
|
||||
'--interactive-env--
|
||||
'((erc-server-connect-function
|
||||
. erc-open-tls-stream)
|
||||
(erc--display-context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue