Permalink
Browse files

Fixed 'missing path' when no sicstus.

  • Loading branch information...
1 parent 84a62e1 commit 45a0616f302958957c63fecadfd48e6cb44b73be Enrico Franchi committed Jan 31, 2011
Showing with 8 additions and 11 deletions.
  1. +8 −11 emacs.d/more-libraries.el
View
@@ -259,20 +259,17 @@
(setq prolog-indent-width 4)
-
-
-
-
-
-
;******************************************************
;*** Sicstus PL stuff ***
;******************************************************
-(cond
- ((or (linux-p) (macosx-p))
- (load "/usr/local/sicstus4.1.2/lib/sicstus-4.1.2/emacs/sicstus_emacs_init"))
- ((win-p)
- (load "/Program Files/SICStus Prolog VC9 4.1.2/emacs/sicstus_emacs_init.el")))
+(setq sicstus-path
+ (cond
+ ((or (linux-p) (macosx-p))
+ "/usr/local/sicstus4.1.2/lib/sicstus-4.1.2/emacs/sicstus_emacs_init")
+ ((win-p)
+ "/Program Files/SICStus Prolog VC9 4.1.2/emacs/sicstus_emacs_init.el")))
+(load sicstus-path t)
+

0 comments on commit 45a0616

Please sign in to comment.