File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,11 @@ Should be able to be run without any arguments."
90
90
(inf-elixir--find-umbrella-root default-directory)
91
91
(locate-dominating-file default-directory " mix.exs" )))
92
92
93
- (defun inf-elixir--run-cmd (cmd )
93
+
94
+ ; ;; Public functions
95
+
96
+ ;;;### autoload
97
+ (defun inf-elixir-run-cmd (cmd )
94
98
" Open an IEx buffer (creating one if needed) and run CMD."
95
99
(if (and inf-elixir-buffer (comint-check-proc inf-elixir-buffer))
96
100
(pop-to-buffer inf-elixir-buffer)
@@ -106,13 +110,11 @@ Should be able to be run without any arguments."
106
110
(setq inf-elixir-buffer (current-buffer ))
107
111
(pop-to-buffer (current-buffer )))))
108
112
109
-
110
- ; ;; Public functions
111
113
;;;### autoload
112
114
(defun inf-elixir (&optional cmd )
113
115
" Run Elixir shell, using CMD if given."
114
116
(interactive )
115
- (inf-elixir-- run-cmd
117
+ (inf-elixir-run-cmd
116
118
(cond
117
119
(cmd cmd)
118
120
(current-prefix-arg
@@ -123,7 +125,7 @@ Should be able to be run without any arguments."
123
125
" Run REPL in the context of the current project, using CMD if given."
124
126
(interactive )
125
127
(let ((default-directory (inf-elixir--find-project-root)))
126
- (inf-elixir-- run-cmd
128
+ (inf-elixir-run-cmd
127
129
(cond
128
130
(cmd cmd)
129
131
(current-prefix-arg
You can’t perform that action at this time.
0 commit comments