]> git.eshelyaron.com Git - emacs.git/commit
Speed up auto-completion in 'sh-script-mode'
authorYikai Zhao <yikai@z1k.dev>
Tue, 29 Nov 2022 14:30:14 +0000 (22:30 +0800)
committerEli Zaretskii <eliz@gnu.org>
Fri, 2 Dec 2022 13:42:09 +0000 (15:42 +0200)
commitf72cda2b822e0726f46a8caa4ec0b8e7ddae2584
treeeff86708498ab33098d4dcc6a8786390f39c1924
parente5b0141b0d7231426971763486b9cec0aac77a88
Speed up auto-completion in 'sh-script-mode'

* lisp/progmodes/sh-script.el (sh--cmd-completion-table-gen): New
function, replacement for 'sh--cmd-completion-table'.
(sh--cmd-completion-table): Function removed.
(sh-completion-at-point-function): Use
'sh--cmd-completion-table-gen'.  (Bug#59678)
lisp/progmodes/sh-script.el