[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eglot-inactive-regions 80c1b60009 44/66: Revert "revert to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eglot-inactive-regions 80c1b60009 44/66: Revert "revert to deprecated eglot functions" |
Date: |
Fri, 6 Dec 2024 06:59:56 -0500 (EST) |
branch: elpa/eglot-inactive-regions
commit 80c1b60009d00c75ec4f48abac86d7f2da90d12b
Author: Filippo Argiolas <filippo.argiolas@gmail.com>
Commit: Filippo Argiolas <filippo.argiolas@gmail.com>
Revert "revert to deprecated eglot functions"
This reverts commit e3d63eeac05208a12a74d36d5af7c9d326e3603b.
---
clangd-inactive-regions.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/clangd-inactive-regions.el b/clangd-inactive-regions.el
index 8e184aaa0b..612d0188af 100644
--- a/clangd-inactive-regions.el
+++ b/clangd-inactive-regions.el
@@ -299,18 +299,18 @@ Useful to update colors after a face or theme change."
(_server (_method (eql textDocument/inactiveRegions))
&key regions textDocument &allow-other-keys)
"Update inactive regions when clangd reports them."
- (if-let* ((path (expand-file-name (eglot--uri-to-path
- (cl-getf textDocument :uri))))
- (buffer (find-buffer-visiting path)))
- (with-current-buffer buffer
- (when clangd-inactive-regions-mode
- (setq clangd-inactive-regions--ranges '())
- (cl-loop
- for r across regions
- for (beg . end) = (eglot--range-region r)
- do
- (push (cons beg end) clangd-inactive-regions--ranges))
- (clangd-inactive-regions-refresh)))))
+ (if-let* ((path (expand-file-name (eglot-uri-to-path
+ (cl-getf textDocument :uri))))
+ (buffer (find-buffer-visiting path)))
+ (with-current-buffer buffer
+ (when clangd-inactive-regions-mode
+ (setq clangd-inactive-regions--ranges '())
+ (cl-loop
+ for r across regions
+ for (beg . end) = (eglot-range-region r)
+ do
+ (push (cons beg end) clangd-inactive-regions--ranges))
+ (clangd-inactive-regions-refresh)))))
(provide 'clangd-inactive-regions)
- [nongnu] elpa/eglot-inactive-regions a17388e4b4 30/66: Update docs and comments, (continued)
- [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
- [nongnu] elpa/eglot-inactive-regions 193827fdeb 58/66: missing clangd references after rename, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5c20f58422 60/66: clean up after review on emacs-devel, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 80c1b60009 44/66: Revert "revert to deprecated eglot functions",
ELPA Syncer <=
- [nongnu] elpa/eglot-inactive-regions 26f3b61b45 51/66: readme update, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions badb4e403a 46/66: cleanup on major mode changes, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions a810593308 59/66: bump version to 0.6, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 7e4eb584e0 61/66: fallback to deprecated functions, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 6ac373dfd0 62/66: bump version after emacs-devel review, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3569bd5dc7 24/66: Properly enable/clean up state on minor mode toggle, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3b248e0684 37/66: Update install section in README.md, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 3ca295f189 45/66: switch to global minor mode, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 15259e94b2 50/66: move to defcustoms for customization, ELPA Syncer, 2024/12/06
- [nongnu] elpa/eglot-inactive-regions 5b48f4940d 54/66: rename shading method to shading style, ELPA Syncer, 2024/12/06