diff --git a/.editorconfig b/.editorconfig index c0a2752..4b9fbf7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -43,3 +43,8 @@ charset = utf-16be [latin1*.txt] charset = latin1 + +[tabindent.js] +indent_style = tab +indent_size = 5 +tab_width = 5 diff --git a/emacs.el b/emacs.el index 8f9bd65..e81b1c2 100644 --- a/emacs.el +++ b/emacs.el @@ -432,6 +432,11 @@ Otherwize hook it." ;; C-h and DEL (global-set-key (kbd "C-h") (kbd "DEL")) ;; (normal-erase-is-backspace-mode 1) +;; M-SPC fixup-whitespace] +(when (fboundp 'global-hungry-delete-mode) + (set-variable 'hungry-delete-join-reluctantly t) + (add-hook 'after-first-visit-hook + 'global-hungry-delete-mode)) ;;(global-set-key (kbd "C-m") 'reindent-then-newline-and-indent) (global-set-key (kbd "C-m") 'newline-and-indent)