gnus-group: remove old code
authorJulien Danjou <julien@danjou.info>
Fri, 29 Oct 2010 10:33:09 +0000 (12:33 +0200)
committerJulien Danjou <julien@danjou.info>
Fri, 29 Oct 2010 10:33:09 +0000 (12:33 +0200)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/gnus-group.el
lisp/gnus.el

index cca2a4b..79bab66 100644 (file)
@@ -2,6 +2,8 @@
 
        * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic
        capability before doing anything.
+       (gnus-group-insert-group-line): Remove useless
+       gnus-group-remove-excess-properties.
 
 2010-10-29  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 4011115..a777beb 100644 (file)
@@ -1606,9 +1606,7 @@ if it is a string, only list groups matching REGEXP."
     (when (inline (gnus-visual-p 'group-highlight 'highlight))
       (gnus-group-highlight-line gnus-tmp-group beg end))
     (gnus-run-hooks 'gnus-group-update-hook)
-    (forward-line)
-    ;; Allow XEmacs to remove front-sticky text properties.
-    (gnus-group-remove-excess-properties)))
+    (forward-line)))
 
 (defun gnus-group-update-eval-form (group list)
   "Eval `car' of each element of LIST, and return the first that return t.
index 5e30976..98df778 100644 (file)
@@ -307,9 +307,6 @@ be set in `.emacs' instead."
   :group 'gnus-start
   :type 'boolean)
 
-(unless (fboundp 'gnus-group-remove-excess-properties)
-  (defalias 'gnus-group-remove-excess-properties 'ignore))
-
 (unless (featurep 'gnus-xmas)
   (defalias 'gnus-make-overlay 'make-overlay)
   (defalias 'gnus-delete-overlay 'delete-overlay)