]> 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)
committerVincent Belaïche <vincentb1@users.sourceforge.net>
Sun, 24 Dec 2023 21:07:54 +0000 (22:07 +0100)
commita11d34b53e5c32dfc7b8a6eb0c64c087b9b046ba
treec53032f491a2987d3c592c8cf2d3871368a2e1e1
parent44676555f9f5cf268104ccdd8eca1666336853ad
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'.
lisp/ses.el