Skip to content

Commit 70c5552

Browse files
committed
- [X] Remove dead code
1 parent 362240d commit 70c5552

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

psci.el

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,6 @@
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.
192179
Returns nil if no .psci file is found."

todo.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
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

0 commit comments

Comments
 (0)