From: Mauro Aranda Date: Thu, 2 May 2019 12:51:01 +0000 (-0300) Subject: Use characters, not symbols for table-cell-bindings X-Git-Tag: emacs-27.0.90~2922 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40b3dcb7f7be92f0471e7a503ae8598c72100146;p=emacs.git 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) --- 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)