1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Match recent version of GNU global in CEDET

* lisp/cedet/cedet-global.el (cedet-gnu-global-version-check):
Match recent version of GNU global.  (Bug#62581)
This commit is contained in:
Stefan Kangas 2023-09-12 01:50:28 +02:00
parent 6acb3c5b05
commit 37c4f6103e

View File

@ -152,7 +152,14 @@ return nil."
nil)
(with-current-buffer b
(goto-char (point-min))
(re-search-forward "(?GNU GLOBAL)? \\([0-9.]+\\)" nil t)
(re-search-forward
(rx (or
;; global (Global) 6.6.10
"global (Global)"
(seq (opt "(") "GNU GLOBAL" (opt ")")))
" "
(group (one-or-more (any "0-9."))))
nil t)
(setq rev (match-string 1))
(if (version< rev cedet-global-min-version)
(if noerror