Everywhere: Add docstring support
This commit is contained in:
+6
-4
@@ -1,9 +1,11 @@
|
||||
|
||||
(defn load-file [filename]
|
||||
(eval (read-string (str "(do " (slurp filename) "\nnil)"))))
|
||||
(defn load-file [file]
|
||||
"Load the Lisp file named FILE."
|
||||
(eval (read-string (str "(do " (slurp file) "\nnil)"))))
|
||||
|
||||
(defn load [filename]
|
||||
(eval (read-string (str "(let* [] (do " (slurp filename) "))"))))
|
||||
(defn load [file]
|
||||
"Load the Lisp file named FILE."
|
||||
(eval (read-string (str "(let* [] (do " (slurp file) "))"))))
|
||||
|
||||
;; Local Variables:
|
||||
;; eval: (emacs-lisp-mode)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
(def! *host-language* "C++")
|
||||
(def *host-language* "C++")
|
||||
|
||||
;; Local Variables:
|
||||
;; eval: (emacs-lisp-mode)
|
||||
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
|
||||
(defn not [cond]
|
||||
(if cond false true))
|
||||
(defn not [object]
|
||||
"Return true if OBJECT is nil or false, and return false otherwise."
|
||||
(if object false true))
|
||||
|
||||
;; Local Variables:
|
||||
;; eval: (emacs-lisp-mode)
|
||||
|
||||
Reference in New Issue
Block a user