]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/cperl-mode.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 Dec 2017 06:12:26 +0000 (01:12 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 Dec 2017 06:12:26 +0000 (01:12 -0500)
commitb003171d27dfa4f0a5e6f8d9eb632b1930748e95
treece0a6f6e965d52d04a702c09851c9b91d7bf8650
parent1bcbcb7e486008d4fc449088e49da6c52ba88bee
* lisp/progmodes/cperl-mode.el: Use lexical-binding

Drop some support code for Emacs-19.  Remove unused args and vars.
(cperl-mark-active): Remove, use region-active-p.
(cperl-use-region-p): Remove, use use-region-p.
(cperl-can-font-lock, cperl-enable-font-lock, cperl-emacs-can-parse):
Remove, obsolete.
(cperl-mode-map): Move initialization into declaration.
lisp/progmodes/cperl-mode.el