From 197e783f289fb4fcb3129440a708ffd0c2f9e064 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 28 Aug 2023 13:31:43 -0700 Subject: [PATCH] make sure cperl can be deferred --- emacs_el/configuration/don-configuration.org | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index 39fb785..119bf3a 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -608,15 +608,15 @@ value, scrolling continues until there is no more output. ** Perl #+BEGIN_SRC emacs-lisp (use-package cperl-mode + :mode ("\\.pl'" . cperl-mode) + ("\\.perl5\\'" . cperl-mode) + ("\\.perl\\'" . cperl-mode) + ("\\.miniperl\\'" . cperl-mode) + ("\\.\\([Pp][Llm]\\|al\\)\\'" . cperl-mode) + ;; use c-mode for perl .xs files + ("\\.xs\\'" . c-mode) :config - (progn - ;; Use c-mode for perl .xs files - (add-to-list 'auto-mode-alist '("\\.xs\\'" . c-mode)) - (add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-mode)) - (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode)) - (add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode)) - (add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode)) - (setq cperl-hairy t + (setq cperl-hairy t cperl-indent-level 4 cperl-auto-newline nil cperl-auto-newline-after-colon nil -- 2.39.2