diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/net/shr.el | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 27337e9ab0a..37f637b503a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-12-13 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * net/shr.el (shr-next-link): Don't error out at eob. | ||
| 4 | |||
| 1 | 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr> | 5 | 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr> |
| 2 | 6 | ||
| 3 | * isearch.el (isearch-open-necessary-overlays): Open overlay | 7 | * isearch.el (isearch-open-necessary-overlays): Open overlay |
diff --git a/lisp/net/shr.el b/lisp/net/shr.el index 15dd8dfefa9..6e06a76bf2a 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el | |||
| @@ -265,8 +265,9 @@ redirects somewhere else." | |||
| 265 | "Skip to the next link." | 265 | "Skip to the next link." |
| 266 | (interactive) | 266 | (interactive) |
| 267 | (let ((skip (text-property-any (point) (point-max) 'help-echo nil))) | 267 | (let ((skip (text-property-any (point) (point-max) 'help-echo nil))) |
| 268 | (if (not (setq skip (text-property-not-all skip (point-max) | 268 | (if (or (eobp) |
| 269 | 'help-echo nil))) | 269 | (not (setq skip (text-property-not-all skip (point-max) |
| 270 | 'help-echo nil)))) | ||
| 270 | (message "No next link") | 271 | (message "No next link") |
| 271 | (goto-char skip) | 272 | (goto-char skip) |
| 272 | (message "%s" (get-text-property (point) 'help-echo))))) | 273 | (message "%s" (get-text-property (point) 'help-echo))))) |