From: Boruch Baum Date: Tue, 8 Dec 2020 13:38:44 +0000 (+0100) Subject: Make table-fixed-width-mode work again X-Git-Tag: emacs-28.0.90~4852 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db9549d0ddb65f01591208a052561e198b1ba9e5;p=emacs.git Make table-fixed-width-mode work again * lisp/textmodes/table.el (table--update-cell): Make table-fixed-width-mode work (bug#18183). --- diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 984cc08de85..e42615e5158 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el @@ -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