diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ewoc.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 04710d6bcf1..477361b9493 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org> | ||
| 2 | |||
| 3 | * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error | ||
| 4 | if there is no node. (Bug#3261) | ||
| 5 | |||
| 1 | 2011-03-04 Leo <sdl.web@gmail.com> | 6 | 2011-03-04 Leo <sdl.web@gmail.com> |
| 2 | 7 | ||
| 3 | * time.el (display-time-world-list): Fix typo. (Bug#7571) | 8 | * time.el (display-time-world-list): Fix typo. (Bug#7571) |
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index bf9998695ee..a71f3c7244c 100644 --- a/lisp/emacs-lisp/ewoc.el +++ b/lisp/emacs-lisp/ewoc.el | |||
| @@ -495,6 +495,8 @@ Return the node (or nil if we just passed the last node)." | |||
| 495 | ;; Never step below the first element. | 495 | ;; Never step below the first element. |
| 496 | ;; (unless (ewoc--filter-hf-nodes ewoc node) | 496 | ;; (unless (ewoc--filter-hf-nodes ewoc node) |
| 497 | ;; (setq node (ewoc--node-nth dll -2))) | 497 | ;; (setq node (ewoc--node-nth dll -2))) |
| 498 | (unless node | ||
| 499 | (error "No next")) | ||
| 498 | (ewoc-goto-node ewoc node))) | 500 | (ewoc-goto-node ewoc node))) |
| 499 | 501 | ||
| 500 | (defun ewoc-goto-node (ewoc node) | 502 | (defun ewoc-goto-node (ewoc node) |