mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(check-ispell-version): Don't use match-beginning
to check if the match succeeded.
This commit is contained in:
parent
285991dceb
commit
27ce741e2b
2 changed files with 6 additions and 2 deletions
|
|
@ -747,8 +747,7 @@ Otherwise returns the library path if defined."
|
|||
ispell-version))
|
||||
(message result))
|
||||
;; return library path.
|
||||
(re-search-forward "LIBDIR = \\\"\\([^ \t\n]*\\)\\\"" nil t)
|
||||
(if (match-beginning 0)
|
||||
(if (re-search-forward "LIBDIR = \\\"\\([^ \t\n]*\\)\\\"" nil t)
|
||||
(setq result (buffer-substring (match-beginning 1) (match-end 1)))))
|
||||
(goto-char (point-min))
|
||||
(if (not (memq status '(0 nil)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue