diff options
| author | Julien Danjou | 2010-10-29 11:24:23 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-10-29 11:24:23 +0000 |
| commit | 8674173394ab9450429e7af6fc29a7e86cd9e2bc (patch) | |
| tree | 7a5cb81279d45caf46fc5ea849d4aaf2b4adbc65 | |
| parent | aeeb3dcb656d2df4421f3c0a8b6416a5c1ea94a7 (diff) | |
| download | emacs-8674173394ab9450429e7af6fc29a7e86cd9e2bc.tar.gz emacs-8674173394ab9450429e7af6fc29a7e86cd9e2bc.zip | |
gnus-group.el (gnus-group-make-tool-bar): Check for display graphic capability before doing anything.
gnus-group.el (gnus-group-insert-group-line): Remove useless gnus-group-remove-excess-properties.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 3 |
3 files changed, 9 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c368d84cccf..84dc4258347 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2010-10-29 Julien Danjou <julien@danjou.info> | ||
| 2 | |||
| 3 | * gnus-group.el (gnus-group-make-tool-bar): Check for display graphic | ||
| 4 | capability before doing anything. | ||
| 5 | (gnus-group-insert-group-line): Remove useless | ||
| 6 | gnus-group-remove-excess-properties. | ||
| 7 | |||
| 1 | 2010-10-29 Katsumi Yamaoka <yamaoka@jpl.org> | 8 | 2010-10-29 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 9 | ||
| 3 | * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L. | 10 | * gnus-art.el (gnus-article-goto-part): Work for article narrowed by ^L. |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 3f3cd24963f..a777beb7485 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -1090,8 +1090,7 @@ When FORCE, rebuild the tool bar." | |||
| 1090 | (when (and (not (featurep 'xemacs)) | 1090 | (when (and (not (featurep 'xemacs)) |
| 1091 | (boundp 'tool-bar-mode) | 1091 | (boundp 'tool-bar-mode) |
| 1092 | tool-bar-mode | 1092 | tool-bar-mode |
| 1093 | ;; The Gnus 5.10.6 code checked (default-value 'tool-bar-mode). | 1093 | (display-graphic-p) |
| 1094 | ;; Why? --rsteib | ||
| 1095 | (or (not gnus-group-tool-bar-map) force)) | 1094 | (or (not gnus-group-tool-bar-map) force)) |
| 1096 | (let* ((load-path | 1095 | (let* ((load-path |
| 1097 | (gmm-image-load-path-for-library "gnus" | 1096 | (gmm-image-load-path-for-library "gnus" |
| @@ -1607,9 +1606,7 @@ if it is a string, only list groups matching REGEXP." | |||
| 1607 | (when (inline (gnus-visual-p 'group-highlight 'highlight)) | 1606 | (when (inline (gnus-visual-p 'group-highlight 'highlight)) |
| 1608 | (gnus-group-highlight-line gnus-tmp-group beg end)) | 1607 | (gnus-group-highlight-line gnus-tmp-group beg end)) |
| 1609 | (gnus-run-hooks 'gnus-group-update-hook) | 1608 | (gnus-run-hooks 'gnus-group-update-hook) |
| 1610 | (forward-line) | 1609 | (forward-line))) |
| 1611 | ;; Allow XEmacs to remove front-sticky text properties. | ||
| 1612 | (gnus-group-remove-excess-properties))) | ||
| 1613 | 1610 | ||
| 1614 | (defun gnus-group-update-eval-form (group list) | 1611 | (defun gnus-group-update-eval-form (group list) |
| 1615 | "Eval `car' of each element of LIST, and return the first that return t. | 1612 | "Eval `car' of each element of LIST, and return the first that return t. |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index bd78c6aef35..965f789587e 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -308,9 +308,6 @@ be set in `.emacs' instead." | |||
| 308 | :group 'gnus-start | 308 | :group 'gnus-start |
| 309 | :type 'boolean) | 309 | :type 'boolean) |
| 310 | 310 | ||
| 311 | (unless (fboundp 'gnus-group-remove-excess-properties) | ||
| 312 | (defalias 'gnus-group-remove-excess-properties 'ignore)) | ||
| 313 | |||
| 314 | (unless (featurep 'gnus-xmas) | 311 | (unless (featurep 'gnus-xmas) |
| 315 | (defalias 'gnus-make-overlay 'make-overlay) | 312 | (defalias 'gnus-make-overlay 'make-overlay) |
| 316 | (defalias 'gnus-delete-overlay 'delete-overlay) | 313 | (defalias 'gnus-delete-overlay 'delete-overlay) |