[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 085adeb9e7: Fix error with symbols not linked to a li
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 085adeb9e7: Fix error with symbols not linked to a library |
Date: |
Sat, 3 Jun 2023 04:01:17 -0400 (EDT) |
branch: elpa/helm
commit 085adeb9e7fc8824918e65d9b602da7deb4f549a
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix error with symbols not linked to a library
---
helm-lib.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/helm-lib.el b/helm-lib.el
index 9fc1ed7106..3e6d6ffd3d 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -1278,9 +1278,12 @@ TYPE when nil specify function, for other values see
(or (symbol-file sym it)
(help-C-file-name sym 'var)))
(t (cdr (find-function-library sym)))))
- (library (find-library-name
- (helm-basename symbol-lib t))))
- (find-function-search-for-symbol sym type library)))
+ (library (and symbol-lib
+ (find-library-name
+ (helm-basename symbol-lib t)))))
+ (if library
+ (find-function-search-for-symbol sym type library)
+ (error "Don't know where `%s' is defined" sym))))
(defun helm-find-function (func)
"Try to jump to FUNC definition.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/helm 085adeb9e7: Fix error with symbols not linked to a library,
ELPA Syncer <=