Don't use `running-emacs-19_29-or-later' or `running-xemacs-19_14-or-later.'
authorshuhei-k <shuhei-k>
Sun, 20 Jun 1999 23:34:23 +0000 (23:34 +0000)
committershuhei-k <shuhei-k>
Sun, 20 Jun 1999 23:34:23 +0000 (23:34 +0000)
EMU-ELS

diff --git a/EMU-ELS b/EMU-ELS
index 8666025..97203a3 100644 (file)
--- a/EMU-ELS
+++ b/EMU-ELS
@@ -5,8 +5,15 @@
 ;;; Code:
 
 (setq emu-modules (cons 'emu
-                       (if (or running-emacs-19_29-or-later
-                               running-xemacs-19_14-or-later)
+                       (if (if (featurep 'xemacs)
+                               ;; running-xemacs-19_14-or-later
+                               (or (>= emacs-major-version 20)
+                                   (and (= emacs-major-version 19)
+                                        (>= emacs-minor-version 14)))
+                             ;; running-emacs-19_29-or-later
+                             (or (>= emacs-major-version 20)
+                                 (and (= emacs-major-version 19)
+                                      (>= emacs-minor-version 29))))
                            '(richtext)
                          '(tinyrich))))