changeset 109702:0837e4551510

* bindings.el (function-key-map): Add a S-tab => backtab fallback.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 02 Aug 2010 02:13:02 +0200
parents 2cf388f16cae
children f702fa9eb85e
files lisp/ChangeLog lisp/bindings.el
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Aug 01 06:28:09 2010 +0200
+++ b/lisp/ChangeLog	Mon Aug 02 02:13:02 2010 +0200
@@ -1,3 +1,7 @@
+2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* bindings.el (function-key-map): Add a S-tab => backtab fallback.
+
 2010-08-01  Juanma Barranquero  <lekktu@gmail.com>
 
 	* dabbrev.el (dabbrev-completion): Fix typo in docstring.
--- a/lisp/bindings.el	Sun Aug 01 06:28:09 2010 +0200
+++ b/lisp/bindings.el	Mon Aug 02 02:13:02 2010 +0200
@@ -1035,6 +1035,9 @@
 ;; so we can't distinguish those two keys, but usually we consider C-SPC
 ;; (rather than C-@) as the "canonical" binding.
 (define-key function-key-map [?\C-@] [?\C-\s])
+;; Many keyboards don't have a `backtab' key, so by convention the user
+;; can use S-tab instead to access that binding.
+(define-key function-key-map [S-tab] [backtab])
 
 (define-key global-map [mouse-movement] 'ignore)