summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-group.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-02-13 16:58:25 +1100
committerLars Ingebrigtsen <larsi@gnus.org>2016-02-13 16:58:25 +1100
commit980122794b41b728e6eb7aaa1054e14f746e1b1c (patch)
treee932ba7746fd38e299c147998ec3c089536840f4 /lisp/gnus/gnus-group.el
parent983436de735ac25dccc13262ffdf7ca016842621 (diff)
downloademacs-980122794b41b728e6eb7aaa1054e14f746e1b1c.tar.gz
emacs-980122794b41b728e6eb7aaa1054e14f746e1b1c.tar.bz2
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.
Diffstat (limited to 'lisp/gnus/gnus-group.el')
-rw-r--r--lisp/gnus/gnus-group.el16
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:
:type '(repeat (cons (sexp :tag "Method") (symbol :tag "Charset"))))
(defcustom gnus-group-name-charset-group-alist
- (if (or (and (fboundp 'find-coding-system) (find-coding-system 'utf-8))
+ (if (or (find-coding-system 'utf-8)
(mm-coding-system-p 'utf-8))
'((".*" . utf-8))
nil)
@@ -1088,9 +1088,7 @@ When FORCE, rebuild the tool bar."
(gmm-image-load-path-for-library "gnus"
"gnus/toggle-subscription.xpm"
nil t))
- (image-load-path (cons (car load-path)
- (when (boundp 'image-load-path)
- image-load-path)))
+ (image-load-path (cons (car load-path) image-load-path))
(map (gmm-tool-bar-from-list gnus-group-tool-bar
gnus-group-tool-bar-zap-list
'gnus-group-mode-map)))
@@ -1488,12 +1486,10 @@ if it is a string, only list groups matching REGEXP."
;; Date: Mon, 23 Jan 2006 19:59:13 +0100
;; Message-ID: <v9acdmrcse.fsf@marauder.physik.uni-ulm.de>
-(defcustom gnus-group-update-tool-bar
- (and (boundp 'tool-bar-mode)
- tool-bar-mode
- ;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might
- ;; be confusing, so maybe we shouldn't call it by default.
- (fboundp 'force-window-update))
+;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might
+;; be confusing, so maybe we shouldn't call it by default.
+(defcustom gnus-group-update-tool-bar (and (boundp 'tool-bar-mode)
+ tool-bar-mode)
"Force updating the group buffer tool bar."
:group 'gnus-group
:version "22.1"