Commit 99961a04 authored by Matthias Meulien's avatar Matthias Meulien Committed by Stefan Monnier
Browse files

* lisp/simple.el (completion-list-mode-map): Navigate with tab and backtab.

Fixes: debbugs:17767
parent 8e3a5269
2014-06-13 Matthias Meulien <orontee@gmail.com>
* simple.el (completion-list-mode-map): Navigate with tab and backtab
(bug#17767).
2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (set-mark-command): Simplify a bit.
2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
* help.el (help--key-binding-keymap): New function.
......
......@@ -3842,7 +3842,7 @@ some text between BEG and END, but we're killing the region."
;; Add that string to the kill ring, one way or another.
(if (eq last-command 'kill-region)
(kill-append string (< end beg))
(kill-new string nil)))
(kill-new string)))
(when (or string (eq last-command 'kill-region))
(setq this-command 'kill-region))
(setq deactivate-mark t)
......@@ -4741,16 +4741,14 @@ purposes. See the documentation of `set-mark' for more information."
(if arg
(pop-to-mark-command)
(push-mark-command t)))
((and set-mark-command-repeat-pop
(eq last-command 'pop-to-mark-command))
(setq this-command 'pop-to-mark-command)
(pop-to-mark-command))
((and set-mark-command-repeat-pop
(eq last-command 'pop-global-mark)
(not arg))
(setq this-command 'pop-global-mark)
(pop-global-mark))
(arg
((or (and set-mark-command-repeat-pop
(eq last-command 'pop-to-mark-command))
arg)
(setq this-command 'pop-to-mark-command)
(pop-to-mark-command))
((eq last-command 'set-mark-command)
......@@ -6977,6 +6975,8 @@ With a prefix argument, set VARIABLE to VALUE buffer-locally."
(define-key map "\e\e\e" 'delete-completion-window)
(define-key map [left] 'previous-completion)
(define-key map [right] 'next-completion)
(define-key map [?\t] 'next-completion)
(define-key map [backtab] 'previous-completion)
(define-key map "q" 'quit-window)
(define-key map "z" 'kill-this-buffer)
map)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment