From 6b41326fca84504ef0e43c357cb5ea39d604f28e Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 6 Nov 2018 16:37:31 +0900 Subject: [PATCH] Fix --- emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 414b34e..07424c9 100644 --- a/emacs.el +++ b/emacs.el @@ -944,6 +944,7 @@ found, otherwise returns nil." (pipenv-projectile-after-switch-default))) ) (set-variable 'flycheck-python-pycompile-executable "python3") +(set-variable 'python-indent-guess-indent-offset nil) ;; http://fukuyama.co/foreign-regexp '(and (safe-require-or-eval 'foreign-regexp) @@ -3044,7 +3045,7 @@ If target path is not found in COMMITISH tree, go up path and try again until fo (let ((worktree nil) (head nil) (branch nil)) - (while (re-search-forward "^\\([^ ]\+\\) \\(.*\\)$" (point-at-eol) t) + (while (re-search-forward "^\\([^ ]+\\) \\(.*\\)$" (point-at-eol) t) (pcase (match-string 1) ("worktree" (setq worktree (match-string 2))) ("HEAD" (setq head (match-string 2)))