diff options
| author | Miles Bader | 2006-03-13 10:01:06 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-03-13 10:01:06 +0000 |
| commit | 54aba1eec01354f04ed58eb66f35a55db72f572b (patch) | |
| tree | 8bab10f826fef0213f401e5a7a6ccc76c4908efe | |
| parent | a32703cbe0886570b771095abdeb51d81fa10332 (diff) | |
| download | emacs-54aba1eec01354f04ed58eb66f35a55db72f572b.tar.gz emacs-54aba1eec01354f04ed58eb66f35a55db72f572b.zip | |
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-155
Remove nick-abbrevs stuff from rcirc.el
2006-03-13 Miles Bader <miles@gnu.org>
* lisp/net/rcirc.el (rcirc-nick-abbrevs): Variable removed.
(rcirc-abbrev-nick): Function removed.
(rcirc-format-response-string): Don't call `rcirc-abbrev-nick'.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 13 |
2 files changed, 7 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 36f797ddd6c..55a2b90e085 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2006-03-13 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * net/rcirc.el (rcirc-nick-abbrevs): Variable removed. | ||
| 4 | (rcirc-abbrev-nick): Function removed. | ||
| 5 | (rcirc-format-response-string): Don't call `rcirc-abbrev-nick'. | ||
| 6 | |||
| 1 | 2006-03-13 David Ponce <david@dponce.com> | 7 | 2006-03-13 David Ponce <david@dponce.com> |
| 2 | 8 | ||
| 3 | * tree-widget.el: Handle themes across all occurrences of the main | 9 | * tree-widget.el: Handle themes across all occurrences of the main |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index f5cf1ecb7e0..9d4f91fe17a 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -195,12 +195,6 @@ Use /ignore to list them, use /ignore NICK to add or remove a nick." | |||
| 195 | :type '(repeat string) | 195 | :type '(repeat string) |
| 196 | :group 'rcirc) | 196 | :group 'rcirc) |
| 197 | 197 | ||
| 198 | (defcustom rcirc-nick-abbrevs nil | ||
| 199 | "List of short replacements for printing nicks." | ||
| 200 | :type '(alist :key-type (string :tag "Nick") | ||
| 201 | :value-type (string :tag "Abbrev")) | ||
| 202 | :group 'rcirc) | ||
| 203 | |||
| 204 | (defvar rcirc-ignore-list-automatic () | 198 | (defvar rcirc-ignore-list-automatic () |
| 205 | "List of ignored nicks added to `rcirc-ignore-list' because of renaming. | 199 | "List of ignored nicks added to `rcirc-ignore-list' because of renaming. |
| 206 | When an ignored person renames, their nick is added to both lists. | 200 | When an ignored person renames, their nick is added to both lists. |
| @@ -493,11 +487,6 @@ Function is called with PROCESS, COMMAND, SENDER, ARGS and LINE.") | |||
| 493 | (with-rcirc-process-buffer process | 487 | (with-rcirc-process-buffer process |
| 494 | rcirc-nick)) | 488 | rcirc-nick)) |
| 495 | 489 | ||
| 496 | (defun rcirc-abbrev-nick (nick) | ||
| 497 | "If NICK has an entry in `rcirc-nick-abbrevs', return its abbreviation, | ||
| 498 | otherwise return NICK." | ||
| 499 | (or (cdr (assoc nick rcirc-nick-abbrevs)) nick)) | ||
| 500 | |||
| 501 | (defvar rcirc-max-message-length 450 | 490 | (defvar rcirc-max-message-length 450 |
| 502 | "Messages longer than this value will be split.") | 491 | "Messages longer than this value will be split.") |
| 503 | 492 | ||
| @@ -975,7 +964,7 @@ is found by looking up RESPONSE in `rcirc-response-formats'." | |||
| 975 | process rcirc-server) | 964 | process rcirc-server) |
| 976 | sender) | 965 | sender) |
| 977 | "" | 966 | "" |
| 978 | (rcirc-abbrev-nick sender)) | 967 | sender) |
| 979 | (and target (concat "," target))))) | 968 | (and target (concat "," target))))) |
| 980 | (rcirc-facify nick | 969 | (rcirc-facify nick |
| 981 | (if (eq key ?n) | 970 | (if (eq key ?n) |