@@ -89,7 +89,7 @@ confirmation before compiling."
8989 " Name of the buffer used for compiling vterm-module." )
9090
9191(defun vterm-module--cmake-is-available ()
92- " Return t if cmake is available.
92+ " Return t if CMake is available.
9393CMake is needed to build vterm, here we check that we can find
9494the executable."
9595
@@ -129,7 +129,7 @@ the executable."
129129; ; If the vterm-module is not compiled yet, compile it
130130(unless (require 'vterm-module nil t )
131131 (if (or vterm-always-compile-module
132- (y-or-n-p " Vterm needs `vterm-module' to work. Compile it now? " ))
132+ (y-or-n-p " Vterm needs `vterm-module' to work. Compile it now? " ))
133133 (progn
134134 (vterm-module-compile)
135135 (require 'vterm-module ))
@@ -141,16 +141,16 @@ the executable."
141141(declare-function display-line-numbers-update-width " display-line-numbers" )
142142
143143; ; Generate this list with:
144- ; ; awk -F\" '/bind_function*/ {print "(declare-function", $2, "\"vterm-module\")"}' vterm-module.c
145- (declare-function vterm--new " vterm-module" )
146- (declare-function vterm--update " vterm-module" )
147- (declare-function vterm--redraw " vterm-module" )
148- (declare-function vterm--write-input " vterm-module" )
149- (declare-function vterm--set-size " vterm-module" )
150- (declare-function vterm--set-pty-name " vterm-module" )
151- (declare-function vterm--get-pwd-raw " vterm-module" )
152- (declare-function vterm--reset-point " vterm-module" )
153- (declare-function vterm--get-icrnl " vterm-module" )
144+ ; ; awk -F\" '/bind_function*/ {print "(declare-function", $2, "\"ext: vterm-module\" t t )"}' vterm-module.c
145+ (declare-function vterm--new " ext: vterm-module" t t )
146+ (declare-function vterm--update " ext: vterm-module" t t )
147+ (declare-function vterm--redraw " ext: vterm-module" t t )
148+ (declare-function vterm--write-input " ext: vterm-module" t t )
149+ (declare-function vterm--set-size " ext: vterm-module" t t )
150+ (declare-function vterm--set-pty-name " ext: vterm-module" t t )
151+ (declare-function vterm--get-pwd-raw " ext: vterm-module" t t )
152+ (declare-function vterm--reset-point " ext: vterm-module" t t )
153+ (declare-function vterm--get-icrnl " ext: vterm-module" t t )
154154
155155(require 'subr-x )
156156(require 'cl-lib )
@@ -233,8 +233,8 @@ Each function is called with two arguments: the vterm buffer of
233233the process if any, and a string describing the event passed from
234234the sentinel.
235235
236- This hook applies only to new vterms , created after setting this
237- value with `add-hook' .
236+ This hook applies only to new vterm buffers , created after
237+ setting this value with `add-hook' .
238238
239239Note that this hook will not work if another package like
240240`shell-pop' sets its own sentinel to the `vterm' process."
@@ -324,8 +324,8 @@ used to set the current directory and prompt location. This
324324detection method is the most-reliable. To use it, you have
325325to change your shell prompt to print 51;A.
326326
327- The second method is using a regular expression. This method does
328- not require any shell-side configuration. See
327+ The second method is using a regular expression. This method does
328+ not require any shell-side configuration. See
329329`term-prompt-regexp' , for more information."
330330 :type 'boolean
331331 :group 'vterm )
@@ -434,7 +434,7 @@ Only background is used."
434434(defvar vterm-timer-delay 0.1
435435 " Delay for refreshing the buffer after receiving updates from libvterm.
436436
437- A larger delary improves performance when receiving large bursts
437+ A larger delay improves performance when receiving large bursts
438438of data. If nil, never delay. The units are seconds." )
439439
440440; ;; Keybindings
@@ -463,7 +463,7 @@ of data. If nil, never delay. The units are seconds.")
463463
464464; ; Function keys and most of C- and M- bindings
465465(defun vterm--exclude-keys (map exceptions )
466- " Remove EXCEPTIONS from the keys bound by `vterm-define-keys' .
466+ " Remove EXCEPTIONS from MAP the keys bound by `vterm-define-keys' .
467467
468468Exceptions are defined by `vterm-keymap-exceptions' ."
469469 (mapc (lambda (key )
@@ -598,7 +598,7 @@ Exceptions are defined by `vterm-keymap-exceptions'."
598598 ; ; mode can break this, leading to segmentation faults.
599599 (add-hook 'change-major-mode-hook
600600 (lambda () (interactive )
601- (user-error " You cannot change major mode in vterm buffers" )) nil t )
601+ (user-error " You cannot change major mode in vterm buffers" )) nil t )
602602
603603 (vterm--set-pty-name vterm--term (process-tty-name vterm--process))
604604 (process-put vterm--process 'adjust-window-size-function
@@ -1016,13 +1016,13 @@ Argument EVENT process event."
10161016 (setq width (+ width (or display-line-numbers-width 0 ) 4 )))
10171017 width))
10181018
1019- (defun vterm--delete-lines (line-num count &optional delete-whole-line )
1020- " Delete COUNT lines from LINE-NUM .
1021- If LINE-NUM is negative backward-line from end of buffer.
1019+ (defun vterm--delete-lines (line-number count &optional delete-whole-line )
1020+ " Delete COUNT lines from LINE-NUMBER .
1021+ If LINE-NUMBER is negative backward-line from end of buffer.
10221022If option DELETE-WHOLE-LINE is non-nil, then this command kills
10231023the whole line including its terminating newline"
10241024 (save-excursion
1025- (when (vterm--goto-line line-num )
1025+ (when (vterm--goto-line line-number )
10261026 (delete-region (point ) (point-at-eol count))
10271027 (when (and delete-whole-line
10281028 (looking-at " \n " ))
@@ -1261,3 +1261,6 @@ can find them and remove them."
12611261
12621262(provide 'vterm )
12631263; ;; vterm.el ends here
1264+
1265+ ; ;; LocalWords: vterm libvterm CMake scrollback arg
1266+ ; ;; LocalWords: zsh html tldp http whitelisted
0 commit comments