From 1e618c83b339227cec196f58f409ad84b94faa78 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann <joerg.bornemann@qt.io> Date: Thu, 21 Sep 2023 11:30:04 +0200 Subject: [PATCH] Fix byte-compilation warnings --- cmake-trace-mode.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake-trace-mode.el b/cmake-trace-mode.el index 3fe0d92..c610b88 100644 --- a/cmake-trace-mode.el +++ b/cmake-trace-mode.el @@ -58,7 +58,9 @@ Returns a cons with the file path and the line number." (defvar cmake-trace--last-source-location nil) (defvar-local cmake-trace--remote-prefix nil - "Internal variable to memorize the remote prefix if visiting a trace file using TRAMP.") + "Remote prefix if visiting a trace file using TRAMP. + +This is an internal variable.") (cl-defun cmake-trace-show-location () "Show the current source location in another window." @@ -97,7 +99,7 @@ Returns a cons with the file path and the line number." "Helper variable to memorize the last position of point in the trace buffer.") (defun cmake-trace--show-location-on-line-change () - "Call `cmake-trace-show-location' on current line change in the trace file's buffer." + "Call `cmake-trace-show-location' on current line change." (if (null cmake-trace--last-point-marker) (setq cmake-trace--last-point-marker (make-marker))) (when (or (null (marker-position cmake-trace--last-point-marker)) -- GitLab