Mercurial > hg > xemacs-beta
view etc/custom/example-themes/europe-theme.el @ 5268:09f8ed0933c7
Avoid byte compiler warnings, some needless consing, descr-text.el
lisp/ChangeLog addition:
2010-09-16 Aidan Kehoe <kehoea@parhasard.net>
* descr-text.el (unidata-initialize-unicodedata-database)
(unidata-initialize-unihan-database, describe-char-unicode-data)
(describe-char-unicode-data):
Wrap calls to the database functions with (with-fboundp ...),
avoiding byte compile warnings on builds without support for the
database functions.
(describe-char): (reduce #'max ...), not (apply #'max ...), no
need to cons needlessly.
(describe-char): Remove a redundant lambda wrapping
#'extent-properties.
(describe-char-unicode-data): Call #'nsubst when replacing "" with
nil in the result of #'split-string, instead of consing inside
mapcar.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 16 Sep 2010 15:24:40 +0100 |
parents | ba07c880114a |
children | 308d34e9f07d |
line wrap: on
line source
;;; europe-theme.el --- Settings for European users ;; Copyright (C) 1999 Free Software Foundation, Inc. ;; Author: Jan Vroonhof <jan@xemacs.org> ;; This file is part of XEmacs. ;; XEmacs is free software; you can redistribute it and/or modify it ;; under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; XEmacs is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. ;; You should have received a copy of the GNU General Public License ;; along with XEmacs; see the file COPYING. If not, write to the Free ;; Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, ;; MA 02110-1301, USA. ;;;autoload (deftheme europe "Settings for European users." :set-variable-settings "This variable has a value appropriate for European users." :set-variable-settings "This has been forceed to the value appropriate for European users.") (custom-theme-set-variables 'europe '(sentence-end-double-space nil) '(ps-paper-type (quote a4))) (provide-theme 'europe)