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
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)
;;;###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)
(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
;; "-"; 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 "
" -- 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" "")