[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 2bb6c10 91/99: Check if function is bound before
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 2bb6c10 91/99: Check if function is bound before extracting documentation |
Date: |
Sun, 17 Oct 2021 05:58:03 -0400 (EDT) |
branch: externals/compat
commit 2bb6c107a8db6c3c62f3cfab7c1b45fc697ecb94
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Check if function is bound before extracting documentation
---
compat-macs.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compat-macs.el b/compat-macs.el
index 3f710d2..41dc3da 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -169,7 +169,7 @@ attributes (see `compat-generate-common')."
(lambda (&rest args)
,(format
"[Manual compatibility advice for `%S', defined in Emacs
%s]\n\n%s"
- name version (documentation name))
+ name version (if (fboundp name) (documentation name)
docstring))
(apply #',realname (cons (autoload-do-load ,oldfun)
args))))))))))
(lambda ()
(cond
- [elpa] externals/compat 954c97b 67/99: Update compat-tests header, (continued)
- [elpa] externals/compat 954c97b 67/99: Update compat-tests header, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 5cd751b 68/99: Mention GitHub issue tracker in README, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 598a040 69/99: Add :cond check to lookup-key, ELPA Syncer, 2021/10/17
- [elpa] externals/compat b16122b 71/99: Use explicit symbol names instead of alii, ELPA Syncer, 2021/10/17
- [elpa] externals/compat a7d9649 72/99: Manually advise functions when nadvice is not available, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 904d660 74/99: Add documentation to manual advice wrapper, ELPA Syncer, 2021/10/17
- [elpa] externals/compat e689153 76/99: Merge compile and run into one GitHub Action job, ELPA Syncer, 2021/10/17
- [elpa] externals/compat c37e1d1 80/99: Fix quoting in compat-macs' legacy advice installation, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 18c2bf9 83/99: Autoload advised functions is necessary, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 50767a8 90/99: Load deferred code even if file doesn't exist, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 2bb6c10 91/99: Check if function is bound before extracting documentation,
ELPA Syncer <=
- [elpa] externals/compat f4c0979 92/99: Prevent shadowing declarations in functional compatibility code, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 3257cf6 93/99: Implement TCO for named-let, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 347f5a8 94/99: Change version suffix to -rc, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 25879c7 95/99: Require instead of loading compat-*.el files, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 5506770 99/99: Update .elpaignore, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 084f18c 73/99: Declare compat functions used in file-name-with-extension, ELPA Syncer, 2021/10/17
- [elpa] externals/compat db218d0 79/99: Handle top-level JSON objects in Emacs 27.x, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 8981d4b 85/99: Handle multiple signals in string-replace test case, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 8ea6272 86/99: Add define-error compatibility function, ELPA Syncer, 2021/10/17
- [elpa] externals/compat 5d5b215 87/99: Factor out issue with should-error in Emacs 24.3, ELPA Syncer, 2021/10/17