[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions 4b01aba42f 29/66: Fix package-lint
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions 4b01aba42f 29/66: Fix package-lint warnings |
Date: |
Fri, 6 Dec 2024 06:59:54 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit 4b01aba42f8beb3ef8ceb16db1e218472ead7f12
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
Fix package-lint warnings
---
clangd-inactive-regions.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/clangd-inactive-regions.el b/clangd-inactive-regions.el
index 134caf7a38..26a176d1c3 100644
--- a/clangd-inactive-regions.el
+++ b/clangd-inactive-regions.el
@@ -1,4 +1,4 @@
-;;; clangd-inactive-regions.el -*- lexical-binding: t; -*-
+;;; clangd-inactive-regions.el --- Highlight inactive code regions with clangd
power -*- lexical-binding: t; -*-
;; Copyright (C) 2023 Filippo Argiolas <filippo.argiolas@gmail.com>
;; Based on an example implementation from João Távora <joaotavora@gmail.com>
(see bug#65418)
@@ -6,7 +6,7 @@
;; Author: Filippo Argiolas <filippo.argiolas@gmail.com>
;; Version: 0.2
;; URL: https://github.com/fargiolas/clangd-inactive-regions
-;; Package-Requires: ((eglot))
+;; Package-Requires: ((emacs "29.1"))
;; clangd-inactive-regions.el is free software: you can redistribute
;; it and/or modify it under the terms of the GNU General Public
@@ -141,7 +141,7 @@ foreground colors, if the face doesn't exist yet create it."
clangd-inactive-face))
-(defun forward-face-or-whitepace ()
+(defun clangd-inactive-regions--forward-face-or-whitespace ()
(setq prev-face (get-text-property (point) 'face))
(forward-char)
(setq next-face (get-text-property (point) 'face))
@@ -192,7 +192,7 @@ foreground colors, if the face doesn't exist yet create it."
(widen)
(goto-char from)
(while (<= (point) to)
- (forward-face-or-whitepace)
+ (clangd-inactive-regions--forward-face-or-whitespace)
;; no need to dim whitespace
(unless (string-match-p "[[:blank:]\n]" (string (char-before)))
(let* ((cur-face (clangd-inactive-regions--get-face (1-
(point))))
- [nongnu] elpa/eglot-inactive-regions 4fc6480bed 18/66: Move forward if forward-same-syntax does not, (continued)
- [nongnu] elpa/eglot-inactive-regions 4fc6480bed 18/66: Move forward if forward-same-syntax does not, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2e52c1a10a 19/66: Use my own forward function, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3876101626 31/66: Update README., ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions b0ade8c12e 21/66: Handle face list properties, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3d3280c415 48/66: rename to eglot-inactive-regions.el, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 475864a1a3 65/66: exclude screenshots from the tarball, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 17c9db32d3 02/66: initial commit, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e15124a898 07/66: Rewrite the darkening logic using fontify-region, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e7be73b354 15/66: Invert shading factor, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions b81249c566 23/66: Update README with caveats section, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4b01aba42f 29/66: Fix package-lint warnings,
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions 2346944d4b 05/66: Add clean up and refresh functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3ba8e528f1 06/66: allow to change opacity on the fly, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 10f1772888 09/66: Drop eglot from the name, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 2736b46310 10/66: Update dependencies and some minor changes, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 15d6db2d6d 13/66: Add some helper methods to set UI options, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions ae67afac14 12/66: Use overlays instead of changing text properties, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 343abb100c 26/66: Update README.md, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions e25016ddb8 22/66: Do not flush all inactive regions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions d021d96fef 25/66: Update screenshots, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 52d2f80ccb 28/66: Tentatively limit global fontification hook to classic c modes, ELPA Syncer, 2024/12/06