diff options
| author | Lars Ingebrigtsen | 2013-12-25 20:37:41 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2013-12-25 20:37:41 +0100 |
| commit | 3c856c14156c2bca051ee800b07e8e946dc97371 (patch) | |
| tree | 34e258634280fa43ba296bdb1c284956fd9f3ab0 | |
| parent | c6c2058404759c6133950a4adb2827ab7d2cad3e (diff) | |
| download | emacs-3c856c14156c2bca051ee800b07e8e946dc97371.tar.gz emacs-3c856c14156c2bca051ee800b07e8e946dc97371.zip | |
* net/shr.el (shr-visit-file): Removed debugging function.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/net/shr.el | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eac7ee91360..b0ca8f4bbf6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * net/shr.el (shr-visit-file): Removed debugging function. | ||
| 4 | |||
| 1 | 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org> | 5 | 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 6 | ||
| 3 | * progmodes/python.el: | 7 | * progmodes/python.el: |
diff --git a/lisp/net/shr.el b/lisp/net/shr.el index fa4a41812d7..5b8ab28c837 100644 --- a/lisp/net/shr.el +++ b/lisp/net/shr.el | |||
| @@ -179,13 +179,6 @@ cid: URL as the argument.") | |||
| 179 | (goto-char begin) | 179 | (goto-char begin) |
| 180 | (shr-insert-document dom)))) | 180 | (shr-insert-document dom)))) |
| 181 | 181 | ||
| 182 | (defun shr-visit-file (file) | ||
| 183 | "Parse FILE as an HTML document, and render it in a new buffer." | ||
| 184 | (interactive "fHTML file name: ") | ||
| 185 | (with-temp-buffer | ||
| 186 | (insert-file-contents file) | ||
| 187 | (shr-render-buffer (current-buffer)))) | ||
| 188 | |||
| 189 | ;;;###autoload | 182 | ;;;###autoload |
| 190 | (defun shr-insert-document (dom) | 183 | (defun shr-insert-document (dom) |
| 191 | "Render the parsed document DOM into the current buffer. | 184 | "Render the parsed document DOM into the current buffer. |