File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 134
134
(comint-simple-send process command)
135
135
(process-send-eof process)))
136
136
137
- ; ; (defun psci/load-region! (region-start region-end)
138
- ; ; "Run purescript code between REGION-START and REGION-END."
139
- ; ; (interactive "r")
140
- ; ; (-when-let (process (get-buffer-process (psci/--process-name psci/buffer-name)))
141
- ; ; (comint-send-region process region-start region-end)
142
- ; ; (process-send-eof process)))
143
-
144
137
(defun psci/--load-file! (filename )
145
138
" Load the purescript FILENAME inside the current running session."
146
139
(psci/--run-psci-command! (format " :m %s " filename)))
@@ -181,12 +174,6 @@ When FILENAME is nil or not a real file, returns nil."
181
174
(insert-file-contents filename)
182
175
(buffer-substring-no-properties (point-min ) (point-max )))))
183
176
184
- (defun psci/--symbol (sym n )
185
- " Compute the repetition of a symbol SYM N times as a string."
186
- (--> n
187
- (-repeat it sym)
188
- (s-join " " it)))
189
-
190
177
(defun psci/--project-psci-file (project-root-folder )
191
178
" Compute the project's psci file from the PROJECT-ROOT-FOLDER.
192
179
Returns nil if no .psci file is found."
Original file line number Diff line number Diff line change 8
8
- [-] Reorganize code for a better readability
9
9
- [X] Reorganize var at the beginning of the buffer
10
10
- [X] Add missing autoload property on psci function
11
+ - [X] Remove dead code
11
12
- [ ] Reorganize private functions at the beginning of the buffer
12
13
- [ ] Rename functions according to fully compliant emacs conventions?
13
14
- [ ] Add quit session command
You can’t perform that action at this time.
0 commit comments