]> git.eshelyaron.com Git - emacs.git/commitdiff
Use characters, not symbols for table-cell-bindings
authorMauro Aranda <maurooaranda@gmail.com>
Thu, 2 May 2019 12:51:01 +0000 (09:51 -0300)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 11 May 2019 14:19:24 +0000 (10:19 -0400)
* lisp/textmodes/table.el (table-cell-bindings): Add missing '?', to
avoid confusion between symbols and characters in bindings.  (Bug#35533)

lisp/textmodes/table.el

index bed8b2fef2765d574ee002a5d651a695d26954b7..f27c7058e712281363789deb52bc4c046bdce0b1 100644 (file)
@@ -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)