From 4b11c1cbfacbc0448aaa7205b43157aef016787c Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 23 Apr 2019 15:37:53 +0900 Subject: [PATCH] Add coment --- emacs.el | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/emacs.el b/emacs.el index c299b5b..f65657e 100644 --- a/emacs.el +++ b/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))))