浏览代码

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 (add-hook 'conf-mode-hook
'my-set-require-final-newline) '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 ;; Used from term-cursor
;; hbar is too hard to find... ;; hbar is too hard to find...
(defun my-cursor-type-change (&rest args) (defun my-cursor-type-change (&rest args)


正在加载...
取消
保存