diff options
| author | Torbjörn Norinder <torbjorn@genunix.se> | 2025-11-17 10:54:33 +0100 |
|---|---|---|
| committer | Torbjörn Norinder <torbjorn@genunix.se> | 2025-11-17 10:54:33 +0100 |
| commit | 98e70163bdb73fa72a58119ad16f00155054e49b (patch) | |
| tree | 5071e48fc1f37f4847b12b2edbbd8d9520df0bda | |
| parent | 1371a1e33e3a3d96557beb28dccf1fa762f6ae22 (diff) | |
Fix export of apropos data.
The sort override was missing a few arguments. Side-step the whole
process by adding varargs.
| -rw-r--r-- | embark.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3377,7 +3377,7 @@ PRED is a predicate function used to filter the items." (embark--export-rename "*Apropos*" "Apropos" (apropos-parse-pattern "") ;; Initialize apropos pattern ;; HACK: Ensure that order of exported symbols is kept. - (cl-letf (((symbol-function #'sort) (lambda (list _pred) (nreverse list)))) + (cl-letf (((symbol-function #'sort) (lambda (list &rest _args) (nreverse list)))) (apropos-symbols-internal (delq nil (mapcar #'intern-soft symbols)) (bound-and-true-p apropos-do-all))))) |
