|
@@ -675,9 +675,6 @@ found, otherwise returns nil." |
|
|
(add-to-list 'interpreter-mode-alist |
|
|
(add-to-list 'interpreter-mode-alist |
|
|
'("python2" . python-mode)) |
|
|
'("python2" . python-mode)) |
|
|
|
|
|
|
|
|
;; (add-hook default-majorg-mode |
|
|
|
|
|
;; 'my-detect-major-mode-from-shebang) |
|
|
|
|
|
|
|
|
|
|
|
;; http://fukuyama.co/foreign-regexp |
|
|
;; http://fukuyama.co/foreign-regexp |
|
|
'(and (fetch-library |
|
|
'(and (fetch-library |
|
|
"https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" |
|
|
"https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" |
|
@@ -783,6 +780,11 @@ found, otherwise returns nil." |
|
|
(setq auto-mode-alist (append '(("PKGBUILD\\'" . pkgbuild-mode)) |
|
|
(setq auto-mode-alist (append '(("PKGBUILD\\'" . pkgbuild-mode)) |
|
|
auto-mode-alist))) |
|
|
auto-mode-alist))) |
|
|
|
|
|
|
|
|
|
|
|
(add-hook 'html-mode-hook |
|
|
|
|
|
(lambda () |
|
|
|
|
|
(define-key html-mode-map (kbd "C-m") |
|
|
|
|
|
'reindent-then-newline-and-indent))) |
|
|
|
|
|
|
|
|
(add-hook 'text-mode-hook |
|
|
(add-hook 'text-mode-hook |
|
|
(lambda () |
|
|
(lambda () |
|
|
(define-key text-mode-map (kbd "C-m") 'newline))) |
|
|
(define-key text-mode-map (kbd "C-m") 'newline))) |
|
|