[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-patches] Only call `char-displayable-p' if available.
From: |
Daniel Brockman |
Subject: |
[bongo-patches] Only call `char-displayable-p' if available. |
Date: |
Fri, 29 Dec 2006 10:34:49 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Wed Dec 27 09:55:12 CET 2006 Daniel Brockman <address@hidden>
* Only call `char-displayable-p' if available.
diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el 2006-12-29 10:33:39.000000000 +0100
+++ new-bongo/bongo.el 2006-12-29 10:33:39.000000000 +0100
@@ -415,8 +415,10 @@
"Display of Bongo playlist and library buffers."
:group 'bongo)
-(defcustom bongo-field-separator (if (char-displayable-p ?—)
- " —— " " -- ")
+(defcustom bongo-field-separator
+ (if (and (fboundp 'char-displayable-p)
+ (char-displayable-p ?—))
+ " —— " " -- ")
"String used to separate field values in track descriptions.
This is used by the function `bongo-default-format-field'."
:type '(choice (const :tag " —— (Unicode dashes)" " —— ")
--
Daniel Brockman <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bongo-patches] Only call `char-displayable-p' if available.,
Daniel Brockman <=