]> git.eshelyaron.com Git - emacs.git/commit
* lisp/jit-lock.el (jit-lock-mode): Pass `local` to add-hook
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 28 Mar 2020 14:16:58 +0000 (10:16 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 28 Mar 2020 14:16:58 +0000 (10:16 -0400)
commitdceba13ce57ed0cb726e89566197f77359a38d91
treee6a49fc4b4ad78aed7c81808550abc1fea27eac8
parenta7e3516571e72e58bb4b5d19eca5feca41135f57
* lisp/jit-lock.el (jit-lock-mode): Pass `local` to add-hook

The old code used local=nil knowing that add-hook would affect the
local part only anyway.  Remove this hideous assumption.
Remove redundant `:group` args while we're at it.
lisp/jit-lock.el