emacs - treat dash as part of word in elisp mode

This commit is contained in:
madmaurice 2017-10-14 12:33:47 +02:00
parent 45fb7d55bb
commit 763d5683e8

View file

@ -42,6 +42,9 @@
(add-hook 'cperl-mode-hook (add-hook 'cperl-mode-hook
(lambda () (setq-local local-abbrev-table nil))) (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 ;; Enable backup
(setq make-backup-files t) (setq make-backup-files t)