mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-28 10:56:36 +00:00
* lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
Make it actually work. (Bug#22265) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
73809908c6
commit
5330c255b5
@ -1174,9 +1174,10 @@ the remaining input.")
|
||||
|
||||
(defun xscheme-prompt-for-expression-exit ()
|
||||
(interactive)
|
||||
(if (eq (xscheme-region-expression-p (point-min) (point-max)) 'one)
|
||||
(if (eq (xscheme-region-expression-p (minibuffer-prompt-end) (point-max))
|
||||
'one)
|
||||
(exit-minibuffer)
|
||||
(error "input must be a single, complete expression")))
|
||||
(error "Input must be a single, complete expression")))
|
||||
|
||||
(defun xscheme-region-expression-p (start end)
|
||||
(save-excursion
|
||||
|
Loading…
Reference in New Issue
Block a user