1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Spelling and wording fixes

This commit is contained in:
Paul Eggert 2015-03-17 17:09:34 -07:00
parent 41278b775b
commit f9e354ebea
2 changed files with 21 additions and 20 deletions

View File

@ -42,7 +42,7 @@
;; browse-url-netscape Netscape 1.1b1 ;; browse-url-netscape Netscape 1.1b1
;; browse-url-mosaic XMosaic/mMosaic <= 2.4 ;; browse-url-mosaic XMosaic/mMosaic <= 2.4
;; browse-url-cci XMosaic 2.5 ;; browse-url-cci XMosaic 2.5
;; browse-url-conkeror Conkeror Dont know ;; browse-url-conkeror Conkeror Don't know
;; browse-url-w3 w3 0 ;; browse-url-w3 w3 0
;; browse-url-w3-gnudoit w3 remotely ;; browse-url-w3-gnudoit w3 remotely
;; browse-url-text-* Any text browser 0 ;; browse-url-text-* Any text browser 0
@ -62,7 +62,7 @@
;; control. <URL:http://www.netscape.com/newsref/std/x-remote.html>. ;; control. <URL:http://www.netscape.com/newsref/std/x-remote.html>.
;; Browsers can cache Web pages so it may be necessary to tell them to ;; Browsers can cache Web pages so it may be necessary to tell them to
;; reload the current page if it has changed (e.g. if you have edited ;; reload the current page if it has changed (e.g., if you have edited
;; it). There is currently no perfect automatic solution to this. ;; it). There is currently no perfect automatic solution to this.
;; Netscape allows you to specify the id of the window you want to ;; Netscape allows you to specify the id of the window you want to
@ -420,8 +420,8 @@ functionality is not available there."
(defcustom browse-url-conkeror-new-window-is-buffer nil (defcustom browse-url-conkeror-new-window-is-buffer nil
"Whether to open up new windows in a buffer or a new window. "Whether to open up new windows in a buffer or a new window.
If non-nill, then open the URL in a new buffer rather than a new window if If non-nil, then open the URL in a new buffer rather than a new window if
`browse-url-conkeror' is asked to open it in a new window" `browse-url-conkeror' is asked to open it in a new window."
:type 'boolean :type 'boolean
:group 'browse-url) :group 'browse-url)
@ -823,7 +823,7 @@ narrowed."
;;;###autoload ;;;###autoload
(defun browse-url (url &rest args) (defun browse-url (url &rest args)
"Ask a WWW browser to load URL. "Ask a WWW browser to load URL.
Prompts for a URL, defaulting to the URL at or before point. Variable Prompt for a URL, defaulting to the URL at or before point. Variable
`browse-url-browser-function' says which browser to use. `browse-url-browser-function' says which browser to use.
If the URL is a mailto: URL, consult `browse-url-mailto-function' If the URL is a mailto: URL, consult `browse-url-mailto-function'
first, if that exists." first, if that exists."
@ -862,7 +862,7 @@ first, if that exists."
;;;###autoload ;;;###autoload
(defun browse-url-at-point (&optional arg) (defun browse-url-at-point (&optional arg)
"Ask a WWW browser to load the URL at or before point. "Ask a WWW browser to load the URL at or before point.
Doesn't let you edit the URL like `browse-url'. Variable Don't let you edit the URL like `browse-url'. Variable
`browse-url-browser-function' says which browser to use." `browse-url-browser-function' says which browser to use."
(interactive "P") (interactive "P")
(let ((url (browse-url-url-at-point))) (let ((url (browse-url-url-at-point)))
@ -876,7 +876,7 @@ Doesn't let you edit the URL like `browse-url'. Variable
(defun browse-url-at-mouse (event) (defun browse-url-at-mouse (event)
"Ask a WWW browser to load a URL clicked with the mouse. "Ask a WWW browser to load a URL clicked with the mouse.
The URL is the one around or before the position of the mouse click The URL is the one around or before the position of the mouse click
but point is not changed. Doesn't let you edit the URL like but point is not changed. Don't let you edit the URL like
`browse-url'. Variable `browse-url-browser-function' says which browser `browse-url'. Variable `browse-url-browser-function' says which browser
to use." to use."
(interactive "e") (interactive "e")
@ -1384,20 +1384,21 @@ used instead of `browse-url-new-window-flag'."
;;;###autoload ;;;###autoload
(defun browse-url-conkeror (url &optional new-window) (defun browse-url-conkeror (url &optional new-window)
"Ask the Conkeror WWW browser to load URL. "Ask the Conkeror WWW browser to load URL.
Default to the URL around or before point. The strings in the variable Default to the URL around or before point. Also pass the strings
`browse-url-conkeror-arguments' are also passed to Conkeror. in the variable `browse-url-conkeror-arguments' to Conkeror.
When called interactively, if variable `browse-url-new-window-flag' When called interactively, if variable
is non-nil, load the document in a new Conkeror window, otherwise use a random `browse-url-new-window-flag' is non-nil, load the document in a
existing one. A non-nil interactive prefix argument reverses the effect of new Conkeror window, otherwise use a random existing one. A
`browse-url-new-window-flag' non-nil interactive prefix argument reverses the effect of
`browse-url-new-window-flag'.
If `browse-url-conkeror-new-window-is-buffer' then whenever a document would If variable `browse-url-conkeror-new-window-is-buffer' is
otherwise be loaded in a new window, it is loaded in a new buffer in an existing non-nil, then whenever a document would otherwise be loaded in a
window instead. new window, load it in a new buffer in an existing window instead.
When called non-interatively, optional second argument NEW-WINDOW is used instead of When called non-interactively, use optional second argument
`browse-url-new-window-flag'" NEW-WINDOW instead of `browse-url-new-window-flag'."
(interactive (browse-url-interactive-arg "URL: ")) (interactive (browse-url-interactive-arg "URL: "))
(setq url (browse-url-encode-url url)) (setq url (browse-url-encode-url url))
(let* ((process-environment (browse-url-process-environment))) (let* ((process-environment (browse-url-process-environment)))
@ -1495,7 +1496,7 @@ used instead of `browse-url-new-window-flag'."
(n browse-url-text-input-attempts)) (n browse-url-text-input-attempts))
(require 'term) (require 'term)
(if (and (browse-url-maybe-new-window new-buffer) buf) (if (and (browse-url-maybe-new-window new-buffer) buf)
;; Rename away the OLD buffer. This isn't very polite, but ;; Rename away the OLD buffer. This isn't very polite, but
;; term insists on working in a buffer named *lynx* and would ;; term insists on working in a buffer named *lynx* and would
;; choke on *lynx*<1> ;; choke on *lynx*<1>
(progn (set-buffer buf) (progn (set-buffer buf)

View File

@ -364,7 +364,7 @@
(defun css-completion-at-point () (defun css-completion-at-point ()
"Complete current symbol at point. "Complete current symbol at point.
Currently supports completion of CSS properties, pseudo-elements, Currently supports completion of CSS properties, pseudo-elements,
pesudo-classes, and at-rules." pseudo-classes, and at-rules."
(or (css--complete-property) (or (css--complete-property)
(css--complete-pseudo-element-or-class) (css--complete-pseudo-element-or-class)
(css--complete-at-rule))) (css--complete-at-rule)))