diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2025-01-03 03:12:37 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2025-01-03 03:12:37 +0100 |
commit | 004a48b3d46af169cbc1c9a690de7ad71483862c (patch) | |
tree | 3d393b1f5fdb19d41e30f50ee546ad8cf0d5bd73 /lisp/emacs-lisp/generate-lisp-file.el | |
parent | 58c95e9bab21b313661503f0499f14e1e0ad038d (diff) | |
download | emacs-004a48b3d46af169cbc1c9a690de7ad71483862c.tar.gz emacs-004a48b3d46af169cbc1c9a690de7ad71483862c.tar.bz2 emacs-004a48b3d46af169cbc1c9a690de7ad71483862c.zip |
Re-enable caching for 'M-x man' completion on macOS
On macOS, getting the completion results when you type 'M-x man RET' can
take up to several seconds, even on a reasonably modern MacBook Pro,
probably due to the lack of man-db and the need to process the output.
Caching of "man -k ^" completion results was added in 2009 due to
perceived slowness on some systems, but was unfortunately effectively
disabled again in 2013. Let's re-enable it on macOS.
* lisp/man.el (Man-cache-completion-results-flag): New variable
set to t by default on macOS, and nil elsewhere.
(man): Cache completion results when above new variable is t.
Diffstat (limited to 'lisp/emacs-lisp/generate-lisp-file.el')
0 files changed, 0 insertions, 0 deletions