aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweber2007-05-17 15:19:56 +0000
committerweber2007-05-17 15:19:56 +0000
commitac58f98f0ea13508d2e1d0b9bcbeaacce0541b0b (patch)
tree713d23a8f380d194c520ac97fe8eb638fa4dbc6e
parent35b4b49f45fa204dbb3c1473c91835f60a8ed87b (diff)
XEmacs 21.4.15 does not seem to know propertize
-rw-r--r--isar/isar-find-theorems.el14
1 files changed, 10 insertions, 4 deletions
diff --git a/isar/isar-find-theorems.el b/isar/isar-find-theorems.el
index ece12a98..2e007e78 100644
--- a/isar/isar-find-theorems.el
+++ b/isar/isar-find-theorems.el
@@ -120,7 +120,11 @@
(switch-to-buffer "*Find Theorems*")
(widget-insert
- (concat "\n " (propertize "Find Theorems" 'face 'bold) "\n\n"))
+ (concat "\n "
+ (if (fboundp 'propertize)
+ (propertize "Find Theorems" 'face 'bold)
+ "Find Theorems")
+ "\n\n"))
;; pattern
(widget-insert " Search pattern: ")
@@ -230,9 +234,11 @@
;; errmsg
(if errmsg
- (widget-insert (concat "\n " (propertize
- (concat errmsg "\n See help for details.")
- 'face (list :foreground "red")) "\n")))
+ (widget-insert (concat "\n "
+ (if (fboundp 'propertize)
+ (propertize (concat errmsg "\n See help for details.") 'face 'bold)
+ (concat errmsg "\n See help for details."))
+ "\n")))
(use-local-map widget-keymap)
(widget-setup)