1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 02:50:26 -08:00

Delete mystery code from cperl-mode.el

* lisp/progmodes/cperl-mode.el: Delete commented out code referring to
some 'edit-var-mode-alist' that we don't think is used for anything.
This commit is contained in:
Stefan Kangas 2022-09-16 21:19:46 +02:00
parent 74df877043
commit b45c6cbf7c

View file

@ -958,13 +958,6 @@ Unless KEEP, removes the old indentation."
"Abbrev table in use in CPerl mode buffers."
:parents (list cperl-mode-electric-keywords-abbrev-table))
;; ;; TODO: Commented out as we don't know what it is used for. If
;; ;; there are no bug reports about this for Emacs 28.1, this
;; ;; can probably be removed. (Code search online reveals nothing.)
;; (when (boundp 'edit-var-mode-alist)
;; ;; FIXME: What package uses this?
;; (add-to-list 'edit-var-mode-alist '(perl-mode (regexp . "^cperl-"))))
(defvar cperl-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "{" 'cperl-electric-lbrace)