瀏覽代碼

Add

master
10sr 1 月之前
父節點
當前提交
1ab3bac137
無法提取簽署
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el 查看文件

@@ -378,6 +378,16 @@ Otherwize hook it."
(add-hook 'conf-mode-hook
'my-set-require-final-newline)

(defun my-set-configure-gitconfig ()
"Configure .gitconfig and .git/config ."
(when (cl-loop for re in '("/.gitconfig\\'" "/.git/config\\'")
if (string-match-p re buffer-file-name) return t
finally return nil)
(setq indent-tabs-mode t)))

(add-hook 'conf-mode-hook
'my-set-configure-gitconfig)

;; Used from term-cursor
;; hbar is too hard to find...
(defun my-cursor-type-change (&rest args)


Loading…
取消
儲存