Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge remote-tracking branch 'dotemacs/git-version-detection' into ed…

…it-master
  • Loading branch information...
commit 35de3b495acfb671e986b34d9c30e350650064e6 2 parents 9401b1c + 8efd9c6
@byplayer byplayer authored
Showing with 3 additions and 7 deletions.
  1. +3 −7 egg.el
View
10 egg.el
@@ -6532,13 +6532,9 @@ egg in current buffer.\\<egg-minor-mode-map>
(make-local-variable 'egg-minor-mode)
(egg-minor-mode 1)))
-(when (or
- (string-match "\\`git version 1.6."
- (shell-command-to-string
- (concat egg-git-command " --version")))
- (string-match "\\`git version 1.7."
- (shell-command-to-string
- (concat egg-git-command " --version"))))
+(when (string-match "\\`git version 1.\\(6\\|7\\)."
+ (shell-command-to-string
+ (concat egg-git-command " --version")))
(or (assq 'egg-minor-mode minor-mode-alist)
(setq minor-mode-alist
(cons '(egg-minor-mode egg-minor-mode-name) minor-mode-alist)))
Please sign in to comment.
Something went wrong with that request. Please try again.