mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07: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
2 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue