diff options
| author | Paul Eggert | 2015-08-24 23:39:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-24 23:57:25 -0700 |
| commit | 875a5d0ead827d3da32ecbd30e739a29f07bbc87 (patch) | |
| tree | edb42bf8ed4e7d975c6dcbdbe1f4ab0d44f86925 /lisp/eshell/esh-cmd.el | |
| parent | 68280c5ee9b87d874ffa7c111b3cac7e634cee22 (diff) | |
| download | emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.tar.gz emacs-875a5d0ead827d3da32ecbd30e739a29f07bbc87.zip | |
Prefer directed to neutral quotes
Prefer directed to neutral quotes in docstings and diagnostics.
In docstrings, escape apostrophes that would otherwise be translated
to curved quotes using the newer, simpler rules.
* admin/unidata/unidata-gen.el (unidata-gen-table):
* lisp/align.el (align-region):
* lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
* lisp/bookmark.el (bookmark-default-annotation-text):
* lisp/calc/calc-aent.el (math-read-if, math-read-factor):
* lisp/calc/calc-lang.el (math-read-giac-subscr)
(math-read-math-subscr):
* lisp/calc/calc-misc.el (report-calc-bug):
* lisp/calc/calc-prog.el (calc-fix-token-name)
(calc-read-parse-table-part):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
* lisp/dabbrev.el (dabbrev-expand):
* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* lisp/emacs-lisp/elint.el (elint-get-top-forms):
* lisp/emacs-lisp/lisp-mnt.el (lm-verify):
* lisp/emulation/viper-cmd.el (viper-toggle-search-style):
* lisp/erc/erc-button.el (erc-nick-popup):
* lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
* lisp/eshell/em-dirs.el (eshell/cd):
* lisp/eshell/em-glob.el (eshell-glob-regexp):
* lisp/eshell/em-pred.el (eshell-parse-modifiers):
* lisp/eshell/esh-arg.el (eshell-parse-arguments):
* lisp/eshell/esh-opt.el (eshell-show-usage):
* lisp/files-x.el (modify-file-local-variable):
* lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
(filesets-update-pre010505):
* lisp/find-cmd.el (find-generic, find-to-string):
* lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
* lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
(gnus-agent-fetch-headers):
* lisp/gnus/gnus-int.el (gnus-start-news-server):
* lisp/gnus/gnus-registry.el:
(gnus-registry--split-fancy-with-parent-internal):
* lisp/gnus/gnus-score.el (gnus-summary-increase-score):
* lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
* lisp/gnus/gnus-topic.el (gnus-topic-rename):
* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
* lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
* lisp/gnus/spam.el (spam-check-blackholes):
* lisp/mail/feedmail.el (feedmail-run-the-queue):
* lisp/mpc.el (mpc-playlist-rename):
* lisp/net/ange-ftp.el (ange-ftp-shell-command):
* lisp/net/mairix.el (mairix-widget-create-query):
* lisp/net/tramp-cache.el:
* lisp/obsolete/otodo-mode.el (todo-more-important-p):
* lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
* lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
* lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
* lisp/org/ob-core.el (org-babel-goto-named-src-block)
(org-babel-goto-named-result):
* lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
* lisp/org/ob-ref.el (org-babel-ref-resolve):
* lisp/org/org-agenda.el (org-agenda-prepare):
* lisp/org/org-bibtex.el (org-bibtex-fields):
* lisp/org/org-clock.el (org-clock-notify-once-if-expired)
(org-clock-resolve):
* lisp/org/org-feed.el (org-feed-parse-atom-entry):
* lisp/org/org-habit.el (org-habit-parse-todo):
* lisp/org/org-mouse.el (org-mouse-popup-global-menu)
(org-mouse-context-menu):
* lisp/org/org-table.el (org-table-edit-formulas):
* lisp/org/ox.el (org-export-async-start):
* lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
(dun-rooms, dun-endgame-questions):
* lisp/progmodes/ada-mode.el (ada-goto-matching-start):
* lisp/progmodes/ada-xref.el (ada-find-executable):
* lisp/progmodes/antlr-mode.el (antlr-options-alists):
* lisp/progmodes/flymake.el (flymake-parse-err-lines)
(flymake-start-syntax-check-process):
* lisp/progmodes/python.el (python-define-auxiliary-skeleton):
* lisp/progmodes/sql.el (sql-comint):
* lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
* lisp/server.el (server-get-auth-key):
* lisp/subr.el (version-to-list):
* lisp/textmodes/reftex-ref.el (reftex-label):
* lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
* lisp/vc/ediff-diff.el (ediff-same-contents):
* lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
* test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
Use directed rather than neutral quotes in diagnostics.
Diffstat (limited to 'lisp/eshell/esh-cmd.el')
| -rw-r--r-- | lisp/eshell/esh-cmd.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index d0c8cc422aa..efd85826f27 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el | |||
| @@ -165,13 +165,13 @@ In order to substitute an alternate command form for execution, the | |||
| 165 | hook function should throw it using the tag `eshell-replace-command'. | 165 | hook function should throw it using the tag `eshell-replace-command'. |
| 166 | For example: | 166 | For example: |
| 167 | 167 | ||
| 168 | (add-hook 'eshell-named-command-hook 'subst-with-cd) | 168 | (add-hook \\='eshell-named-command-hook \\='subst-with-cd) |
| 169 | (defun subst-with-cd (command args) | 169 | (defun subst-with-cd (command args) |
| 170 | (throw 'eshell-replace-command | 170 | (throw \\='eshell-replace-command |
| 171 | (eshell-parse-command \"cd\" args))) | 171 | (eshell-parse-command \"cd\" args))) |
| 172 | 172 | ||
| 173 | Although useless, the above code will cause any non-glob, non-Lisp | 173 | Although useless, the above code will cause any non-glob, non-Lisp |
| 174 | command (i.e., 'ls' as opposed to '*ls' or '(ls)') to be replaced by a | 174 | command (i.e., `ls' as opposed to `*ls' or `(ls)') to be replaced by a |
| 175 | call to `cd' using the arguments that were passed to the function." | 175 | call to `cd' using the arguments that were passed to the function." |
| 176 | :type 'hook | 176 | :type 'hook |
| 177 | :group 'eshell-cmd) | 177 | :group 'eshell-cmd) |
| @@ -243,7 +243,7 @@ return non-nil if the command is complex." | |||
| 243 | "If non-nil, enable Eshell debugging code. | 243 | "If non-nil, enable Eshell debugging code. |
| 244 | This is slow, and only useful for debugging problems with Eshell. | 244 | This is slow, and only useful for debugging problems with Eshell. |
| 245 | If you change this without using customize after Eshell has loaded, | 245 | If you change this without using customize after Eshell has loaded, |
| 246 | you must re-load 'esh-cmd.el'." | 246 | you must re-load `esh-cmd.el'." |
| 247 | :initialize 'custom-initialize-default | 247 | :initialize 'custom-initialize-default |
| 248 | :set (lambda (symbol value) | 248 | :set (lambda (symbol value) |
| 249 | (set symbol value) | 249 | (set symbol value) |
| @@ -390,7 +390,7 @@ hooks should be run before and after the command." | |||
| 390 | (macroexp-progn commands)))) | 390 | (macroexp-progn commands)))) |
| 391 | 391 | ||
| 392 | (defun eshell-debug-command (tag subform) | 392 | (defun eshell-debug-command (tag subform) |
| 393 | "Output a debugging message to '*eshell last cmd*'." | 393 | "Output a debugging message to `*eshell last cmd*'." |
| 394 | (let ((buf (get-buffer-create "*eshell last cmd*")) | 394 | (let ((buf (get-buffer-create "*eshell last cmd*")) |
| 395 | (text (eshell-stringify eshell-current-command))) | 395 | (text (eshell-stringify eshell-current-command))) |
| 396 | (with-current-buffer buf | 396 | (with-current-buffer buf |
| @@ -424,14 +424,14 @@ hooks should be run before and after the command." | |||
| 424 | (setq terms (cdr terms)))) | 424 | (setq terms (cdr terms)))) |
| 425 | 425 | ||
| 426 | (defun eshell-rewrite-sexp-command (terms) | 426 | (defun eshell-rewrite-sexp-command (terms) |
| 427 | "Rewrite a sexp in initial position, such as '(+ 1 2)'." | 427 | "Rewrite a sexp in initial position, such as `(+ 1 2)'." |
| 428 | ;; this occurs when a Lisp expression is in first position | 428 | ;; this occurs when a Lisp expression is in first position |
| 429 | (if (and (listp (car terms)) | 429 | (if (and (listp (car terms)) |
| 430 | (eq (caar terms) 'eshell-command-to-value)) | 430 | (eq (caar terms) 'eshell-command-to-value)) |
| 431 | (car (cdar terms)))) | 431 | (car (cdar terms)))) |
| 432 | 432 | ||
| 433 | (defun eshell-rewrite-initial-subcommand (terms) | 433 | (defun eshell-rewrite-initial-subcommand (terms) |
| 434 | "Rewrite a subcommand in initial position, such as '{+ 1 2}'." | 434 | "Rewrite a subcommand in initial position, such as `{+ 1 2}'." |
| 435 | (if (and (listp (car terms)) | 435 | (if (and (listp (car terms)) |
| 436 | (eq (caar terms) 'eshell-as-subcommand)) | 436 | (eq (caar terms) 'eshell-as-subcommand)) |
| 437 | (car terms))) | 437 | (car terms))) |
| @@ -634,7 +634,7 @@ For an external command, it means an exit code of 0." | |||
| 634 | final)) | 634 | final)) |
| 635 | 635 | ||
| 636 | (defun eshell-parse-subcommand-argument () | 636 | (defun eshell-parse-subcommand-argument () |
| 637 | "Parse a subcommand argument of the form '{command}'." | 637 | "Parse a subcommand argument of the form `{command}'." |
| 638 | (if (and (not eshell-current-argument) | 638 | (if (and (not eshell-current-argument) |
| 639 | (not eshell-current-quoted) | 639 | (not eshell-current-quoted) |
| 640 | (eq (char-after) ?\{) | 640 | (eq (char-after) ?\{) |