bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Doc fixes for browse-url.el


From: Ville Skyttä
Subject: [PATCH] Doc fixes for browse-url.el
Date: 01 Jul 2002 00:44:46 +0300

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))))
 
 (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")))
 
 (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 @@
 
 When called non-interactively, optional second argument NEW-WINDOW is
 used instead of `browse-url-new-window-flag'."
-  (interactive (browse-url-interactive-arg "URL: "))  
+  (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'.
 
-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


-- 
Ville Skyttä
ville.skytta at xemacs.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]