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:
parent
f5a131d8fd
commit
08ffcab37e
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue