Przeglądaj źródła

disable auto indent when text-mode

pull/1/head
10sr 12 lat temu
rodzic
commit
42dcd437d5
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el Wyświetl plik

@@ -604,6 +604,10 @@ return nil if LIB unfound and downloading failed, otherwise the path of LIB."
(define-key inferior-python-mode-map (kbd "<up>") 'comint-previous-input)
(define-key inferior-python-mode-map (kbd "<down>") 'comint-next-input)))

(add-hook 'text-mode-hook
(lambda ()
(define-key text-mode-map (kbd "C-m") 'newline)))

(add-to-list 'Info-default-directory-list (expand-file-name "~/.info/emacs-ja"))

(setq bookmark-default-file "~/.emacs.d/bmk")


Ładowanie…
Anuluj
Zapisz