diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 14:35:00 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-10 14:35:00 +0000 |
commit | 3d3e9670ca2049bdc23a389deb9a07082faf368d (patch) | |
tree | 31b3f27688afcd058ecb85997c40efad219cfaa0 /phox/phox-sym-lock.el | |
parent | 055a7fd022ad611fe1775ac724bafc015129af57 (diff) |
Protect usage of list-fonts, unknown function
Diffstat (limited to 'phox/phox-sym-lock.el')
-rw-r--r-- | phox/phox-sym-lock.el | 3 |
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 |