From 40b3dcb7f7be92f0471e7a503ae8598c72100146 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Thu, 2 May 2019 09:51:01 -0300 Subject: [PATCH] Use characters, not symbols for table-cell-bindings * lisp/textmodes/table.el (table-cell-bindings): Add missing '?', to avoid confusion between symbols and characters in bindings. (Bug#35533) --- lisp/textmodes/table.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index bed8b2fef27..f27c7058e71 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el @@ -930,16 +930,16 @@ This is always set to nil at the entry to `table-with-cache-buffer' before execu ;; refill the table cache. If the command were not listed fast ;; typing can cause unwanted cache refill. (defconst table-cell-bindings - '(([(control i)] . table-forward-cell) - ([(control I)] . table-backward-cell) + '(([(control ?i)] . table-forward-cell) + ([(control ?I)] . table-backward-cell) ([tab] . table-forward-cell) ([(shift backtab)] . table-backward-cell) ; for HPUX console keyboard ([(shift iso-lefttab)] . table-backward-cell) ; shift-tab on a microsoft natural keyboard and redhat linux ([(shift tab)] . table-backward-cell) ([backtab] . table-backward-cell) ; for terminals (e.g., xterm) ([return] . *table--cell-newline) - ([(control m)] . *table--cell-newline) - ([(control j)] . *table--cell-newline-and-indent) + ([(control ?m)] . *table--cell-newline) + ([(control ?j)] . *table--cell-newline-and-indent) ([mouse-3] . *table--present-cell-popup-menu) ([(control ?>)] . table-widen-cell) ([(control ?<)] . table-narrow-cell) -- 2.39.5