[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 14322f186f 189/500: Use locate-library instead of
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 14322f186f 189/500: Use locate-library instead of find-library |
Date: |
Sat, 29 Jan 2022 08:27:05 -0500 (EST) |
branch: elpa/nix-mode
commit 14322f186fc2a36bfb7d5351bc80e24c50cf6e3e
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>
Use locate-library instead of find-library
find-library opens a new buffer
---
nix-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nix-mode.el b/nix-mode.el
index 8b56aba274..c3463b72b4 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -462,8 +462,8 @@ STRING-TYPE type of string based off of Emacs syntax table
types"
(nix-create-menu)
;; TODO: find a better way to load this
-(when (find-library "company") (require 'nix-company nil 'noerror))
-(when (find-library "mmm-mode") (require 'nix-mode-mmm nil 'noerror))
+(when (locate-library "company") (require 'nix-company nil 'noerror))
+(when (locate-library "mmm-mode") (require 'nix-mode-mmm nil 'noerror))
;;;###autoload
(defun nix-build (&optional attr dir)
- [nongnu] elpa/nix-mode 55b0ea2d96 132/500: Merge pull request #18 from matthewbauer/more-modes, (continued)
- [nongnu] elpa/nix-mode 55b0ea2d96 132/500: Merge pull request #18 from matthewbauer/more-modes, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d9c1d4d4a4 152/500: Remove maintained modes, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 594b979c91 140/500: Missed one, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d1650d795c 151/500: Cleanup documentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode be839f971b 157/500: Use nix-mode-mmm when mmm-mode is available, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode a1860c6bde 144/500: Handle projectile projects, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 50470960c6 154/500: Don’t require nix-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ccf4c9ad64 164/500: Update URLs to this repository, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode bd7d93998f 163/500: Fix some grammar issues in README, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 84996a7804 158/500: Fix checkdoc errors., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 14322f186f 189/500: Use locate-library instead of find-library,
ELPA Syncer <=
- [nongnu] elpa/nix-mode a3eb135716 492/500: nix-flake: Fix miscomparison to avoid repeatedly adding to registry, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 2a24b400b6 485/500: chore: Bump install-nix-action to v14.1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ce7996c6e7 476/500: nix-flake: Cosmetics, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 3d4f24b2b6 472/500: nix-flake: Allow switching the flake inside nix-flake-dispatch, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 5fb9df6f69 497/500: chore(deps): bump cachix/install-nix-action from 14.1 to 16, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 687665a6b0 001/500: Initial commit, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e6b9f1b939 016/500: Add menu bar., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ae68b456f8 022/500: Refactor font lock, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 7b47e2b4bc 042/500: Fix formatting., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 570d60d460 045/500: Rewrite nix-indent-level-parens with while loop., ELPA Syncer, 2022/01/29