瀏覽代碼

Add coment

master
10sr 5 年之前
父節點
當前提交
4b11c1cbfa
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 18 次插入13 次删除
  1. +18
    -13
      emacs.el

+ 18
- 13
emacs.el 查看文件

@@ -800,15 +800,15 @@ found, otherwise returns nil."
;; Use gfind if available?
"find"))
(findcmd (concat "set -eu; set -o pipefail; "
"echo .; "
"echo ..; "
"command " find " -L . "
"-mindepth 1 "
"\\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune "
"-o -print "
"2> /dev/null "
"| "
"cut -b3-"))
"echo .; "
"echo ..; "
"command " find " -L . "
"-mindepth 1 "
"\\( -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \\) -prune "
"-o -print "
"2> /dev/null "
"| "
"cut -b3-"))
(fdcmd (concat "set -eu; set -o pipefail; "
"echo .; "
"echo ..; "
@@ -916,6 +916,11 @@ found, otherwise returns nil."
(setq auto-save-visited-interval 8)
(auto-save-visited-mode 1)

;; (add-to-list 'auto-save-file-name-transforms
;; `(".*" ,(concat user-emacs-directory "auto-save-dir") t))
;; (setq auto-save-interval 3)
;; (auto-save-mode 1)

(add-to-list 'completion-ignored-extensions ".bak")
(set-variable 'completion-cycle-threshold nil) ;; NEVER use
(setq delete-by-moving-to-trash t)
@@ -1972,8 +1977,8 @@ and search from projectile root (if projectile is available)."
(safe-require-or-eval 'projectile)
(projectile-project-p))
(projectile-with-default-dir (projectile-project-root)
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode)))

@@ -1991,8 +1996,8 @@ and search from projectile root (if projectile is available)."
(if (safe-require-or-eval 'projectile)
(projectile-with-default-dir (or (projectile-project-root)
default-directory)
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))
(compilation-start command-args
'grep-mode))))



Loading…
取消
儲存