summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-10 21:13:59 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-10 21:13:59 +0100
commit2c454d29139c00f4ecd551943b4df9e16d0f57d6 (patch)
treeba6ae74c7b50985f2b80835f843d1864cd40196e
parent2216f4d2c71b31b11bb13ec13b312fe77b9de21a (diff)
downloadorg-mode-2c454d29139c00f4ecd551943b4df9e16d0f57d6.tar.gz
org-table: Zoom tables properly
* lisp/org-table.el (org-table-separator-space): Use :relative-width so that space obeys to text scale. Reported-by: Vadim Zaliva <lord@crocodile.org> <http://lists.gnu.org/r/emacs-orgmode/2019-03/msg00079.html>
-rw-r--r--lisp/org-table.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index d13a2c3..f4e3d35 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -505,7 +505,7 @@ variable is initialized with `org-table-analyze'.")
"Match a reference that needs translation, for reference display.")
(defconst org-table-separator-space
- (propertize " " 'display '(space :width 1))
+ (propertize " " 'display '(space :relative-width 1))
"Space used around fields when aligning the table.
This space serves as a segment separator for the purposes of the
bidirectional reordering.")