Spelling and minor grammar fixes

This commit is contained in:
Paul Eggert 2015-03-10 00:49:20 -07:00
parent 778de7270b
commit 33d9869b5f
4 changed files with 8 additions and 8 deletions

View file

@ -173,7 +173,7 @@
Use `with-temp-file'.
* net/tramp-sh.el (tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes): Escape apostrophs in
(tramp-perl-directory-files-and-attributes): Escape apostrophes in
file names.
(tramp-do-file-attributes-with-stat): Quote file name.
(tramp-sh-handle-directory-files-and-attributes): Fall back to
@ -185,7 +185,7 @@
Normalize use of "cd".
(tramp-do-directory-files-and-attributes-with-stat): Use the
`quoting-style' arg of `ls' if possible. Make it also working for
file names with apostrophs.
file names with apostrophes.
(tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
in proper order.
(tramp-do-copy-or-rename-file-via-buffer)

View file

@ -1695,10 +1695,10 @@ similar to an entry in `package-alist'. Save the cached copy to
;;;###autoload
(defun package-refresh-contents ()
"Download the description of all configured ELPAs.
"Download descriptions of all configured ELPA packages.
For each archive configured in the variable `package-archives',
this informs Emacs about the latest versions of all packages it
offers, and makes them available for download."
inform Emacs about the latest versions of all packages it offers,
and make them available for download."
(interactive)
;; FIXME: Do it asynchronously.
(unless (file-exists-p package-user-dir)

View file

@ -1013,7 +1013,7 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
(tramp-set-connection-property v "process-buffer" nil))))))
(defun tramp-adb-get-device (vec)
"Return full host name from VEC to be used in shell exceution.
"Return full host name from VEC to be used in shell execution.
E.g. a host name \"192.168.1.1#5555\" returns \"192.168.1.1:5555\"
a host name \"R38273882DE\" returns \"R38273882DE\"."
;; Sometimes this is called before there is a connection process

View file

@ -1695,7 +1695,7 @@ be non-negative integers."
;; "-"; this would confuse xargs. "ls -aQ" might be a solution,
;; but it does not work on all remote systems. Therefore, we
;; use \000 as file separator.
;; Apostrophs in the stat output are masked as \037 character, in
;; Apostrophes in the stat output are masked as \037 characters, in
;; order to make a proper shell escape of them in file names.
"cd %s && echo \"(\"; (%s %s -a | "
"xargs %s -c "
@ -1703,7 +1703,7 @@ be non-negative integers."
" -- 2>/dev/null | sed -e 's/\"/\\\\\"/g' -e 's/\037/\"/g'); echo \")\"")
(tramp-shell-quote-argument localname)
(tramp-get-ls-command vec)
;; On systems which have no quotings style, file names with
;; On systems which have no quoting style, file names with
;; special characters could fail.
(if (tramp-get-ls-command-with-quoting-style vec)
"--quoting-style=shell" "")