]> git.eshelyaron.com Git - emacs.git/commit
* lisp/allout*.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 29 Mar 2021 19:29:26 +0000 (15:29 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 29 Mar 2021 19:29:26 +0000 (15:29 -0400)
commitfcc7373b28b41d6fb8d3767538bdb4b087ab0850
tree0ecb6fea110e4d704520a9d40d4501c4da1d861c
parent1440dbed544a76ee3b876cb573b5110211e798bb
* lisp/allout*.el: Use lexical-binding

* lisp/allout.el: Activate lexical-binding.
(allout-setup-menubar): Delete "complex no-op" function.
(allout-mode): Delete call to it.
(allout-hotspot-key-handler): Delete XEmacs-only code.
(allout-copy-exposed-to-buffer): Remove always-nil var `start-list`.

* lisp/allout-widgets.el: Activate lexical-binding.
(allout-item-icon-keymap): Use `ignore`.
(allout-widgets-exposure-change-processor): Use `cl-callf` instead of
relying on dynamic binding to apply some code to two different variables.
lisp/allout-widgets.el
lisp/allout.el