[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 0e3a8ef7a8 398/500: Check for process before comp
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 0e3a8ef7a8 398/500: Check for process before completing in nix-repl |
Date: |
Sat, 29 Jan 2022 08:27:49 -0500 (EST) |
branch: elpa/nix-mode
commit 0e3a8ef7a86536b69a9f9e2425c6b7d2be8f4413
Author: Ross A. Baker <ross@rossabaker.com>
Commit: Ross A. Baker <ross@rossabaker.com>
Check for process before completing in nix-repl
---
nix-repl.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/nix-repl.el b/nix-repl.el
index 4371846b7a..440b4a5962 100644
--- a/nix-repl.el
+++ b/nix-repl.el
@@ -148,14 +148,16 @@ guarantees they will be grabbed in a single call."
"Completion at point function for Nix using \"nix-repl\".
See `completion-at-point-functions'."
(save-excursion
- (let ((prefix (and (derived-mode-p 'nix-repl-mode)
- (executable-find nix-executable)
- (nix--prefix-bounds))))
+ (let* ((proc (get-buffer-process (current-buffer)))
+ (prefix (and (derived-mode-p 'nix-repl-mode)
+ proc
+ (executable-find nix-executable)
+ (nix--prefix-bounds))))
(pcase prefix
(`(,beg . ,end)
(list beg end
(nix-get-completions
- (get-buffer-process (current-buffer))
+ proc
(buffer-substring beg end))
:exclusive 'no))))))
- [nongnu] elpa/nix-mode 94e1a57c31 242/500: Add missing file to Cask, (continued)
- [nongnu] elpa/nix-mode 94e1a57c31 242/500: Add missing file to Cask, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode fbcbc446f8 254/500: Add attr to nix-search, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b0829d67c5 256/500: Fix missing parens and standardize regexp style, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ccb320ab31 344/500: Make sure update .elc is available when running tests, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 004c81e51d 362/500: Merge branch 'master' into fix-94, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e20afb51a4 370/500: Release 1.4.2, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e7fa834b80 383/500: Update nix-shell.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 21d3ba0b80 382/500: Update yaml again, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 7487346812 378/500: Add flake, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 015bf9639a 386/500: Remove filenames handling, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0e3a8ef7a8 398/500: Check for process before completing in nix-repl,
ELPA Syncer <=
- [nongnu] elpa/nix-mode 12d1e29ff1 397/500: Merge pull request #106 from jcs-PR/minor, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 8bc6750c4c 420/500: Update flake.lock., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1b1b9fb61d 440/500: Update nixos, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode f2acc55830 431/500: Add .dir-locals.el file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1697f18066 439/500: Fix #128, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 04d9a86eae 437/500: Merge pull request #130 from nagy/simplify, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9362a70d0b 468/500: nix-flake: Organize the library into outlines, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 241cc0881e 466/500: nix-flake.el: Init nix-flake command, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode dd0d1c0d0b 467/500: nix-flake: WIP: nix-flake-init, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode acf4fd09db 470/500: nix-flake: Add customization options, ELPA Syncer, 2022/01/29