diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-10 03:13:39 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-10 03:13:39 -0500 |
| commit | b4f2b1d7d18f9246b06baf1e573b2cd990af83c8 (patch) | |
| tree | fd9718e6a8d9a5a54b76cbc6e8820f2bac5952ff /modules | |
| parent | f89b6f22409318ac3124138f7d230c829e6d73c5 (diff) | |
| download | dotemacs-b4f2b1d7d18f9246b06baf1e573b2cd990af83c8.tar.gz dotemacs-b4f2b1d7d18f9246b06baf1e573b2cd990af83c8.zip | |
chore(vterm): fix docstring quoting and drop unused alias
Quote the symbol name `below' in three F12 toggle docstrings so the byte-compiler stops flagging the unescaped single quotes. Same change in each: `'below` becomes `\`below'` so Emacs renders it as a code reference. Also drop the unused `cj/vterm-history` alias — no callers in the tree.
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/eshell-vterm-config.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/eshell-vterm-config.el b/modules/eshell-vterm-config.el index c305b5c8..dff31e4d 100644 --- a/modules/eshell-vterm-config.el +++ b/modules/eshell-vterm-config.el @@ -314,8 +314,6 @@ to the vterm buffer that launched it." (goto-char (point-max))) (pop-to-buffer buffer))) -(defalias 'cj/vterm-history #'cj/vterm-tmux-history) - (defun cj/vterm-copy-mode-cancel () "Exit `vterm-copy-mode' without copying." (interactive) @@ -409,7 +407,7 @@ Used as the size fallback when `cj/--vterm-toggle-last-size' is nil (defvar cj/--vterm-toggle-last-direction nil "Last user-chosen direction for the F12 vterm display. Symbol: right, left, below, above. nil means use the default -'below for F12's traditional bottom split.") +`below' for F12's traditional bottom split.") (defvar cj/--vterm-toggle-last-size nil "Last user-chosen body size for the F12 vterm display. @@ -446,7 +444,7 @@ FRAME defaults to the selected frame. Minibuffer is excluded." (defun cj/--vterm-toggle-capture-state (window) "Capture WINDOW's direction + body size into module-level state. -Default direction is 'below to match F12's traditional bottom +Default direction is `below' to match F12's traditional bottom split when WINDOW fills the frame's root area." (when (window-live-p window) (let* ((dir (cj/window-direction window 'below)) @@ -458,7 +456,7 @@ split when WINDOW fills the frame's root area." "Display-buffer action: split per saved direction and body size. Reads `cj/--vterm-toggle-last-direction' and -`cj/--vterm-toggle-last-size', falling back to 'below and +`cj/--vterm-toggle-last-size', falling back to `below' and `cj/vterm-toggle-window-height' when nil. The cardinal direction is mapped to its frame-edge variant (`right' -> `rightmost', etc.) so the new vterm always lands at the same frame edge it came from |
