From f6c0dfdb46ce8bacf4a55f60fa3bff935f5cc867 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 14 Dec 2007 01:01:58 +0000 Subject: Prevent compile error on atomic-extents --- 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 b8466ca8..e3ab2db0 100644 --- a/phox/phox-sym-lock.el +++ b/phox/phox-sym-lock.el @@ -29,7 +29,8 @@ ;; more about symbol font ? check out: xfd -fn '-adobe-symbol-*--12-*' (require 'font-lock) -(require 'atomic-extents) +(if (string-match "XEmacs" emacs-version) + (require 'atomic-extents)) ;; not available on GNU Emacs (defvar phox-sym-lock-sym-count 0 "Counter for internal symbols.") -- cgit v1.2.3