Fix bug #11182 with the effect of typing '?' in Shell mode.

lisp/minibuffer.el (completion-in-region-mode-map): Bind
 completion-help-at-point to M-? rather than ?.
This commit is contained in:
Eli Zaretskii 2012-04-07 11:12:04 +03:00
parent 2f8e16b2a3
commit 82b24fb279
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-04-07 Eli Zaretskii <eliz@gnu.org>
* minibuffer.el (completion-in-region-mode-map): Bind
completion-help-at-point to M-? rather than ?. (Bug#11182)
2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
* window.el (shrink-window): Mention the `window-min-height'

View file

@ -1506,7 +1506,7 @@ exit."
(let ((map (make-sparse-keymap)))
;; FIXME: Only works if completion-in-region-mode was activated via
;; completion-at-point called directly.
(define-key map "?" 'completion-help-at-point)
(define-key map "\M-?" 'completion-help-at-point)
(define-key map "\t" 'completion-at-point)
map)
"Keymap activated during `completion-in-region'.")