瀏覽代碼

Fix

master
10sr 6 年之前
父節點
當前提交
6b41326fca
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      emacs.el

+ 2
- 1
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)))


Loading…
取消
儲存