diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 1a50439..8ca4e5b 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -42,6 +42,9 @@ (add-hook 'cperl-mode-hook (lambda () (setq-local local-abbrev-table nil))) +;; Treat - as part of work in elisp +(add-hook 'emacs-lisp-mode-hook + (lambda () (modify-syntax-entry ?- "w"))) ;; Enable backup (setq make-backup-files t)