From c1e5c9f162351134e6908a509f8af317c8198133 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Thu, 11 Apr 2024 18:23:48 +0300 Subject: cmake-mode.el: fix "no lexical-binding directive" warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: In toplevel form: cmake-mode.el:1:1: Warning: file has no ‘lexical-binding’ directive on its first line --- Auxiliary/cmake-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index b5e5ff4..08774df 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -1,4 +1,4 @@ -;;; cmake-mode.el --- major-mode for editing CMake sources +;;; cmake-mode.el --- major-mode for editing CMake sources -*- lexical-binding: t; -*- ;; Package-Requires: ((emacs "24.1")) -- cgit v0.12 From f0bfcc125d029892c8a01b9e53a1ffca65f99aaa Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Thu, 11 Apr 2024 18:24:18 +0300 Subject: cmake-mode.el: fix "docstring wider than 80 characters" warning Fixes: In cmake-help: cmake-mode.el:492:2: Warning: docstring wider than 80 characters --- Auxiliary/cmake-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index 08774df..cfa0173 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -480,7 +480,8 @@ and store the result as a list in LISTVAR." ;;;###autoload (defun cmake-help () - "Queries for any of the four available help topics and prints out the appropriate page." + "Queries for any of the four available help topics and prints out the +appropriate page." (interactive) (let* ((default-entry (cmake-symbol-at-point)) (command-list (cmake-get-list "command")) -- cgit v0.12