From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ville =?ISO-8859-1?Q?Skytt=E4?= Newsgroups: gmane.emacs.bugs Subject: [PATCH] Doc fixes for browse-url.el Date: 01 Jul 2002 00:44:46 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <1025473487.1589.28.camel@bobcat.ods.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1025473511 3866 127.0.0.1 (30 Jun 2002 21:45:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2002 21:45:11 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17OmVL-00010E-00 for ; Sun, 30 Jun 2002 23:45:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OmVk-0001Xc-00; Sun, 30 Jun 2002 17:45:36 -0400 Original-Received: from posti.pp.htv.fi ([212.90.64.50]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17OmUy-0001Rd-00 for ; Sun, 30 Jun 2002 17:44:48 -0400 Original-Received: from cs78128057.pp.htv.fi ([62.78.128.57]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id g5ULia526074 for ; Mon, 1 Jul 2002 00:44:36 +0300 (EETDST) Original-To: bug-gnu-emacs@gnu.org X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:2352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:2352 Here's a couple of doc fixes for browse-url.el, against the version 1.22 in Emacs CVS. --- browse-url.el.1.22 Mon Jul 1 00:38:05 2002 +++ browse-url.el Mon Jul 1 00:41:38 2002 @@ -632,8 +632,8 @@ (browse-url-of-file file-name)))) =20 (defun browse-url-delete-temp-file (&optional temp-file-name) - ;; Delete browse-url-temp-file-name from the file system - ;; If optional arg TEMP-FILE-NAME is non-nil, delete it instead + "Delete `browse-url-temp-file-name' from the file system. +If the optional argument TEMP-FILE-NAME is non-nil, delete it instead." (let ((file-name (or temp-file-name browse-url-temp-file-name))) (if (and file-name (file-exists-p file-name)) (delete-file file-name)))) @@ -831,7 +831,7 @@ "reload"))) =20 (defun browse-url-netscape-send (command) - "Send a remote control command to Netscape." + "Send a remote control command COMMAND to Netscape." (let* ((process-environment (browse-url-process-environment))) (apply 'start-process "netscape" nil browse-url-netscape-program @@ -952,7 +952,7 @@ =20 When called non-interactively, optional second argument NEW-WINDOW is used instead of `browse-url-new-window-flag'." - (interactive (browse-url-interactive-arg "URL: ")) =20 + (interactive (browse-url-interactive-arg "URL: ")) (apply 'start-process (concat "gnome-moz-remote " url) nil "gnome-moz-remote" @@ -1137,7 +1137,7 @@ otherwise use any existing one. A non-nil interactive prefix argument reverses the effect of `browse-url-new-window-flag'. =20 -When called non-interactively, optional second argument NEW-WINDOW is +When called non-interactively, optional second argument NEW-BUFFER is used instead of `browse-url-new-window-flag'." (interactive (browse-url-interactive-arg "Lynx URL: ")) (let* ((system-uses-terminfo t) ; Lynx uses terminfo --=20 Ville Skytt=E4 ville.skytta at xemacs.org