~bkhl/dotfiles

10032cadc2ca6cd5750855e732387c4e0995d536 — Björn Lindström 6 months ago 37655cd
Corrected Perl use-package

Adding to major-mode-remap-alist in :config would make that load only after the
first time using perl-mode.
1 files changed, 5 insertions(+), 4 deletions(-)

M .emacs.d/configuration.org
M .emacs.d/configuration.org => .emacs.d/configuration.org +5 -4
@@ 656,13 656,14 @@ This enables the [[https://github.com/joaotavora/eglot][Eglot]] LSP client. This
(use-package cperl-mode
  :custom
  (cperl-file-style "PBP")
  :hook
  (cperl-mode . my/add-perl-prettify-symbols)
  :config
  :init
  (add-to-list 'major-mode-remap-alist '(perl-mode . cperl-mode))
  :config
  (defun my/add-perl-prettify-symbols ()
    (setq-local prettify-symbols-alist '(("->" . ?→)
                                         ("=>" . ?⇒)))))
                                         ("=>" . ?⇒))))
  :hook
  (cperl-mode . my/add-perl-prettify-symbols))
#+end_src

**** Prolog