]> git.eshelyaron.com Git - emacs.git/commit
Fix error in ses.el when setting the current row
authorBoruch Baum <boruch_baum@gmx.com>
Wed, 5 May 2021 13:05:50 +0000 (15:05 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 5 May 2021 13:05:50 +0000 (15:05 +0200)
commit0b437dd75ce530c5daa76add915711bceb31acb8
treed6caa7c8ba8b9715f5f13901a00280eedd7368bb
parentb4685a3d6183db65b350bafd8246f5e8864c8363
Fix error in ses.el when setting the current row

* lisp/ses.el (ses-jump, ses-list-local-printers)
(ses-list-named-cells): Use `user-error' for user errors.
(ses-set-header-row): Function `ses-set-header-row' was
determining the current row based upon variable `ses--curcell',
but that variable is NIL until one begins an operation on a cell
(eg. keybindings '=', '"'), so navigating to a row was
insufficient to select that row, and further generated an ERROR
because the code was not expecting a NIL value for variable
`ses--curcell' (bug#47784).
lisp/ses.el