From 33d9869b5f7a5acaca838e2b57e5ae713df9603d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Mar 2015 00:49:20 -0700 Subject: [PATCH] Spelling and minor grammar fixes --- lisp/ChangeLog | 4 ++-- lisp/emacs-lisp/package.el | 6 +++--- lisp/net/tramp-adb.el | 2 +- lisp/net/tramp-sh.el | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index df45ec49632..c25f4efcdd0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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) diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 00608f3d2c7..0d001bff4cf 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -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) diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index fae54520102..6696dcf1505 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el @@ -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 diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 580c5d08ecd..76d2b014917 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -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" "") -- 2.39.2