emacs - treat dash as part of word in elisp mode
This commit is contained in:
parent
45fb7d55bb
commit
763d5683e8
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue