diff options
| author | Glenn Morris | 2013-09-17 22:04:41 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-09-17 22:04:41 -0700 |
| commit | 7bb3e76899ec548ac5e1e95e3e38d7b33f3dadf4 (patch) | |
| tree | ffa4b10097a739b13d4a2e3a4670e8953539b84e | |
| parent | 74be3de16c3df82ec788bd1da4ea1fccc64f7d8a (diff) | |
| download | emacs-7bb3e76899ec548ac5e1e95e3e38d7b33f3dadf4.tar.gz emacs-7bb3e76899ec548ac5e1e95e3e38d7b33f3dadf4.zip | |
* emacs-lisp/chart.el (x-display-color-cells): Declare.
(chart-face-list): Drop Emacsen without display-color-p.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/chart.el | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1cb9f9e8aea..9eaa1cb3ddf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-09-18 Glenn Morris <rgm@gnu.org> | 1 | 2013-09-18 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/chart.el (x-display-color-cells): Declare. | ||
| 4 | (chart-face-list): Drop Emacsen without display-color-p. | ||
| 5 | |||
| 3 | * net/eww.el (libxml-parse-html-region): Declare. | 6 | * net/eww.el (libxml-parse-html-region): Declare. |
| 4 | (eww-display-html): Explicit error if no libxml2 support. | 7 | (eww-display-html): Explicit error if no libxml2 support. |
| 5 | 8 | ||
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index 032eced7592..e05c28f23d5 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; chart.el --- Draw charts (bar charts, etc) -*- lexical-binding: t -*- | 1 | ;;; chart.el --- Draw charts (bar charts, etc) -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1998-1999, 2001, 2004-2005, 2007-2013 Free | 3 | ;; Copyright (C) 1996, 1998-1999, 2001, 2004-2005, 2007-2013 |
| 4 | ;; Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> | 6 | ;; Author: Eric M. Ludlam <zappo@gnu.org> |
| 7 | ;; Version: 0.2 | 7 | ;; Version: 0.2 |
| @@ -86,10 +86,10 @@ Useful if new Emacs is used on B&W display.") | |||
| 86 | :group 'eieio | 86 | :group 'eieio |
| 87 | :type 'boolean) | 87 | :type 'boolean) |
| 88 | 88 | ||
| 89 | (declare-function x-display-color-cells "xfns.c" (&optional terminal)) | ||
| 90 | |||
| 89 | (defvar chart-face-list | 91 | (defvar chart-face-list |
| 90 | (if (if (fboundp 'display-color-p) | 92 | (if (display-color-p) |
| 91 | (display-color-p) | ||
| 92 | window-system) | ||
| 93 | (let ((cl chart-face-color-list) | 93 | (let ((cl chart-face-color-list) |
| 94 | (pl chart-face-pixmap-list) | 94 | (pl chart-face-pixmap-list) |
| 95 | (faces ()) | 95 | (faces ()) |