diff options
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/em-dirs.el | 4 | ||||
| -rw-r--r-- | lisp/eshell/em-glob.el | 6 | ||||
| -rw-r--r-- | lisp/eshell/em-pred.el | 10 | ||||
| -rw-r--r-- | lisp/eshell/em-script.el | 4 | ||||
| -rw-r--r-- | lisp/eshell/esh-opt.el | 2 | ||||
| -rw-r--r-- | lisp/eshell/esh-var.el | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/lisp/eshell/em-dirs.el b/lisp/eshell/em-dirs.el index 1bd7fbcb90f..3960cd7b229 100644 --- a/lisp/eshell/em-dirs.el +++ b/lisp/eshell/em-dirs.el | |||
| @@ -301,7 +301,7 @@ Thus, this does not include the current directory.") | |||
| 301 | eshell-user-names))))))) | 301 | eshell-user-names))))))) |
| 302 | 302 | ||
| 303 | (defun eshell/pwd (&rest args) | 303 | (defun eshell/pwd (&rest args) |
| 304 | "Change output from ‘pwd’ to be cleaner." | 304 | "Change output from `pwd' to be cleaner." |
| 305 | (let* ((path default-directory) | 305 | (let* ((path default-directory) |
| 306 | (len (length path))) | 306 | (len (length path))) |
| 307 | (if (and (> len 1) | 307 | (if (and (> len 1) |
| @@ -365,7 +365,7 @@ in the minibuffer: | |||
| 365 | (let ((curdir (eshell/pwd))) | 365 | (let ((curdir (eshell/pwd))) |
| 366 | (if (string-match path curdir) | 366 | (if (string-match path curdir) |
| 367 | (setq path (replace-match subpath nil nil curdir)) | 367 | (setq path (replace-match subpath nil nil curdir)) |
| 368 | (error "Path substring ‘%s’ not found" path)))) | 368 | (error "Path substring `%s' not found" path)))) |
| 369 | ((and path (string-match "^-\\([0-9]*\\)$" path)) | 369 | ((and path (string-match "^-\\([0-9]*\\)$" path)) |
| 370 | (let ((index (match-string 1 path))) | 370 | (let ((index (match-string 1 path))) |
| 371 | (setq path | 371 | (setq path |
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el index 976882c14e2..f2e67cc8c32 100644 --- a/lisp/eshell/em-glob.el +++ b/lisp/eshell/em-glob.el | |||
| @@ -193,7 +193,7 @@ The basic syntax is: | |||
| 193 | * .* matches any group of characters (or none) | 193 | * .* matches any group of characters (or none) |
| 194 | # * matches zero or more occurrences of preceding | 194 | # * matches zero or more occurrences of preceding |
| 195 | ## + matches one or more occurrences of preceding | 195 | ## + matches one or more occurrences of preceding |
| 196 | (x) \(x\) makes ‘x’ a regular expression group | 196 | (x) \(x\) makes `x' a regular expression group |
| 197 | | \| boolean OR within an expression group | 197 | | \| boolean OR within an expression group |
| 198 | [a-b] [a-b] matches a character or range | 198 | [a-b] [a-b] matches a character or range |
| 199 | [^a] [^a] excludes a character or range | 199 | [^a] [^a] excludes a character or range |
| @@ -220,7 +220,7 @@ resulting regular expression." | |||
| 220 | matched-in-pattern (1+ op-begin)) | 220 | matched-in-pattern (1+ op-begin)) |
| 221 | (let ((xlat (assq op-char eshell-glob-translate-alist))) | 221 | (let ((xlat (assq op-char eshell-glob-translate-alist))) |
| 222 | (if (not xlat) | 222 | (if (not xlat) |
| 223 | (error "Unrecognized globbing character ‘%c’" op-char) | 223 | (error "Unrecognized globbing character `%c'" op-char) |
| 224 | (if (stringp (cdr xlat)) | 224 | (if (stringp (cdr xlat)) |
| 225 | (setq regexp (concat regexp (cdr xlat)) | 225 | (setq regexp (concat regexp (cdr xlat)) |
| 226 | matched-in-pattern (1+ op-begin)) | 226 | matched-in-pattern (1+ op-begin)) |
| @@ -289,7 +289,7 @@ the form: | |||
| 289 | glob (car globs) | 289 | glob (car globs) |
| 290 | len (length glob))))) | 290 | len (length glob))))) |
| 291 | (if (and recurse-p (not glob)) | 291 | (if (and recurse-p (not glob)) |
| 292 | (error "‘**’ cannot end a globbing pattern")) | 292 | (error "`**' cannot end a globbing pattern")) |
| 293 | (let ((index 1)) | 293 | (let ((index 1)) |
| 294 | (setq incl glob) | 294 | (setq incl glob) |
| 295 | (while (and (eq incl glob) | 295 | (while (and (eq incl glob) |
diff --git a/lisp/eshell/em-pred.el b/lisp/eshell/em-pred.el index 9b67175ea63..102795fc16b 100644 --- a/lisp/eshell/em-pred.el +++ b/lisp/eshell/em-pred.el | |||
| @@ -193,7 +193,7 @@ EXAMPLES: | |||
| 193 | ***/*~f*(-/) recursively (though not traversing symlinks), | 193 | ***/*~f*(-/) recursively (though not traversing symlinks), |
| 194 | find all directories (or symlinks referring to | 194 | find all directories (or symlinks referring to |
| 195 | directories) whose names do not begin with f. | 195 | directories) whose names do not begin with f. |
| 196 | e*(*Lk+50) executables 50k or larger beginning with ‘e’") | 196 | e*(*Lk+50) executables 50k or larger beginning with `e'") |
| 197 | 197 | ||
| 198 | (defvar eshell-modifier-help-string | 198 | (defvar eshell-modifier-help-string |
| 199 | "Eshell modifier quick reference: | 199 | "Eshell modifier quick reference: |
| @@ -318,7 +318,7 @@ resultant list of strings." | |||
| 318 | (if (and func (functionp func)) | 318 | (if (and func (functionp func)) |
| 319 | (setq preds (eshell-add-pred-func func preds | 319 | (setq preds (eshell-add-pred-func func preds |
| 320 | negate follow)) | 320 | negate follow)) |
| 321 | (error "Invalid function predicate ‘%s’" | 321 | (error "Invalid function predicate `%s'" |
| 322 | (eshell-stringify func)))) | 322 | (eshell-stringify func)))) |
| 323 | (error "Invalid function predicate"))) | 323 | (error "Invalid function predicate"))) |
| 324 | ((eq char ?^) | 324 | ((eq char ?^) |
| @@ -336,20 +336,20 @@ resultant list of strings." | |||
| 336 | (cons `(lambda (lst) | 336 | (cons `(lambda (lst) |
| 337 | (mapcar (function ,func) lst)) | 337 | (mapcar (function ,func) lst)) |
| 338 | mods)) | 338 | mods)) |
| 339 | (error "Invalid function modifier ‘%s’" | 339 | (error "Invalid function modifier `%s'" |
| 340 | (eshell-stringify func)))) | 340 | (eshell-stringify func)))) |
| 341 | (error "Invalid function modifier"))) | 341 | (error "Invalid function modifier"))) |
| 342 | ((eq char ?:) | 342 | ((eq char ?:) |
| 343 | (forward-char) | 343 | (forward-char) |
| 344 | (let ((mod (assq (char-after) eshell-modifier-alist))) | 344 | (let ((mod (assq (char-after) eshell-modifier-alist))) |
| 345 | (if (not mod) | 345 | (if (not mod) |
| 346 | (error "Unknown modifier character ‘%c’" (char-after)) | 346 | (error "Unknown modifier character `%c'" (char-after)) |
| 347 | (forward-char) | 347 | (forward-char) |
| 348 | (setq mods (cons (eval (cdr mod)) mods))))) | 348 | (setq mods (cons (eval (cdr mod)) mods))))) |
| 349 | (t | 349 | (t |
| 350 | (let ((pred (assq char eshell-predicate-alist))) | 350 | (let ((pred (assq char eshell-predicate-alist))) |
| 351 | (if (not pred) | 351 | (if (not pred) |
| 352 | (error "Unknown predicate character ‘%c’" char) | 352 | (error "Unknown predicate character `%c'" char) |
| 353 | (forward-char) | 353 | (forward-char) |
| 354 | (setq preds | 354 | (setq preds |
| 355 | (eshell-add-pred-func (eval (cdr pred)) preds | 355 | (eshell-add-pred-func (eval (cdr pred)) preds |
diff --git a/lisp/eshell/em-script.el b/lisp/eshell/em-script.el index 8e65e440417..1a16e5e7a0f 100644 --- a/lisp/eshell/em-script.el +++ b/lisp/eshell/em-script.el | |||
| @@ -45,7 +45,7 @@ commands, as a script file." | |||
| 45 | (defcustom eshell-login-script (expand-file-name "login" eshell-directory-name) | 45 | (defcustom eshell-login-script (expand-file-name "login" eshell-directory-name) |
| 46 | "If non-nil, a file to invoke when starting up Eshell interactively. | 46 | "If non-nil, a file to invoke when starting up Eshell interactively. |
| 47 | This file should be a file containing Eshell commands, where comment | 47 | This file should be a file containing Eshell commands, where comment |
| 48 | lines begin with ‘#’." | 48 | lines begin with `#'." |
| 49 | :type 'file | 49 | :type 'file |
| 50 | :group 'eshell-script) | 50 | :group 'eshell-script) |
| 51 | 51 | ||
| @@ -89,7 +89,7 @@ This includes when running `eshell-command'." | |||
| 89 | 89 | ||
| 90 | (defun eshell-source-file (file &optional args subcommand-p) | 90 | (defun eshell-source-file (file &optional args subcommand-p) |
| 91 | "Execute a series of Eshell commands in FILE, passing ARGS. | 91 | "Execute a series of Eshell commands in FILE, passing ARGS. |
| 92 | Comments begin with ‘#’." | 92 | Comments begin with `#'." |
| 93 | (interactive "f") | 93 | (interactive "f") |
| 94 | (let ((orig (point)) | 94 | (let ((orig (point)) |
| 95 | (here (point-max)) | 95 | (here (point-max)) |
diff --git a/lisp/eshell/esh-opt.el b/lisp/eshell/esh-opt.el index 4d28208b234..96d485beca1 100644 --- a/lisp/eshell/esh-opt.el +++ b/lisp/eshell/esh-opt.el | |||
| @@ -180,7 +180,7 @@ This code doesn't really need to be macro expanded everywhere." | |||
| 180 | (concat usage | 180 | (concat usage |
| 181 | (format-message " | 181 | (format-message " |
| 182 | This command is implemented in Lisp. If an unrecognized option is | 182 | This command is implemented in Lisp. If an unrecognized option is |
| 183 | passed to this command, the external version ‘%s’ | 183 | passed to this command, the external version `%s' |
| 184 | will be called instead." extcmd))))) | 184 | will be called instead." extcmd))))) |
| 185 | (throw 'eshell-usage usage))) | 185 | (throw 'eshell-usage usage))) |
| 186 | 186 | ||
diff --git a/lisp/eshell/esh-var.el b/lisp/eshell/esh-var.el index f5110c38475..0d94186cb9a 100644 --- a/lisp/eshell/esh-var.el +++ b/lisp/eshell/esh-var.el | |||
| @@ -116,7 +116,7 @@ | |||
| 116 | (require 'ring) | 116 | (require 'ring) |
| 117 | 117 | ||
| 118 | (defgroup eshell-var nil | 118 | (defgroup eshell-var nil |
| 119 | "Variable interpolation is introduced whenever the ‘$’ character | 119 | "Variable interpolation is introduced whenever the `$' character |
| 120 | appears unquoted in any argument (except when that argument is | 120 | appears unquoted in any argument (except when that argument is |
| 121 | surrounded by single quotes). It may be used to interpolate a | 121 | surrounded by single quotes). It may be used to interpolate a |
| 122 | variable value, a subcommand, or even the result of a Lisp form." | 122 | variable value, a subcommand, or even the result of a Lisp form." |