branch: externals/marginalia
commit 7d3719d629647ee17cb72b785d6269ac4b9abc04
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Fix advice skipping regexp for older Emacsen
This is to fix my fix for issue #19
---
marginalia.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/marginalia.el b/marginalia.el
index f83e3de..2020a3d 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -300,7 +300,7 @@ This hash table is needed to speed up
`marginalia-annotate-command-binding'.")
(when-let ((doc (ignore-errors (documentation sym))))
(replace-regexp-in-string
(rx bos
- (1+ (seq "This function has "
+ (1+ (seq (? "This function has ")
(or ":before" ":after" ":around" ":override"
":before-while" ":before-until" ":after-while"
":after-until" ":filter-args" ":filter-return")