changeset 3852:e365900ca7e7

* replace.el (query-replace-map): Make return exit query-replace, just like escape.
author Jim Blandy <jimb@redhat.com>
date Mon, 21 Jun 1993 00:45:17 +0000
parents dbdcbcbe910a
children d771acf8f6ef
files lisp/replace.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/replace.el	Mon Jun 21 00:25:57 1993 +0000
+++ b/lisp/replace.el	Mon Jun 21 00:45:17 1993 +0000
@@ -395,6 +395,8 @@
 (define-key query-replace-map "\e" 'exit)
 (define-key query-replace-map [escape] 'exit)
 (define-key query-replace-map "q" 'exit)
+(define-key query-replace-map "\r" 'exit)
+(define-key query-replace-map "[return]" 'exit)
 (define-key query-replace-map "." 'act-and-exit)
 (define-key query-replace-map "\C-r" 'edit)
 (define-key query-replace-map "\C-w" 'delete-and-edit)