|
|
@@ -280,9 +280,9 @@ found, otherwise returns nil." |
|
|
|
system-name |
|
|
|
(abbreviate-file-name default-directory))) |
|
|
|
|
|
|
|
(run-with-idle-timer 3 |
|
|
|
t |
|
|
|
'my-message-current-info) |
|
|
|
;; (run-with-idle-timer 3 |
|
|
|
;; t |
|
|
|
;; 'my-message-current-info) |
|
|
|
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
|
|
;; minibuffer |
|
|
@@ -653,6 +653,17 @@ found, otherwise returns nil." |
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
|
|
;; some modes and hooks |
|
|
|
|
|
|
|
;; todo: reg major mode when set explicitly |
|
|
|
|
|
|
|
;; Detect file type from shebang and set major-mode. |
|
|
|
(add-to-list 'interpreter-mode-alist |
|
|
|
'("python3" . python-mode)) |
|
|
|
(add-to-list 'interpreter-mode-alist |
|
|
|
'("python2" . python-mode)) |
|
|
|
|
|
|
|
;; (add-hook default-majorg-mode |
|
|
|
;; 'my-detect-major-mode-from-shebang) |
|
|
|
|
|
|
|
;; http://fukuyama.co/foreign-regexp |
|
|
|
'(and (fetch-library |
|
|
|
"https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" |
|
|
|