[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f322abc 08/12: Remove compat code from smiley
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master f322abc 08/12: Remove compat code from smiley |
Date: |
Sun, 14 Feb 2016 04:18:21 +0000 |
branch: master
commit f322abc9452aded2ed462dc0d02e4bf41416e2d2
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Remove compat code from smiley
* lisp/gnus/smiley.el (smiley-style): Remove compat code.
---
lisp/gnus/smiley.el | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/lisp/gnus/smiley.el b/lisp/gnus/smiley.el
index 0a9af9e..b5450a8 100644
--- a/lisp/gnus/smiley.el
+++ b/lisp/gnus/smiley.el
@@ -58,19 +58,17 @@
(defvar smiley-data-directory)
(defcustom smiley-style
- (if (or (and (fboundp 'face-attribute)
- ;; In batch mode, attributes can be unspecified.
- (condition-case nil
- (>= (face-attribute 'default :height) 160)
- (error nil)))
- (and (fboundp 'face-height)
- (>= (face-height 'default) 14)))
+ (if (and (fboundp 'face-attribute)
+ ;; In batch mode, attributes can be unspecified.
+ (condition-case nil
+ (>= (face-attribute 'default :height) 160)
+ (error nil)))
'medium
'low-color)
"Smiley style."
- :type '(choice (const :tag "small, 3 colors" low-color) ;; 13x14
- (const :tag "medium, ~10 colors" medium) ;; 16x16
- (const :tag "dull, grayscale" grayscale));; 14x14
+ :type '(choice (const :tag "small, 3 colors" low-color) ;; 13x14
+ (const :tag "medium, ~10 colors" medium) ;; 16x16
+ (const :tag "dull, grayscale" grayscale)) ;; 14x14
:set (lambda (symbol value)
(set-default symbol value)
(setq smiley-data-directory (smiley-directory))
- [Emacs-diffs] master updated (8e14ce4 -> 598ff23), Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master b9baa80 01/12: Remove compat code and functions from message.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 014e0d1 02/12: Remove some compat code from mm-*.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 8f597e9 03/12: Remove compat code and compat functions from mm-util.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master f3cdf9c 04/12: Remove compat code from some mml files, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 2366c70 05/12: Remove compat code in Gnus backends, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 374c21d 06/12: Remove compat function from pop3, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master c311723 07/12: Remove compat code from rfc2047, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master f322abc 08/12: Remove compat code from smiley,
Lars Ingebrigtsen <=
- [Emacs-diffs] master 928bb3f 09/12: Remove compat functions from smime.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 19d298f 10/12: Remove compat functions from starttls.el, Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 920414f 11/12: Remove compat code that relies on (featurep 'mule), Lars Ingebrigtsen, 2016/02/13
- [Emacs-diffs] master 598ff23 12/12: Use open-network-stream instead of open-protocol-stream, Lars Ingebrigtsen, 2016/02/13