10sr 7 лет назад
Родитель
Сommit
6b41326fca
Подписано: 10sr Идентификатор GPG ключа: 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))) (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)))


Загрузка…
Отмена
Сохранить