1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(sc-read-string): Don't pass a history arg to read-string.

This commit is contained in:
Richard M. Stallman 1993-12-23 03:42:20 +00:00
parent f5a131d8fd
commit 08ffcab37e

View file

@ -499,8 +499,9 @@ In version 18, the HISTORY argument is ignored."
"Compatibility between Emacs 18 and 19 `read-string'.
In version 18, the HISTORY argument is ignored."
(if (memq 'v19 sc-emacs-features)
(funcall 'read-string prompt initial-contents history)
(funcall 'read-string prompt initial-contents)))
;; maybe future versions will take a `history' argument:
(read-string prompt initial-contents)
(read-string prompt initial-contents)))
(defun sc-submatch (matchnum &optional string)
"Returns `match-beginning' and `match-end' sub-expression for MATCHNUM.