diff options
| author | Glenn Morris | 2017-12-20 21:15:43 -0500 |
|---|---|---|
| committer | Glenn Morris | 2017-12-20 21:15:43 -0500 |
| commit | b1cf262a79463f28164ea1c2ffee3c657ce02ea4 (patch) | |
| tree | 4a428c5e0c026c1bb30e5972e78b145335b4b747 /lisp/erc | |
| parent | a415a97461cb10d2c6710871f90f57bd1ca34ec2 (diff) | |
| parent | b3f4a3a5aee93fa2f7ad2597383befbf7b242209 (diff) | |
| download | emacs-b1cf262a79463f28164ea1c2ffee3c657ce02ea4.tar.gz emacs-b1cf262a79463f28164ea1c2ffee3c657ce02ea4.zip | |
Merge from origin/emacs-26
b3f4a3a (origin/emacs-26) Special-case %DUMBFW for GnuTLS between 3.2...
c2ae057 Work around GnuTLS version issues with %DUMBFW (tiny change)
2f9d9ef ; Remove the mention of "plain C code" in the docstring as well
aca827b Merge branch 'widen-less' into emacs-26
87548f5 ; Rephrase NEWS entry a bit
da0d773 (emacs-26) ; * lisp/erc/erc.el: Update URL.
3a60515 * lisp/erc/erc.el (erc-shorten-server-name): Silence compiler...
471b6c1 ; Replace non-ascii quote characters in doc strings etc
7af7f5e Fix some more aliases to user options
79fb4b5 Fix some flymake aliases
b9fbc03 (origin/widen-less) Widen in indent-for-tab-command in the no...
446faf3 Replace the mention of c-indent-defun with js-indent-line
7e9eef0 Consolidate 'widen' calls
# Conflicts:
# etc/NEWS
# lisp/progmodes/flymake-proc.el
Diffstat (limited to 'lisp/erc')
| -rw-r--r-- | lisp/erc/erc.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index bda8dc1e714..493d69b8e08 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | ;; For more information, see the following URLs: | 37 | ;; For more information, see the following URLs: |
| 38 | ;; * https://sv.gnu.org/projects/erc/ | 38 | ;; * https://sv.gnu.org/projects/erc/ |
| 39 | ;; * http://www.emacswiki.org/cgi-bin/wiki/ERC | 39 | ;; * https://www.emacswiki.org/emacs/ERC |
| 40 | 40 | ||
| 41 | 41 | ||
| 42 | 42 | ||
| @@ -77,12 +77,12 @@ | |||
| 77 | (require 'erc-compat) | 77 | (require 'erc-compat) |
| 78 | 78 | ||
| 79 | (defvar erc-official-location | 79 | (defvar erc-official-location |
| 80 | "https://emacswiki.org/cgi-bin/wiki/ERC (mailing list: erc-discuss@gnu.org)" | 80 | "https://www.emacswiki.org/emacs/ERC (mailing list: erc-discuss@gnu.org)" |
| 81 | "Location of the ERC client on the Internet.") | 81 | "Location of the ERC client on the Internet.") |
| 82 | 82 | ||
| 83 | (defgroup erc nil | 83 | (defgroup erc nil |
| 84 | "Emacs Internet Relay Chat client." | 84 | "Emacs Internet Relay Chat client." |
| 85 | :link '(url-link "http://www.emacswiki.org/cgi-bin/wiki/ERC") | 85 | :link '(url-link "https://www.emacswiki.org/emacs/ERC") |
| 86 | :link '(custom-manual "(erc) Top") | 86 | :link '(custom-manual "(erc) Top") |
| 87 | :prefix "erc-" | 87 | :prefix "erc-" |
| 88 | :group 'applications) | 88 | :group 'applications) |
| @@ -124,8 +124,6 @@ | |||
| 124 | "Running scripts at startup and with /LOAD" | 124 | "Running scripts at startup and with /LOAD" |
| 125 | :group 'erc) | 125 | :group 'erc) |
| 126 | 126 | ||
| 127 | (require 'erc-backend) | ||
| 128 | |||
| 129 | ;; compatibility with older ERC releases | 127 | ;; compatibility with older ERC releases |
| 130 | 128 | ||
| 131 | (define-obsolete-variable-alias 'erc-announced-server-name | 129 | (define-obsolete-variable-alias 'erc-announced-server-name |
| @@ -137,6 +135,8 @@ | |||
| 137 | (define-obsolete-function-alias 'erc-send-command | 135 | (define-obsolete-function-alias 'erc-send-command |
| 138 | 'erc-server-send "ERC 5.1") | 136 | 'erc-server-send "ERC 5.1") |
| 139 | 137 | ||
| 138 | (require 'erc-backend) | ||
| 139 | |||
| 140 | ;; tunable connection and authentication parameters | 140 | ;; tunable connection and authentication parameters |
| 141 | 141 | ||
| 142 | (defcustom erc-server nil | 142 | (defcustom erc-server nil |
| @@ -6260,11 +6260,11 @@ This should be a string with substitution variables recognized by | |||
| 6260 | :group 'erc-mode-line-and-header | 6260 | :group 'erc-mode-line-and-header |
| 6261 | :type 'string) | 6261 | :type 'string) |
| 6262 | 6262 | ||
| 6263 | (defun erc-shorten-server-name (server-name) | 6263 | (defun erc-shorten-server-name (server) |
| 6264 | "Shorten SERVER-NAME according to `erc-common-server-suffixes'." | 6264 | "Shorten SERVER name according to `erc-common-server-suffixes'." |
| 6265 | (if (stringp server-name) | 6265 | (if (stringp server) |
| 6266 | (with-temp-buffer | 6266 | (with-temp-buffer |
| 6267 | (insert server-name) | 6267 | (insert server) |
| 6268 | (let ((alist erc-common-server-suffixes)) | 6268 | (let ((alist erc-common-server-suffixes)) |
| 6269 | (while alist | 6269 | (while alist |
| 6270 | (goto-char (point-min)) | 6270 | (goto-char (point-min)) |