Skip to content

Commit 1c3239e

Browse files
committed
Revert 'Return variable name in defparameter and defconstant'
1 parent 83b684f commit 1c3239e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lisp/l/common.l

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,11 @@
139139

140140
(defmacro defparameter (var init &optional (doc nil))
141141
(unless (symbolp var) (error type-error "symbol expected"))
142-
`(progn
143-
(send ',var :global ,init ,doc)
144-
',var))
142+
`(send ',var :global ,init ,doc))
145143

146144
(defmacro defconstant (sym val &optional doc)
147145
(unless (symbolp sym) (error type-error "symbol expected"))
148-
`(progn
149-
(send ',sym :constant ,val ,doc)
150-
',sym))
146+
`(send ',sym :constant ,val ,doc) )
151147

152148

153149
(defmacro dotimes (vars &rest forms)

0 commit comments

Comments
 (0)