]> git.eshelyaron.com Git - emacs.git/commit
Fix test about need for explicit printing inserted lines
authorVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 24 Dec 2023 21:05:54 +0000 (22:05 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 25 Dec 2023 11:54:05 +0000 (12:54 +0100)
commit22b5ecaae03bb1ea2972e973e9aa4841125cb3aa
tree5e3b0a606978a24cc1b0899104c9a6491be52cf0
parente66feff5d4da0f22a8fe51d7e6b87e0991bcd7dd
Fix test about need for explicit printing inserted lines

* lisp/ses.el (ses--blank-line-needs-printing-p): New
function. Does not consider that printer `nil' produces a non
empty string, as `ses-print-cell' removes nil printer by oring to
fallback.
(ses-insert-row): Replace the complex and erroneous test about
blank newline needing printing by a call to
'ses--blank-line-needs-printing-p'.

(cherry picked from commit a11d34b53e5c32dfc7b8a6eb0c64c087b9b046ba)
lisp/ses.el