APPROVE COMMIT
NOTE: This patch has been commited
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1508392033 -3600
# Thu Oct 19 06:47:13 2017 +0100
# Node ID 3fa6bfc3ea4bb6bf9f2b354b9c5927232e23d7b0
# Parent 95a188885942f52fda8d85b7f132163a90fd8943
Use elisp_maphash(), #'apropos-internal, PREDICATE can call Lisp
src/ChangeLog addition:
2017-10-19 Aidan Kehoe <kehoea(a)parhasard.net>
* symbols.c (Fapropos_internal):
PREDICATE can call Lisp, use elisp_maphash() instead of
elisp_maphash_unsafe() in this function.
diff -r 95a188885942 -r 3fa6bfc3ea4b src/ChangeLog
--- a/src/ChangeLog Tue Oct 17 14:48:30 2017 +0100
+++ b/src/ChangeLog Thu Oct 19 06:47:13 2017 +0100
@@ -1,3 +1,9 @@
+2017-10-19 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * symbols.c (Fapropos_internal):
+ PREDICATE can call Lisp, use elisp_maphash() instead of
+ elisp_maphash_unsafe() in this function.
+
2017-10-17 Aidan Kehoe <kehoea(a)parhasard.net>
* sequence.c (position):
diff -r 95a188885942 -r 3fa6bfc3ea4b src/symbols.c
--- a/src/symbols.c Tue Oct 17 14:48:30 2017 +0100
+++ b/src/symbols.c Thu Oct 19 06:47:13 2017 +0100
@@ -195,7 +195,7 @@
closure.predicate = predicate;
closure.accumulation = Qnil;
GCPRO1 (closure.accumulation);
- elisp_maphash_unsafe (apropos_mapper, package, &closure);
+ elisp_maphash (apropos_mapper, package, &closure);
closure.accumulation = list_sort (closure.accumulation,
check_string_lessp_nokey, Qnil, Qnil);
UNGCPRO;
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)
Show replies by date