diff options
| author | Andreas Schwab | 2014-12-13 19:03:31 +0100 |
|---|---|---|
| committer | Andreas Schwab | 2014-12-13 19:04:00 +0100 |
| commit | 4ea175894a02c2e0a7a0da34c4e1181f9b8b2bea (patch) | |
| tree | c2cac6b9d9f71ca529ceeedde772d8ace4b9de6f | |
| parent | 30f603836c64a045fa59b5258d09b99da582eb75 (diff) | |
| download | emacs-4ea175894a02c2e0a7a0da34c4e1181f9b8b2bea.tar.gz emacs-4ea175894a02c2e0a7a0da34c4e1181f9b8b2bea.zip | |
* net/shr.el (shr-next-link): Don't error out at eob.
| -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))))) |