[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 07b6069c78 491/500: nix-flake: Fix an unexpected
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 07b6069c78 491/500: nix-flake: Fix an unexpected error in assert |
Date: |
Sat, 29 Jan 2022 08:27:59 -0500 (EST) |
branch: elpa/nix-mode
commit 07b6069c78c4bb6d2e244b1a0bd09e84b049f5ea
Author: Akira Komamura <akira.komamura@gmail.com>
Commit: Akira Komamura <akira.komamura@gmail.com>
nix-flake: Fix an unexpected error in assert
When two universal prefixes are given, DIR is nil, and
`file-directory-p' threw an error. It must pass.
---
nix-flake.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-flake.el b/nix-flake.el
index 0e07b07458..1f12f41c2a 100644
--- a/nix-flake.el
+++ b/nix-flake.el
@@ -416,7 +416,7 @@ whatever supported by Nix."
(list nil :flake-ref nix-flake-ref)
(user-error "Last flake is unavailable")))
(_ (list default-directory))))
- (cl-assert (or (file-directory-p dir)
+ (cl-assert (or (and (stringp dir) (file-directory-p dir))
flake-ref)
nil
"DIR or FLAKE-REF must be specified")
- [nongnu] elpa/nix-mode 8ab089b251 230/500: Set nix-shell-attribute, (continued)
- [nongnu] elpa/nix-mode 8ab089b251 230/500: Set nix-shell-attribute, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 84ee98019f 271/500: Skip over comments in indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode a30e88362a 290/500: Remove line that caused tests to not indent at all in the tests, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 82399e6bc3 305/500: Add missing check for '?' when lexing forward., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ec19a472ec 318/500: Update documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 75b907c767 328/500: Improve indentation of function bodies., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 78c3832e48 333/500: Make smie-setup optional, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 56748ac556 457/500: Merge pull request #136 from bcc32/replace-buffer-contents, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e61ecb95ef 456/500: Merge pull request #137 from bcc32/nix-format-before-save, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0d65c482b2 477/500: nix-flake: Avoid use of flatten-list to support older Emacs versions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 07b6069c78 491/500: nix-flake: Fix an unexpected error in assert,
ELPA Syncer <=
- [nongnu] elpa/nix-mode 14f1bb20b9 487/500: chore: Bump install-nix-action to v14.1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 00b2b8da57 500/500: Merge pull request #145 from NixOS/dependabot/github_actions/cachix/install-nix-action-16, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1e0709acde 028/500: Fixup indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode aee3dea8ec 031/500: Refactor font lock, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 8cb5ba0bc8 048/500: Change nix keymaps, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 76df9f3e6b 044/500: Add let indent level counter., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 7fbc65ae68 101/500: Merge pull request #16 from ljli/fontification-improvs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 070891aae4 105/500: Fix lexical bindings., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ae17e75812 120/500: First try at smie from damiencassou/nix-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c758b179e9 184/500: Add nix-shebang, ELPA Syncer, 2022/01/29