From c5d893a999492d5d9321b912c63af03b1e7026e2 Mon Sep 17 00:00:00 2001 From: Milan Zamazal Date: Tue, 5 Jun 2012 22:23:49 +0200 Subject: [PATCH] Fix of key formatting error in braille output --- speechd-braille.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/speechd-braille.el b/speechd-braille.el index dfbae4b..638eac3 100644 --- a/speechd-braille.el +++ b/speechd-braille.el @@ -1,6 +1,7 @@ ;;; speechd-braille.el --- Emacs braille emulator driver ;; Copyright (C) 2004, 2005, 2006, 2008 Brailcom, o.p.s. +;; Copyright (C) 2012 Milan Zamazal ;; Author: Milan Zamazal @@ -168,7 +169,7 @@ driver text (speechd-braille--make-message driver text nil)))) (defmethod speechd.key ((driver speechd-braille-emu-driver) key) - (let ((key-string (format (if (numberp key) "%c" "%s") key))) + (let ((key-string (if (numberp key) (key-description (list key)) (format "%s" key)))) (speechd-braille--maybe-enqueue driver key-string (speechd-braille--make-message driver key-string nil))))