1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 01:57:09 +03:00

Do not start MAL REPL if code is executed in Emacs (specially via SLIME)

This commit is contained in:
Iqbal Ansari 2016-08-29 20:14:15 +05:30
parent 798b5717f6
commit 68511d82dc
11 changed files with 33 additions and 11 deletions

View File

@ -62,4 +62,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -71,4 +71,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -140,4 +140,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -160,4 +160,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -177,4 +177,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -189,4 +189,6 @@
(when use-readline-p
(save-history)))
(main)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(main))

View File

@ -203,7 +203,9 @@
(defun main ()
(if (null common-lisp-user::*args*)
(repl)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(repl))
(rep (format nil
"(load-file \"~a\")"
(car common-lisp-user::*args*)))))

View File

@ -241,7 +241,9 @@
(defun main ()
(if (null common-lisp-user::*args*)
(repl)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(repl))
(rep (format nil
"(load-file \"~a\")"
(car common-lisp-user::*args*)))))

View File

@ -291,7 +291,9 @@
(defun main ()
(if (null common-lisp-user::*args*)
(repl)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(repl))
(rep (format nil
"(load-file \"~a\")"
(car common-lisp-user::*args*)))))

View File

@ -318,7 +318,9 @@
(defun main ()
(if (null common-lisp-user::*args*)
(repl)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(repl))
(rep (format nil
"(load-file \"~a\")"
(car common-lisp-user::*args*)))))

View File

@ -323,7 +323,9 @@
(defun main ()
(if (null common-lisp-user::*args*)
(repl)
;; Do not start REPL inside Emacs
(unless (member :swank *features*)
(repl))
(rep (format nil
"(load-file \"~a\")"
(car common-lisp-user::*args*)))))