File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 62
62
" Text identifying successful startup of jedhy." )
63
63
64
64
(defconst hy-jedhy--reset-namespace-code
65
- " (setv --JEDHY (jedhy.api.API :locals- (locals) :globals- (globals) :macros- --macros-- ))"
65
+ " (setv --JEDHY (jedhy.api.API :locals- (locals) :globals- (globals) :macros- __macros__ ))"
66
66
" Text to send to make Jedhy's namespace current." )
67
67
68
68
; ;; Startup
@@ -149,13 +149,13 @@ Not bound atm as this is temporary, run via M-x or bind yourself."
149
149
150
150
(defun hy-jedhy--format-output-tuple (output )
151
151
" Format OUTPUT given as a tuple."
152
- (unless (s-equals? " ()" output)
152
+ (unless (s-equals? " (, )" output)
153
153
(->> output
154
154
(s-replace-all '((" '" . " " )
155
- (" ,) " . " " ) ; one element list case
156
- (" ( " . " " )
157
- ( " ) " . " " )) )
158
- (s-split " , " ) ))) ; comma is a valid token so can't replace it
155
+ (" (, \" " . " " ) ; one element list case
156
+ (" \" ) " . " " )) )
157
+ (s-split " \" \" " )
158
+ ))) ; comma is a valid token so can't replace it
159
159
160
160
(defun hy-jedhy--format-describe-output (output )
161
161
" Converts escaped newlines to true newlines."
You can’t perform that action at this time.
0 commit comments