aboutsummaryrefslogtreecommitdiffhomepage
path: root/phox
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-10 14:35:00 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-10 14:35:00 +0000
commit3d3e9670ca2049bdc23a389deb9a07082faf368d (patch)
tree31b3f27688afcd058ecb85997c40efad219cfaa0 /phox
parent055a7fd022ad611fe1775ac724bafc015129af57 (diff)
Protect usage of list-fonts, unknown function
Diffstat (limited to 'phox')
-rw-r--r--phox/phox-sym-lock.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/phox/phox-sym-lock.el b/phox/phox-sym-lock.el
index 1c4e4cae..b8466ca8 100644
--- a/phox/phox-sym-lock.el
+++ b/phox/phox-sym-lock.el
@@ -125,7 +125,8 @@
(string-to-number (substring str (match-beginning 1)
(match-end 1)))))))
(maxsize 100) (size) (oldsize)
- (lf (list-fonts font-pat)))
+ (lf (and (fboundp 'list-fonts) ; da: what is this function? not defined
+ (list-fonts font-pat))))
(while (and lf maxsize)
(if
(string-match font-reg