mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
Minor ewoc fix for bug#3261.
* lisp/emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error if there is no node.
This commit is contained in:
parent
35fee6ce58
commit
a918ed9b8e
@ -1,3 +1,8 @@
|
||||
2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
|
||||
|
||||
* emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
|
||||
if there is no node. (Bug#3261)
|
||||
|
||||
2011-03-04 Leo <sdl.web@gmail.com>
|
||||
|
||||
* time.el (display-time-world-list): Fix typo. (Bug#7571)
|
||||
|
@ -495,6 +495,8 @@ Return the node (or nil if we just passed the last node)."
|
||||
;; Never step below the first element.
|
||||
;; (unless (ewoc--filter-hf-nodes ewoc node)
|
||||
;; (setq node (ewoc--node-nth dll -2)))
|
||||
(unless node
|
||||
(error "No next"))
|
||||
(ewoc-goto-node ewoc node)))
|
||||
|
||||
(defun ewoc-goto-node (ewoc node)
|
||||
|
Loading…
Reference in New Issue
Block a user