X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/142e26a72e9b8bbbec23c6bf7234e9f2544b5f89..c517fb38cdd6721853625ecd737f7e551a28f294:/lisp/double.el diff --git a/lisp/double.el b/lisp/double.el index e7b25281f3..853ba09e2c 100644 --- a/lisp/double.el +++ b/lisp/double.el @@ -1,7 +1,7 @@ ;;; double.el --- support for keyboard remapping with double clicking ;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. ;; Author: Per Abrahamsen ;; Keywords: i18n @@ -103,7 +103,7 @@ but not `C-u X' or `ESC X' since the X is not the prefix key." (defun double-translate-key (prompt) ;; Translate input events using double map. - (let ((key last-input-char)) + (let ((key last-input-event)) (cond (unread-command-events ;; Artificial event, ignore it. (vector key)) @@ -169,5 +169,4 @@ when pressed twice. See variable `double-map' for details." (provide 'double) -;; arch-tag: 2e170036-44cb-4493-bc32-ada0a4395221 ;;; double.el ends here