@@ -89,7 +89,7 @@ confirmation before compiling."
89
89
" Name of the buffer used for compiling vterm-module." )
90
90
91
91
(defun vterm-module--cmake-is-available ()
92
- " Return t if cmake is available.
92
+ " Return t if CMake is available.
93
93
CMake is needed to build vterm, here we check that we can find
94
94
the executable."
95
95
@@ -129,7 +129,7 @@ the executable."
129
129
; ; If the vterm-module is not compiled yet, compile it
130
130
(unless (require 'vterm-module nil t )
131
131
(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? " ))
133
133
(progn
134
134
(vterm-module-compile)
135
135
(require 'vterm-module ))
@@ -141,16 +141,16 @@ the executable."
141
141
(declare-function display-line-numbers-update-width " display-line-numbers" )
142
142
143
143
; ; 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 )
154
154
155
155
(require 'subr-x )
156
156
(require 'cl-lib )
@@ -233,8 +233,8 @@ Each function is called with two arguments: the vterm buffer of
233
233
the process if any, and a string describing the event passed from
234
234
the sentinel.
235
235
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' .
238
238
239
239
Note that this hook will not work if another package like
240
240
`shell-pop' sets its own sentinel to the `vterm' process."
@@ -324,8 +324,8 @@ used to set the current directory and prompt location. This
324
324
detection method is the most-reliable. To use it, you have
325
325
to change your shell prompt to print 51;A.
326
326
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
329
329
`term-prompt-regexp' , for more information."
330
330
:type 'boolean
331
331
:group 'vterm )
@@ -434,7 +434,7 @@ Only background is used."
434
434
(defvar vterm-timer-delay 0.1
435
435
" Delay for refreshing the buffer after receiving updates from libvterm.
436
436
437
- A larger delary improves performance when receiving large bursts
437
+ A larger delay improves performance when receiving large bursts
438
438
of data. If nil, never delay. The units are seconds." )
439
439
440
440
; ;; Keybindings
@@ -463,7 +463,7 @@ of data. If nil, never delay. The units are seconds.")
463
463
464
464
; ; Function keys and most of C- and M- bindings
465
465
(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' .
467
467
468
468
Exceptions are defined by `vterm-keymap-exceptions' ."
469
469
(mapc (lambda (key )
@@ -598,7 +598,7 @@ Exceptions are defined by `vterm-keymap-exceptions'."
598
598
; ; mode can break this, leading to segmentation faults.
599
599
(add-hook 'change-major-mode-hook
600
600
(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 )
602
602
603
603
(vterm--set-pty-name vterm--term (process-tty-name vterm--process))
604
604
(process-put vterm--process 'adjust-window-size-function
@@ -1016,13 +1016,13 @@ Argument EVENT process event."
1016
1016
(setq width (+ width (or display-line-numbers-width 0 ) 4 )))
1017
1017
width))
1018
1018
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.
1022
1022
If option DELETE-WHOLE-LINE is non-nil, then this command kills
1023
1023
the whole line including its terminating newline"
1024
1024
(save-excursion
1025
- (when (vterm--goto-line line-num )
1025
+ (when (vterm--goto-line line-number )
1026
1026
(delete-region (point ) (point-at-eol count))
1027
1027
(when (and delete-whole-line
1028
1028
(looking-at " \n " ))
@@ -1261,3 +1261,6 @@ can find them and remove them."
1261
1261
1262
1262
(provide 'vterm )
1263
1263
; ;; vterm.el ends here
1264
+
1265
+ ; ;; LocalWords: vterm libvterm CMake scrollback arg
1266
+ ; ;; LocalWords: zsh html tldp http whitelisted
0 commit comments