[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103509: Minor ewoc fix for bug#3261.
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103509: Minor ewoc fix for bug#3261. |
Date: |
Thu, 03 Mar 2011 21:16:56 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103509
author: Bob Rogers <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2011-03-03 21:16:56 -0800
message:
Minor ewoc fix for bug#3261.
* lisp/emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
if there is no node.
modified:
lisp/ChangeLog
lisp/emacs-lisp/ewoc.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2011-03-04 05:00:40 +0000
+++ b/lisp/ChangeLog 2011-03-04 05:16:56 +0000
@@ -1,3 +1,8 @@
+2011-03-04 Bob Rogers <address@hidden>
+
+ * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
+ if there is no node. (Bug#3261)
+
2011-03-04 Leo <address@hidden>
* time.el (display-time-world-list): Fix typo. (Bug#7571)
=== modified file 'lisp/emacs-lisp/ewoc.el'
--- a/lisp/emacs-lisp/ewoc.el 2011-01-25 04:08:28 +0000
+++ b/lisp/emacs-lisp/ewoc.el 2011-03-04 05:16:56 +0000
@@ -495,6 +495,8 @@
;; 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103509: Minor ewoc fix for bug#3261.,
Glenn Morris <=