Mercurial > emacs
comparison lisp/browse-url.el @ 21231:4d63d262b3d5
(browse-url-of-region): Use its args. From <mit@nines.nec.co.jp>
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 20 Mar 1998 10:22:59 +0000 |
parents | 64a6c0b65eaa |
children | f472b66ed66b |
comparison
equal
deleted
inserted
replaced
21230:a553c7f85238 | 21231:4d63d262b3d5 |
---|---|
604 (defun browse-url-of-region (min max) | 604 (defun browse-url-of-region (min max) |
605 "Ask a WWW browser to display the current region." | 605 "Ask a WWW browser to display the current region." |
606 (interactive "r") | 606 (interactive "r") |
607 (save-excursion | 607 (save-excursion |
608 (save-restriction | 608 (save-restriction |
609 (narrow-to-region (mark) (point)) | 609 (narrow-to-region min max) |
610 (browse-url-of-buffer)))) | 610 (browse-url-of-buffer)))) |
611 | 611 |
612 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 612 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
613 ;; Browser-independent commands | 613 ;; Browser-independent commands |
614 | 614 |