From: Lars Ingebrigtsen Date: Sat, 13 Feb 2016 05:42:40 +0000 (+1100) Subject: Remove compat code from gnus-agent.el X-Git-Tag: emacs-26.0.90~2590 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c87f4a54742d86b34969b77756385d3c9abf8b2f;p=emacs.git Remove compat code from gnus-agent.el * lisp/gnus/gnus-agent.el (gnus-agent-make-mode-line-string): Remove compat code. --- diff --git a/lisp/gnus/gnus-agent.el b/lisp/gnus/gnus-agent.el index 11f93a29a1f..b35847bae6b 100644 --- a/lisp/gnus/gnus-agent.el +++ b/lisp/gnus/gnus-agent.el @@ -547,12 +547,9 @@ manipulated as follows: ["Remove" gnus-agent-remove-server t])))) (defun gnus-agent-make-mode-line-string (string mouse-button mouse-func) - (if (and (fboundp 'propertize) - (fboundp 'make-mode-line-mouse-map)) - (propertize string 'local-map - (make-mode-line-mouse-map mouse-button mouse-func) - 'mouse-face 'mode-line-highlight) - string)) + (propertize string 'local-map + (make-mode-line-mouse-map mouse-button mouse-func) + 'mouse-face 'mode-line-highlight)) (defun gnus-agent-toggle-plugged (set-to) "Toggle whether Gnus is unplugged or not."