diff options
| author | Lars Ingebrigtsen | 2016-02-13 16:58:25 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-13 16:58:25 +1100 |
| commit | 980122794b41b728e6eb7aaa1054e14f746e1b1c (patch) | |
| tree | e932ba7746fd38e299c147998ec3c089536840f4 | |
| parent | 983436de735ac25dccc13262ffdf7ca016842621 (diff) | |
| download | emacs-980122794b41b728e6eb7aaa1054e14f746e1b1c.tar.gz emacs-980122794b41b728e6eb7aaa1054e14f746e1b1c.zip | |
Remove compat code from gnus-group.el
* lisp/gnus/gnus-group.el (gnus-group-name-charset-group-alist)
(gnus-group-make-tool-bar, gnus-group-update-tool-bar): Remove compat code.
| -rw-r--r-- | lisp/gnus/gnus-group.el | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 2a39b88f303..3b481db9f31 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -421,7 +421,7 @@ For example: | |||
| 421 | :type '(repeat (cons (sexp :tag "Method") (symbol :tag "Charset")))) | 421 | :type '(repeat (cons (sexp :tag "Method") (symbol :tag "Charset")))) |
| 422 | 422 | ||
| 423 | (defcustom gnus-group-name-charset-group-alist | 423 | (defcustom gnus-group-name-charset-group-alist |
| 424 | (if (or (and (fboundp 'find-coding-system) (find-coding-system 'utf-8)) | 424 | (if (or (find-coding-system 'utf-8) |
| 425 | (mm-coding-system-p 'utf-8)) | 425 | (mm-coding-system-p 'utf-8)) |
| 426 | '((".*" . utf-8)) | 426 | '((".*" . utf-8)) |
| 427 | nil) | 427 | nil) |
| @@ -1088,9 +1088,7 @@ When FORCE, rebuild the tool bar." | |||
| 1088 | (gmm-image-load-path-for-library "gnus" | 1088 | (gmm-image-load-path-for-library "gnus" |
| 1089 | "gnus/toggle-subscription.xpm" | 1089 | "gnus/toggle-subscription.xpm" |
| 1090 | nil t)) | 1090 | nil t)) |
| 1091 | (image-load-path (cons (car load-path) | 1091 | (image-load-path (cons (car load-path) image-load-path)) |
| 1092 | (when (boundp 'image-load-path) | ||
| 1093 | image-load-path))) | ||
| 1094 | (map (gmm-tool-bar-from-list gnus-group-tool-bar | 1092 | (map (gmm-tool-bar-from-list gnus-group-tool-bar |
| 1095 | gnus-group-tool-bar-zap-list | 1093 | gnus-group-tool-bar-zap-list |
| 1096 | 'gnus-group-mode-map))) | 1094 | 'gnus-group-mode-map))) |
| @@ -1488,12 +1486,10 @@ if it is a string, only list groups matching REGEXP." | |||
| 1488 | ;; Date: Mon, 23 Jan 2006 19:59:13 +0100 | 1486 | ;; Date: Mon, 23 Jan 2006 19:59:13 +0100 |
| 1489 | ;; Message-ID: <v9acdmrcse.fsf@marauder.physik.uni-ulm.de> | 1487 | ;; Message-ID: <v9acdmrcse.fsf@marauder.physik.uni-ulm.de> |
| 1490 | 1488 | ||
| 1491 | (defcustom gnus-group-update-tool-bar | 1489 | ;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might |
| 1492 | (and (boundp 'tool-bar-mode) | 1490 | ;; be confusing, so maybe we shouldn't call it by default. |
| 1493 | tool-bar-mode | 1491 | (defcustom gnus-group-update-tool-bar (and (boundp 'tool-bar-mode) |
| 1494 | ;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might | 1492 | tool-bar-mode) |
| 1495 | ;; be confusing, so maybe we shouldn't call it by default. | ||
| 1496 | (fboundp 'force-window-update)) | ||
| 1497 | "Force updating the group buffer tool bar." | 1493 | "Force updating the group buffer tool bar." |
| 1498 | :group 'gnus-group | 1494 | :group 'gnus-group |
| 1499 | :version "22.1" | 1495 | :version "22.1" |