]> git.eshelyaron.com Git - emacs.git/commitdiff
Make table-fixed-width-mode work again
authorBoruch Baum <boruch_baum@gmx.com>
Tue, 8 Dec 2020 13:38:44 +0000 (14:38 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 8 Dec 2020 13:38:44 +0000 (14:38 +0100)
* lisp/textmodes/table.el (table--update-cell): Make
table-fixed-width-mode work (bug#18183).

lisp/textmodes/table.el

index 984cc08de85401cddd908a3fcdeff736fbddb8b2..e42615e51581676017018bc601b5a5a7d1b9d7c4 100644 (file)
@@ -4073,10 +4073,12 @@ cache buffer into the designated cell in the table buffer."
       (set-buffer table-cell-buffer)
       (let ((cache-buffer (get-buffer-create table-cache-buffer-name))
            (org-coord (table--get-coordinate))
+            (fixed table-fixed-width-mode)
            (in-cell (equal (table--cell-to-coord (table--probe-cell))
                            (cons table-cell-info-lu-coordinate table-cell-info-rb-coordinate)))
            rectangle)
        (set-buffer cache-buffer)
+        (setq-local table-fixed-width-mode fixed)
        (setq rectangle
              (extract-rectangle
               1