Commit 8af9cb22 authored by Reuben Thomas's avatar Reuben Thomas
Browse files

Remove meaningless defconst ispell-version

* lisp/textmodes/ispell.el (ispell-version): Since ispell.el is now
firmly part of Emacs, and the version hasn’t changed since 2003, and
isn’t used anywhere, remove it.  3rd-party code can better use the
Emacs version, or feature or function checks.
(ispell-check-version): No longer report ispell.el version.
parent e1aa7888
......@@ -671,11 +671,6 @@ here just for backwards compatibility.")
;;; The following are used by ispell, and should not be changed.
;;; **********************************************************************
(defconst ispell-version "ispell.el 3.6 - 7-Jan-2003")
(defun ispell-check-version (&optional interactivep)
"Ensure that `ispell-program-name' is valid and has the correct version.
Returns version number if called interactively.
......@@ -710,13 +705,11 @@ Otherwise returns the library directory name, if that is defined."
(if (string-match "\\`aspell" speller) "-v" "-vv"))))
(goto-char (point-min))
(if interactivep
;; Report version information of ispell and ispell.el
;; Report version information of ispell
(setq result (concat (buffer-substring-no-properties (point-min)
", "
(setq result (buffer-substring-no-properties (point-min)
(message "%s" result))
;; return LIBDIR or LIBRARYVAR (overrides LIBDIR) env.
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