diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-14 01:01:58 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-14 01:01:58 +0000 |
commit | f6c0dfdb46ce8bacf4a55f60fa3bff935f5cc867 (patch) | |
tree | fa5922de57b6d948cade20744d2a613138413cf8 /phox/phox-sym-lock.el | |
parent | 0af55a781ea033085a3149cafc7942dd6a2f2290 (diff) |
Prevent compile error on atomic-extents
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 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.") |