]> git.eshelyaron.com Git - emacs.git/commit
verilog-mode.el: Don't bind `inhibit-point-motion-hooks`
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 17:54:36 +0000 (13:54 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Oct 2022 17:54:36 +0000 (13:54 -0400)
commitc61010567f418e38dad2fcdc4e102c0561ce23c3
tree2681a2afb1bfe3970d39b29ea38360e5fcf8b455
parent3c7f05133c80ccb48b5adeeed28a36a4039bfe45
verilog-mode.el: Don't bind `inhibit-point-motion-hooks`

Keep binding it in Emacs<25 but not in Emacs≥25 (where such bindings
are redundant and the var is declared obsolete).

* lisp/progmodes/verilog-mode.el (verilog-save-buffer-state):
Don't bind `inhibit-point-motion-hooks` if Emacs≥25.
(verilog-save-font-no-change-functions): Same, and refrain from
binding `before/after-change-functions` as well while we're at it,
since `inhibit-modification-hooks` already covers it in Emacs≥25.
lisp/progmodes/verilog-mode.el