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 134134 (comint-simple-send process command)
135135 (process-send-eof process)))
136136
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-
144137(defun psci/--load-file! (filename )
145138 " Load the purescript FILENAME inside the current running session."
146139 (psci/--run-psci-command! (format " :m %s " filename)))
@@ -181,12 +174,6 @@ When FILENAME is nil or not a real file, returns nil."
181174 (insert-file-contents filename)
182175 (buffer-substring-no-properties (point-min ) (point-max )))))
183176
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-
190177(defun psci/--project-psci-file (project-root-folder )
191178 " Compute the project's psci file from the PROJECT-ROOT-FOLDER.
192179Returns nil if no .psci file is found."
Original file line number Diff line number Diff line change 88- [-] Reorganize code for a better readability
99 - [X] Reorganize var at the beginning of the buffer
1010 - [X] Add missing autoload property on psci function
11+ - [X] Remove dead code
1112 - [ ] Reorganize private functions at the beginning of the buffer
1213 - [ ] Rename functions according to fully compliant emacs conventions?
1314- [ ] Add quit session command
You can’t perform that action at this time.
0 commit comments