Commit 27ce741e authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(check-ispell-version): Don't use match-beginning

to check if the match succeeded.
parent 285991dc
2000-12-02 Stefan Monnier <monnier@cs.yale.edu>
* textmodes/ispell.el (check-ispell-version): Don't use match-beginning
to check if the match succeeded.
2000-12-02 Gerd Moellmann <gerd@gnu.org>
* startup.el (use-fancy-splash-screens-p): New function.
......
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment