From 3d3e9670ca2049bdc23a389deb9a07082faf368d Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 10 Dec 2007 14:35:00 +0000 Subject: Protect usage of list-fonts, unknown function --- phox/phox-sym-lock.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phox') 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 -- cgit v1.2.3