emacs/lisp/emulation
Stefan Monnier 16975078b4 * lisp/emulation/: Use lexical-binding
* lisp/emulation/cua-base.el: Use lexical-binding.
Remove redundant `:group` arguments.
(cua-mode): Don't use `:require` since the autoload on `define-minor-mode`
takes care of loading the mode when custom-setting it.

* lisp/emulation/cua-gmrk.el: Use lexical-binding.
(cua--copy-rectangle-to-global-mark): Remove unused var `src-buf`.

* lisp/emulation/edt-mapper.el: Use lexical-binding.

* lisp/emulation/edt.el: Use lexical-binding.
Remove redundant `:group` arguments.
(edt-with-position): Allow `top`, `left`, and `far` to be left unused
in `body`.

* lisp/emulation/keypad.el: Use lexical-binding.

* lisp/emulation/viper-cmd.el: Move `provide` to the end.
(viper-read-string-with-history): Strength reduce `eval` to `symbol-value`.

* lisp/emulation/viper-ex.el: Use lexical-binding.
Remove redundant `:group` arguments.
Move `provide` to the end.

* lisp/emulation/viper-init.el: Use lexical-binding.

* lisp/emulation/viper-keym.el (viper-toggle-key): Use `dolist`.
(viper-insert-diehard-map): Use `string`.
(viper-modify-major-mode): Use `alist-get` and `setf`.

* lisp/emulation/viper-macs.el (viper-ex-work-buf):
Move `provide` to the end.
(viper-record-kbd-macro): Strength reduce `eval` to `symbol-value`.
(viper-describe-kbd-macros): Return value is not significant.
(viper-keyseq-is-a-possible-macro): Use `seq-some`.
(viper-common-seq-prefix): Use `seq-every-p`.

* lisp/emulation/viper-mous.el: Use lexical-binding.
Remove redundant `:group` arguments.
Move `provide` to the end.
(viper-remember-current-frame): Accept arbitrary ignored args.
(viper-parse-mouse-key): Strength reduce `eval` to `symbol-value`.
Remove unused var `key-spec`.
(viper-bind-mouse-search-key, viper-bind-mouse-insert-key):
Apply de Morgan.

* lisp/emulation/viper-util.el: Move `provide` to the end.
(viper-move-marker-locally, viper-push-onto-ring, viper-save-setting):
Strength reduce `eval` to `symbol-value`.
(viper-event-vector-p, viper-char-symbol-sequence-p, viper-char-array-p):
Use `seq-every-p`.

* lisp/emulation/viper.el (viper-non-hook-settings): Eta-reduce use of
`viper-remember-current-frame`.
2021-03-06 13:03:29 -05:00
..
cua-base.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
cua-gmrk.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
cua-rect.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
edt-lk201.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
edt-mapper.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
edt-pc.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
edt-vt100.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
edt.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
keypad.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-cmd.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-ex.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-init.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-keym.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-macs.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-mous.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper-util.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00
viper.el * lisp/emulation/: Use lexical-binding 2021-03-06 13:03:29 -05:00