瀏覽代碼

disable auto indent when text-mode

pull/1/head
10sr 12 年之前
父節點
當前提交
42dcd437d5
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el 查看文件

@@ -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")


Loading…
取消
儲存