diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2008-01-16 21:42:41 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2008-01-16 21:42:41 +0000 |
commit | 72f240e63eb57755e618613cad4bb7edbe951a26 (patch) | |
tree | 75a1e0564e15784a24cd4eddf4bd2808a22e0156 /lib/span.el | |
parent | 380c44ebf8fad9201b01f5b1dbea9e14193119ee (diff) |
Tweak version differentiation for compilation
Diffstat (limited to 'lib/span.el')
-rw-r--r-- | lib/span.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/span.el b/lib/span.el index 6fd8371d..a07da038 100644 --- a/lib/span.el +++ b/lib/span.el @@ -10,10 +10,10 @@ ;; (eval-and-compile - (cond ((string-match "XEmacs" emacs-version) - (require 'span-extent)) - (t - (require 'span-overlay)))) + (if (featurep 'xemacs) + (require 'span-extent)) + (if (not (featurep 'xemacs)) + (require 'span-overlay))) ;; ;; Generic functions built on low-level concrete ones. |