[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gtags-mode 3d7bf179bb 29/61: Use make-process instead o
From: |
ELPA Syncer |
Subject: |
[elpa] externals/gtags-mode 3d7bf179bb 29/61: Use make-process instead of start-file-process. |
Date: |
Thu, 28 Apr 2022 10:57:39 -0400 (EDT) |
branch: externals/gtags-mode
commit 3d7bf179bb8b77e49900af039e7837a94b1948ec
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Use make-process instead of start-file-process.
---
global-xref.el | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/global-xref.el b/global-xref.el
index 771a735146..b5bd14492c 100644
--- a/global-xref.el
+++ b/global-xref.el
@@ -112,15 +112,12 @@ This is the sentinel set in `global-xref--exec-async'."
Starts an asynchronous process and sets
`global-xref--exec-async-sentinel' as the process sentinel if
SENTINEL is nil or not specified. Returns the process object."
- (when-let* ((cmd (symbol-value command))
- (process (apply #'start-file-process
- (format "%s-async" cmd)
- (generate-new-buffer " *temp*" t)
- cmd args))
- (sentinel (or sentinel
- #'global-xref--exec-async-sentinel)))
- (set-process-sentinel process sentinel)
- process))
+ (when-let ((cmd (symbol-value command)))
+ (make-process :name (format "%s-async" cmd)
+ :buffer (generate-new-buffer " *temp*" t)
+ :command (append (list cmd) args)
+ :sentinel #'global-xref--exec-async-sentinel
+ :file-handler t)))
(defun global-xref--exec-sync (command args)
"Run COMMAND with ARGS synchronously, on success call SENTINEL.
- [elpa] externals/gtags-mode 9763f8fb69 03/61: Add async processes to create and update database cleanly., (continued)
- [elpa] externals/gtags-mode 9763f8fb69 03/61: Add async processes to create and update database cleanly., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode f4bda60a1a 06/61: Fix global-xref--set-connection-locals., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 82b7f79aff 08/61: Simplify code., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 45fdfac932 09/61: Simplify imenu again., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 8734f6b54d 48/61: Reorder, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 10a710a3dd 54/61: Fix and simplify, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 86777df9a3 50/61: Call gtags-mode--set-connection-locals before processes, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ae397208b5 32/61: Finish rename process., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode c1bbe60f19 30/61: Simplify code:, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode b18a7cb93d 46/61: Fix docs, info messages and use `(,, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 3d7bf179bb 29/61: Use make-process instead of start-file-process.,
ELPA Syncer <=
- [elpa] externals/gtags-mode dc50f340d4 12/61: Small fixes in documentation and other details., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 5525174de9 34/61: Many changes:, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 317ed00754 61/61: Assert we retun nil on error, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 7dc81cbae2 56/61: Small simplifies, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 5445a63b79 21/61: Small fixes., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 33938b17e7 41/61: New function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode d1195ca318 40/61: Use memoization function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 65c2da145a 11/61: Reorder code a but and simplify., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 9b67043bcf 44/61: Use a workaround to pint proper information, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 2e5ecb8042 39/61: Add check on mode enable., ELPA Syncer, 2022/04/28