diff options
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)) |