branch: scratch/gited commit a72bdca74a96a361c8fd1f9be85f4aa5fbd40542 Author: Tino Calancha <tino.calan...@gmail.com> Commit: Tino Calancha <tino.calan...@gmail.com>
* gited.el (gited-remote-repository-p): Don't include origin in regexp. --- packages/gited/gited.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gited/gited.el b/packages/gited/gited.el index ffa98c9..3869264 100644 --- a/packages/gited/gited.el +++ b/packages/gited/gited.el @@ -10,9 +10,9 @@ ;; Compatibility: GNU Emacs: 24.4 ;; Version: 0.2.0 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5")) -;; Last-Updated: Thu Jun 08 09:36:32 JST 2017 +;; Last-Updated: Thu Jun 08 12:36:44 JST 2017 ;; By: calancha -;; Update #: 646 +;; Update #: 647 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; @@ -881,7 +881,7 @@ You can then feed the file name(s) to other commands with \\[yank]." (defun gited-remote-repository-p () "Return non-nil if current repository is remote." - (let ((regexp "^remote.origin")) + (let ((regexp "^remote\.")) (with-temp-buffer (gited-git-command '("config" "--local" "--list") (current-buffer)) (goto-char 1)