diff --git a/modules/config/default/autoload/default.el b/modules/config/default/autoload/default.el index 6a56f8c74..1f9d70cea 100644 --- a/modules/config/default/autoload/default.el +++ b/modules/config/default/autoload/default.el @@ -18,10 +18,13 @@ If ARG (universal argument), runs `compile' from the current directory." ;;;###autoload (defun +default/man-or-woman () - "Invoke `man' if man is installed, otherwise use `woman'." + "Invoke `man' if man is installed and the platform is not MacOS, otherwise use `woman'. + +`man -k \"^\"` is very slow on MacOS, which is what `Man-completion-table' uses to +generate `completing-read' candidates." (interactive) (call-interactively - (if (executable-find "man") + (if (and (not IS-MAC) (executable-find "man")) #'man #'woman)))