Browse Source

disable auto indent when text-mode

pull/1/head
10sr 12 years ago
parent
commit
42dcd437d5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -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 "<up>") 'comint-previous-input)
(define-key inferior-python-mode-map (kbd "<down>") 'comint-next-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")) (add-to-list 'Info-default-directory-list (expand-file-name "~/.info/emacs-ja"))


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


Loading…
Cancel
Save