[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/scripts/kde-emacs
From:       Jesper Pedersen <blackie () blackie ! dk>
Date:       2007-12-05 12:48:12
Message-ID: 1196858892.188698.28298.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 745105 by blackie:

if XEmacs was found on position 0, then (if (..) would return false as 0 (as well as \
nil) is false in lisp. In other words, XEmacs was found as being a gnu emacs.

 M  +1 -1      kde-emacs-vars.el  


--- trunk/KDE/kdesdk/scripts/kde-emacs/kde-emacs-vars.el #745104:745105
@@ -29,7 +29,7 @@
 
 (defvar kde-emacs-type
   (eval-when-compile
-    (if (string-match "XEmacs" (emacs-version))
+    (if (not (eq (string-match "XEmacs" (emacs-version)) nil))
 	'xemacs
       'emacs))
   "The type of Emacs we are running on.")


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic