[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat cac9929134 2/2: Check if nadvice is available us
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat cac9929134 2/2: Check if nadvice is available using fboundp |
Date: |
Wed, 23 Feb 2022 12:57:22 -0500 (EST) |
branch: externals/compat
commit cac99291348be757cddc57d54f26d9bfd4d5381c
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Check if nadvice is available using fboundp
---
compat-tests.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/compat-tests.el b/compat-tests.el
index 820927e6ac..30b58b74f3 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -121,9 +121,9 @@ the compatibility function."
-(require 'package)
-(package-initialize)
-(unless (package-installed-p 'nadvice)
+(unless (fboundp 'nadvice)
+ (require 'package)
+ (package-initialize)
(package-install 'nadvice))
(ert-deftest compat-string-search ()