branch: elpa/aidermacs commit d49dae370aa79e0582a700f8947e9dd42b5e8cb3 Author: reindert <i...@codesensei.nl> Commit: reindert <i...@codesensei.nl>
fix some documentation warnings --- aidermacs-backend-vterm.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aidermacs-backend-vterm.el b/aidermacs-backend-vterm.el index cd6a71894d..dce0504ff5 100644 --- a/aidermacs-backend-vterm.el +++ b/aidermacs-backend-vterm.el @@ -152,8 +152,8 @@ Use BUFFER if provided, otherwise retrieve it from `aidermacs-get-buffer-name'." (setq aidermacs--vterm-active-timer nil))))) (defcustom aidermacs-vterm-use-theme-colors t - "Whether to use emacs theme colors for aider. Has effect only -when using the vterm backend." + "Whether to use Emacs theme colors for aider. +Has effect only when using the vterm backend." :type 'boolean) (defcustom aidermacs-vterm-theme-colors-plist @@ -161,19 +161,19 @@ when using the vterm backend." "--assistant-output-color" default "--tool-error-color" error "--tool-warning-color" warning) - "Emacs faces to use for aider colour flags. Keys are the commandline -arguments to send to aider. Values are either faces or strings (colours like \"#00cc00\")" + "Emacs faces to use for aider colour flags. +Keys are the commandline arguments to send to aider. Values are either faces, or strings containing color codes like \"#00ccff\"" :type 'plist) (defun aidermacs--vterm-colorname-to-rgb (name) - "Convert emacs color names to RGB values." + "Convert Emacs color name NAME to RGB values." (if-let ((colors (color-values name))) (concat "#" (mapconcat (lambda (c) (format "%02X" (/ c 256))) colors)) (face-attribute 'default :foreground))) (defun aidermacs--vterm-theme-args () - "Create arguments for aider to try and match the current emacs theme. + "Create arguments for aider to try and match the current Emacs theme. See `aidermacs-theme-colors-plist'." (if aidermacs-vterm-use-theme-colors (mapcar (lambda (s)