From 48840bb7ee3f0d1161b689c4df6c5be9535a98b6 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 8 Jul 2024 17:47:21 +0200 Subject: [PATCH] Checkdoc fixes in `term/*.el` * lisp/term/android-win.el (android-clear-preedit-text): * lisp/term/pgtk-win.el (featurep): * lisp/term/x-win.el (x-clear-preedit-text): Checkdoc fixes. (cherry picked from commit 846c0e10ffaa13af654e9247e658a088d03d6f34) --- lisp/term/android-win.el | 4 ++-- lisp/term/pgtk-win.el | 2 +- lisp/term/x-win.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/term/android-win.el b/lisp/term/android-win.el index 3e0f71abf91..df1cdc5143e 100644 --- a/lisp/term/android-win.el +++ b/lisp/term/android-win.el @@ -223,7 +223,7 @@ VALUE should be something suitable for passing to ;; time. This pre-command-hook clears the overlay before any command ;; and should be set whenever a preedit overlay is visible. (defun android-clear-preedit-text () - "Clear the pre-edit overlay and remove itself from pre-command-hook. + "Clear the pre-edit overlay and remove itself from `pre-command-hook'. This function should be installed in `pre-command-hook' whenever preedit text is displayed." (when android-preedit-overlay @@ -629,4 +629,4 @@ accessible to other programs." (provide 'android-win) -;; android-win.el ends here. +;;; android-win.el ends here diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el index 7999d348082..505174048f6 100644 --- a/lisp/term/pgtk-win.el +++ b/lisp/term/pgtk-win.el @@ -27,7 +27,7 @@ (eval-when-compile (require 'cl-lib)) (unless (featurep 'pgtk) - (error "%s: Loading pgtk-win.el but not compiled with PGTK." + (error "%s: Loading pgtk-win.el but not compiled with PGTK" invocation-name)) ;; Documentation-purposes only: actually loaded in loadup.el. diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 98dd576fea2..ced2750202b 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -1523,7 +1523,7 @@ This uses `icon-map-list' to map icon file names to stock icon names." ;; time. This pre-command-hook clears the overlay before any command ;; and should be set whenever a preedit overlay is visible. (defun x-clear-preedit-text () - "Clear the pre-edit overlay and remove itself from pre-command-hook. + "Clear the pre-edit overlay and remove itself from `pre-command-hook'. This function should be installed in `pre-command-hook' whenever preedit text is displayed." (when x-preedit-overlay -- 2.39.2