summaryrefslogtreecommitdiff
path: root/lisp/textmodes/table.el
diff options
context:
space:
mode:
authorBoruch Baum <boruch_baum@gmx.com>2020-12-08 14:38:44 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-12-08 14:38:44 +0100
commitdb9549d0ddb65f01591208a052561e198b1ba9e5 (patch)
treed0cf374aa6de99ea3c917b22b7413da4376a4a4d /lisp/textmodes/table.el
parent06168c124d67a331c9e4b95d807531f697c320dc (diff)
downloademacs-db9549d0ddb65f01591208a052561e198b1ba9e5.tar.gz
emacs-db9549d0ddb65f01591208a052561e198b1ba9e5.tar.bz2
emacs-db9549d0ddb65f01591208a052561e198b1ba9e5.zip
Make table-fixed-width-mode work again
* lisp/textmodes/table.el (table--update-cell): Make table-fixed-width-mode work (bug#18183).
Diffstat (limited to 'lisp/textmodes/table.el')
-rw-r--r--lisp/textmodes/table.el2
1 files changed, 2 insertions, 0 deletions
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