[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions bdf568d9ff 63/66: suppress warnings
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions bdf568d9ff 63/66: suppress warnings for obsolete eglot functions |
Date: |
Fri, 6 Dec 2024 06:59:59 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit bdf568d9ffdbf29a0cff47c9364bfe854de70f24
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
suppress warnings for obsolete eglot functions
---
eglot-inactive-regions.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/eglot-inactive-regions.el b/eglot-inactive-regions.el
index f48cc2c572..64ba687f0b 100644
--- a/eglot-inactive-regions.el
+++ b/eglot-inactive-regions.el
@@ -56,7 +56,7 @@
:prefix "eglot-inactive-regions-")
(defun eglot-inactive-regions--set-and-refresh (sym val)
- "Set custom variable SYM to value VAL and trigger a refresh of all active
buffers."
+ "Set custom variable SYM to value VAL and refresh of all active buffers."
(set-default sym val)
(when (fboundp 'eglot-inactive-regions-refresh-all)
(eglot-inactive-regions-refresh-all)))
@@ -301,13 +301,15 @@ Useful to update colors after a face or theme change."
"Fallback to deprecated uri-to-path URI if new function is not available."
(if (fboundp 'eglot-uri-to-path)
(eglot-uri-to-path uri)
- (eglot--uri-to-path uri)))
+ (with-suppressed-warnings ((obsolete eglot--uri-to-path))
+ (eglot--uri-to-path uri))))
(defun eglot-inactive-regions--range-region (range)
"Fallback to deprecated range-region RANGE if new function is not available."
(if (fboundp 'eglot-range-region)
(eglot-range-region range)
- (eglot--range-region range)))
+ (with-suppressed-warnings ((obsolete eglot--range-region))
+ (eglot--range-region range))))
(defun eglot-inactive-regions--handle-notification (uri regions)
"Update inactive REGIONS for the buffer corresponding to URI."
- [nongnu] elpa/eglot-inactive-regions 15d6db2d6d 13/66: Add some helper methods to set UI options, (continued)
- [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
- [nongnu] elpa/eglot-inactive-regions 4ae3491ae3 39/66: doc and function names cleanup, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 21c26bc4e2 40/66: use built-in color to hex converter, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 4b698aaeb8 42/66: always enable inactiveRegions caps, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 6ad3ce4337 47/66: experimental support for ccls skippedRanges, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions bdf568d9ff 63/66: suppress warnings for obsolete eglot functions,
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions 20cacf2b2d 16/66: Warn if shading method is unknown, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 879c5cf032 20/66: Advice default fontify region function instead of local one, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions a17388e4b4 30/66: Update docs and comments, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 8f341e9ad7 32/66: Minor cosmetics, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 9f439654dc 27/66: Only run our fontification hook if our mode is enabled, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 42f37d0970 33/66: update README.md, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5d1580f32b 38/66: fix docs and bump version, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions cd53f3244a 56/66: rename darken-foreground dimmed faces, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 437d09e552 53/66: revert to deprecated eglot functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions bf51947630 55/66: prefer when-let if no else clause is needed, ELPA Syncer, 2024/12/06