emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100521: * net/rcirc.el (rcirc-sort-n


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100521: * net/rcirc.el (rcirc-sort-nicknames): Remove.
Date: Thu, 03 Jun 2010 13:22:27 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100521
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Thu 2010-06-03 13:22:27 -0400
message:
  * net/rcirc.el (rcirc-sort-nicknames): Remove.
  (rcirc-handler-366): Always sort nicknames.
modified:
  lisp/ChangeLog
  lisp/net/rcirc.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-06-03 16:59:29 +0000
+++ b/lisp/ChangeLog    2010-06-03 17:22:27 +0000
@@ -1,3 +1,8 @@
+2010-06-03  Chong Yidong  <address@hidden>
+
+       * net/rcirc.el (rcirc-sort-nicknames): Remove.
+       (rcirc-handler-366): Always sort nicknames.
+
 2010-06-03  Juanma Barranquero  <address@hidden>
 
        * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.

=== modified file 'lisp/net/rcirc.el'
--- a/lisp/net/rcirc.el 2010-06-03 15:58:20 +0000
+++ b/lisp/net/rcirc.el 2010-06-03 17:22:27 +0000
@@ -281,12 +281,6 @@
   :type 'hook
   :group 'rcirc)
 
-;; Does this really merit a config variable?
-(defcustom rcirc-sort-nicknames t
-  "If non-nil, sorts nickname listings."
-  :type 'boolean
-  :group 'rcirc)
-
 (defcustom rcirc-always-use-server-buffer-flag nil
   "Non-nil means messages without a channel target will go to the server 
buffer."
   :type 'boolean
@@ -2586,9 +2580,7 @@
     (with-current-buffer buffer
       (rcirc-print process sender "NAMES" channel
                    (let ((content (buffer-substring (point-min) (point-max))))
-                     (if rcirc-sort-nicknames
-                         (rcirc-sort-nicknames-join content " ")
-                       content))))
+                    (rcirc-sort-nicknames-join content " "))))
     (kill-buffer buffer)))
 
 (defun rcirc-handler-433 (process sender args text)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]