[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gtags-mode a2c84b5a2b 28/61: Optimize avoiding with-cur
From: |
ELPA Syncer |
Subject: |
[elpa] externals/gtags-mode a2c84b5a2b 28/61: Optimize avoiding with-current-buffer. |
Date: |
Thu, 28 Apr 2022 10:57:39 -0400 (EDT) |
branch: externals/gtags-mode
commit a2c84b5a2b8aa41fb2ad1b91145987ba343c4175
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Optimize avoiding with-current-buffer.
This is a minimal change but if can be better why do it worst?
---
global-xref.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/global-xref.el b/global-xref.el
index 2e26b8d289..771a735146 100644
--- a/global-xref.el
+++ b/global-xref.el
@@ -306,8 +306,8 @@ any additional command line arguments to pass to GNU
Global."
;; Enable the mode in all the files inside `global-xref--project-root'
(when (called-interactively-p 'all)
(mapc (lambda (buff)
- (with-current-buffer buff
- (unless global-xref-mode
+ (unless (buffer-local-value 'global-xref-mode buff)
+ (with-current-buffer buff
(global-xref-mode 1))))
(global-xref--buffers-in-root global-xref--project-root))))
(t
- [elpa] externals/gtags-mode 13a0afbefd 31/61: Renamed to gtags-xref-mode., (continued)
- [elpa] externals/gtags-mode 13a0afbefd 31/61: Renamed to gtags-xref-mode., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 3f43b6056d 47/61: ;; Fix typo, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ce6a4a6201 60/61: Merge pull request #1 from jangid/master, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode f312adbbab 43/61: Use match-string-no-properties is better., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode a3b99b9aa6 25/61: Enable the mode in all the already opened buffers sharing root., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 777c51d630 53/61: Convert the mode in a global mode., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 1aaac5fead 10/61: Simplify code to so only the needed., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 70b6c217d5 20/61: Add support for project.el., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 148041bbe9 55/61: Cleanup and reorder code., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 3012f128ea 59/61: Change "Gtags" to " Gtags" for minor-mode name, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode a2c84b5a2b 28/61: Optimize avoiding with-current-buffer.,
ELPA Syncer <=
- [elpa] externals/gtags-mode 076ae4a55e 51/61: Fall back to default on imenu., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode c60bb82307 42/61: Don't use with-memoization it is too new., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 54368ee7e0 38/61: Better use of the new plist., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 053184f8b5 14/61: Don't call with-connection-local-variables, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 192258fa32 17/61: Use list instead of quotes., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 9fc5c618a1 36/61: Simplify a bit more the cache handling code., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode c823dcffc9 49/61: Assert not call plist-put for nil, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode d4890f5bb3 45/61: Small simplification., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 95b730930b 27/61: Remove global-xref--sync-sentinel, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 1f2f3d272b 57/61: Fix performance issue., ELPA Syncer, 2022/04/28