emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 40b3dcb: Use characters, not symbols for table-cell


From: Noam Postavsky
Subject: [Emacs-diffs] master 40b3dcb: Use characters, not symbols for table-cell-bindings
Date: Sat, 11 May 2019 10:58:08 -0400 (EDT)

branch: master
commit 40b3dcb7f7be92f0471e7a503ae8598c72100146
Author: Mauro Aranda <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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 bed8b2f..f27c705 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]