org-table: remove a now useless hack

* lisp/org-table.el (org-table-align): remove now useless hack.
This commit is contained in:
Nicolas Goaziou 2011-03-17 12:49:53 +01:00
parent 818c449e2c
commit a968b8c76f
1 changed files with 0 additions and 10 deletions

View File

@ -815,16 +815,6 @@ When nil, simply write \"#ERROR\" in corrupted fields.")
(append (pop fields) emptystrings))
hfmt))
lines ""))
(if (equal (char-before) ?\n)
;; This hack is for org-indent, to force redisplay of the
;; line prefix of the first line. Apparently the redisplay
;; is tied to the newline, which is, I think, a bug.
;; To force this redisplay, we remove and re-insert the
;; newline, so that the redisplay engine thinks it belongs
;; to the changed text.
(progn
(backward-delete-char 1)
(insert "\n")))
(move-marker org-table-aligned-begin-marker (point))
(insert new)
;; Replace the old one