Skip to content

Commit c8f0c2b

Browse files
committed
Appease M-x checkdoc.
1 parent a87cd91 commit c8f0c2b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

ts-comint.el

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,14 @@
105105

106106
;;;###autoload
107107
(defun run-ts (cmd &optional dont-switch-p)
108-
"Run an inferior Typescript process, input and output via buffer `*ts*'.
109-
If there is a process already running in `*ts*', switch to that buffer.
110-
With argument, allows you to edit the command line (default is value
111-
of `ts-comint-program-command').
112-
Runs the hook `ts-comint-mode-hook' \(after the `comint-mode-hook'
113-
is run).
114-
\(Type \\[describe-mode] in the process buffer for a list of commands.)"
108+
"Run an inferior Typescript process, via buffer `*Typescript*'.
109+
If there is a process already running in `*Typescript*', switch
110+
to that buffer. With argument `CMD', allows you to edit the
111+
command line (default is value of `ts-comint-program-command').
112+
Runs the hook `ts-comint-mode-hook' \(after the
113+
`comint-mode-hook' is run). \(Type \\[describe-mode] in the
114+
process buffer for a list of commands). Use `DONT-SWITCH-P' to
115+
prevent switching to the new buffer once created."
115116
(interactive
116117
(list
117118
(when current-prefix-arg
@@ -166,7 +167,6 @@ is run).
166167
(interactive "r")
167168
(run-ts ts-comint-program-command t)
168169
(comint-send-region ts-comint-buffer start end)
169-
;; (comint-send-string ts-comint-buffer "\n")
170170
(switch-to-ts ts-comint-buffer))
171171

172172
;;;###autoload
@@ -206,15 +206,15 @@ is run).
206206

207207
;;;###autoload
208208
(defun ts-load-file (filename)
209-
"Load a file in the Typescript interpreter."
209+
"Load file `FILENAME' in the Typescript interpreter."
210210
(interactive "f")
211211
(let ((filename (expand-file-name filename)))
212212
(run-ts ts-comint-program-command t)
213213
(comint-send-string ts-comint-buffer (ts--guess-load-file-cmd filename))))
214214

215215
;;;###autoload
216216
(defun ts-load-file-and-go (filename)
217-
"Load a file in the Typescript interpreter."
217+
"Load file `FILENAME' in the Typescript interpreter."
218218
(interactive "f")
219219
(let ((filename (expand-file-name filename)))
220220
(run-ts ts-comint-program-command t)
@@ -224,7 +224,7 @@ is run).
224224
;;;###autoload
225225
(defun switch-to-ts (eob-p)
226226
"Switch to the Typescript process buffer.
227-
With argument, position cursor at end of buffer."
227+
With argument `EOB-P', position cursor at end of buffer."
228228
(interactive "P")
229229
(if (and ts-comint-buffer (get-buffer ts-comint-buffer))
230230
(pop-to-buffer ts-comint-buffer)

0 commit comments

Comments
 (0)