Browse Source

Fix

master
10sr 6 years ago
parent
commit
6b41326fca
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -944,6 +944,7 @@ found, otherwise returns nil."
(pipenv-projectile-after-switch-default))) (pipenv-projectile-after-switch-default)))
) )
(set-variable 'flycheck-python-pycompile-executable "python3") (set-variable 'flycheck-python-pycompile-executable "python3")
(set-variable 'python-indent-guess-indent-offset nil)


;; http://fukuyama.co/foreign-regexp ;; http://fukuyama.co/foreign-regexp
'(and (safe-require-or-eval '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) (let ((worktree nil)
(head nil) (head nil)
(branch nil)) (branch nil))
(while (re-search-forward "^\\([^ ]\+\\) \\(.*\\)$" (point-at-eol) t)
(while (re-search-forward "^\\([^ ]+\\) \\(.*\\)$" (point-at-eol) t)
(pcase (match-string 1) (pcase (match-string 1)
("worktree" (setq worktree (match-string 2))) ("worktree" (setq worktree (match-string 2)))
("HEAD" (setq head (match-string 2))) ("HEAD" (setq head (match-string 2)))


Loading…
Cancel
Save