diff options
219 files changed, 882 insertions, 870 deletions
diff --git a/admin/unidata/unidata-gen.el b/admin/unidata/unidata-gen.el index 8d3f5b71557..9e39fd0c00d 100644 --- a/admin/unidata/unidata-gen.el +++ b/admin/unidata/unidata-gen.el | |||
| @@ -445,7 +445,7 @@ Property value is a symbol `o' (Open), `c' (Close), or `n' (None)." | |||
| 445 | ;; (4) possibly update the switch cases in | 445 | ;; (4) possibly update the switch cases in |
| 446 | ;; bidi.c:bidi_get_type and bidi.c:bidi_get_category. | 446 | ;; bidi.c:bidi_get_type and bidi.c:bidi_get_category. |
| 447 | (bidi-warning "\ | 447 | (bidi-warning "\ |
| 448 | ** Found new bidi-class ‘%s’, please update bidi.c and dispextern.h") | 448 | ** Found new bidi-class `%s', please update bidi.c and dispextern.h") |
| 449 | tail elt range val val-code idx slot | 449 | tail elt range val val-code idx slot |
| 450 | prev-range-data) | 450 | prev-range-data) |
| 451 | (setq val-list (cons nil (copy-sequence val-list))) | 451 | (setq val-list (cons nil (copy-sequence val-list))) |
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 5ad5f267857..d353241c34a 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi | |||
| @@ -9268,7 +9268,7 @@ documentation string. For example: | |||
| 9268 | @smallexample | 9268 | @smallexample |
| 9269 | @group | 9269 | @group |
| 9270 | (defvar shell-command-default-error-buffer nil | 9270 | (defvar shell-command-default-error-buffer nil |
| 9271 | "*Buffer name for ‘shell-command’ @dots{} error output. | 9271 | "*Buffer name for `shell-command' @dots{} error output. |
| 9272 | @dots{} ") | 9272 | @dots{} ") |
| 9273 | @end group | 9273 | @end group |
| 9274 | @end smallexample | 9274 | @end smallexample |
| @@ -11107,7 +11107,7 @@ up the number of pebbles in a triangle. | |||
| 11107 | @smallexample | 11107 | @smallexample |
| 11108 | @group | 11108 | @group |
| 11109 | (defun triangle-using-dotimes (number-of-rows) | 11109 | (defun triangle-using-dotimes (number-of-rows) |
| 11110 | "Using ‘dotimes’, add up the number of pebbles in a triangle." | 11110 | "Using `dotimes', add up the number of pebbles in a triangle." |
| 11111 | (let ((total 0)) ; otherwise a total is a void variable | 11111 | (let ((total 0)) ; otherwise a total is a void variable |
| 11112 | (dotimes (number number-of-rows total) | 11112 | (dotimes (number number-of-rows total) |
| 11113 | (setq total (+ total (1+ number)))))) | 11113 | (setq total (+ total (1+ number)))))) |
| @@ -13514,8 +13514,8 @@ For example: | |||
| 13514 | @smallexample | 13514 | @smallexample |
| 13515 | @group | 13515 | @group |
| 13516 | (let* ((foo 7) | 13516 | (let* ((foo 7) |
| 13517 | (bar (* 3 foo))) | 13517 | (bar (* 3 foo))) |
| 13518 | (message "‘bar’ is %d." bar)) | 13518 | (message "`bar' is %d." bar)) |
| 13519 | @result{} ‘bar’ is 21. | 13519 | @result{} ‘bar’ is 21. |
| 13520 | @end group | 13520 | @end group |
| 13521 | @end smallexample | 13521 | @end smallexample |
| @@ -13758,7 +13758,7 @@ All this leads to the following function definition: | |||
| 13758 | "Print number of words in the region. | 13758 | "Print number of words in the region. |
| 13759 | Words are defined as at least one word-constituent | 13759 | Words are defined as at least one word-constituent |
| 13760 | character followed by at least one character that | 13760 | character followed by at least one character that |
| 13761 | is not a word-constituent. The buffer’s syntax | 13761 | is not a word-constituent. The buffer's syntax |
| 13762 | table determines which characters these are." | 13762 | table determines which characters these are." |
| 13763 | (interactive "r") | 13763 | (interactive "r") |
| 13764 | (message "Counting words in region ... ") | 13764 | (message "Counting words in region ... ") |
| @@ -13825,7 +13825,7 @@ parenthesis and type @kbd{C-x C-e} to install it. | |||
| 13825 | (defun @value{COUNT-WORDS} (beginning end) | 13825 | (defun @value{COUNT-WORDS} (beginning end) |
| 13826 | "Print number of words in the region. | 13826 | "Print number of words in the region. |
| 13827 | Words are defined as at least one word-constituent character followed | 13827 | Words are defined as at least one word-constituent character followed |
| 13828 | by at least one character that is not a word-constituent. The buffer’s | 13828 | by at least one character that is not a word-constituent. The buffer's |
| 13829 | syntax table determines which characters these are." | 13829 | syntax table determines which characters these are." |
| 13830 | @end group | 13830 | @end group |
| 13831 | @group | 13831 | @group |
| @@ -14987,13 +14987,13 @@ beginning of the file. The function definition looks like this: | |||
| 14987 | @smallexample | 14987 | @smallexample |
| 14988 | @group | 14988 | @group |
| 14989 | (defun lengths-list-file (filename) | 14989 | (defun lengths-list-file (filename) |
| 14990 | "Return list of definitions’ lengths within FILE. | 14990 | "Return list of definitions' lengths within FILE. |
| 14991 | The returned list is a list of numbers. | 14991 | The returned list is a list of numbers. |
| 14992 | Each number is the number of words or | 14992 | Each number is the number of words or |
| 14993 | symbols in one function definition." | 14993 | symbols in one function definition." |
| 14994 | @end group | 14994 | @end group |
| 14995 | @group | 14995 | @group |
| 14996 | (message "Working on ‘%s’ ... " filename) | 14996 | (message "Working on `%s' ... " filename) |
| 14997 | (save-excursion | 14997 | (save-excursion |
| 14998 | (let ((buffer (find-file-noselect filename)) | 14998 | (let ((buffer (find-file-noselect filename)) |
| 14999 | (lengths-list)) | 14999 | (lengths-list)) |
| @@ -15759,7 +15759,7 @@ simpler to write a list manually. Here it is: | |||
| 15759 | 160 170 180 190 200 | 15759 | 160 170 180 190 200 |
| 15760 | 210 220 230 240 250 | 15760 | 210 220 230 240 250 |
| 15761 | 260 270 280 290 300) | 15761 | 260 270 280 290 300) |
| 15762 | "List specifying ranges for ‘defuns-per-range’.") | 15762 | "List specifying ranges for `defuns-per-range'.") |
| 15763 | @end group | 15763 | @end group |
| 15764 | @end smallexample | 15764 | @end smallexample |
| 15765 | 15765 | ||
| @@ -19943,7 +19943,7 @@ row, and the value of the width of the top line, which is calculated | |||
| 19943 | @group | 19943 | @group |
| 19944 | (defun Y-axis-element (number full-Y-label-width) | 19944 | (defun Y-axis-element (number full-Y-label-width) |
| 19945 | "Construct a NUMBERed label element. | 19945 | "Construct a NUMBERed label element. |
| 19946 | A numbered element looks like this ‘ 5 - ’, | 19946 | A numbered element looks like this ` 5 - ', |
| 19947 | and is padded as needed so all line up with | 19947 | and is padded as needed so all line up with |
| 19948 | the element for the largest number." | 19948 | the element for the largest number." |
| 19949 | @end group | 19949 | @end group |
| @@ -20044,7 +20044,7 @@ the @code{print-Y-axis} function, which inserts the list as a column. | |||
| 20044 | Height must be the maximum height of the graph. | 20044 | Height must be the maximum height of the graph. |
| 20045 | Full width is the width of the highest label element." | 20045 | Full width is the width of the highest label element." |
| 20046 | ;; Value of height and full-Y-label-width | 20046 | ;; Value of height and full-Y-label-width |
| 20047 | ;; are passed by ‘print-graph’. | 20047 | ;; are passed by print-graph. |
| 20048 | @end group | 20048 | @end group |
| 20049 | @group | 20049 | @group |
| 20050 | (let ((start (point))) | 20050 | (let ((start (point))) |
| @@ -21169,7 +21169,7 @@ each column." | |||
| 21169 | @end group | 21169 | @end group |
| 21170 | @group | 21170 | @group |
| 21171 | ;; Value of symbol-width and full-Y-label-width | 21171 | ;; Value of symbol-width and full-Y-label-width |
| 21172 | ;; are passed by ‘print-graph’. | 21172 | ;; are passed by print-graph. |
| 21173 | (let* ((leading-spaces | 21173 | (let* ((leading-spaces |
| 21174 | (make-string full-Y-label-width ? )) | 21174 | (make-string full-Y-label-width ? )) |
| 21175 | ;; symbol-width @r{is provided by} graph-body-print | 21175 | ;; symbol-width @r{is provided by} graph-body-print |
| @@ -21269,7 +21269,7 @@ Here are all the graphing definitions in their final form: | |||
| 21269 | 110 120 130 140 150 | 21269 | 110 120 130 140 150 |
| 21270 | 160 170 180 190 200 | 21270 | 160 170 180 190 200 |
| 21271 | 210 220 230 240 250) | 21271 | 210 220 230 240 250) |
| 21272 | "List specifying ranges for ‘defuns-per-range’.") | 21272 | "List specifying ranges for `defuns-per-range'.") |
| 21273 | @end group | 21273 | @end group |
| 21274 | 21274 | ||
| 21275 | @group | 21275 | @group |
| @@ -21330,14 +21330,14 @@ as graph-symbol.") | |||
| 21330 | @smallexample | 21330 | @smallexample |
| 21331 | @group | 21331 | @group |
| 21332 | (defun lengths-list-file (filename) | 21332 | (defun lengths-list-file (filename) |
| 21333 | "Return list of definitions’ lengths within FILE. | 21333 | "Return list of definitions' lengths within FILE. |
| 21334 | The returned list is a list of numbers. | 21334 | The returned list is a list of numbers. |
| 21335 | Each number is the number of words or | 21335 | Each number is the number of words or |
| 21336 | symbols in one function definition." | 21336 | symbols in one function definition." |
| 21337 | @end group | 21337 | @end group |
| 21338 | 21338 | ||
| 21339 | @group | 21339 | @group |
| 21340 | (message "Working on ‘%s’ ... " filename) | 21340 | (message "Working on `%s' ... " filename) |
| 21341 | (save-excursion | 21341 | (save-excursion |
| 21342 | (let ((buffer (find-file-noselect filename)) | 21342 | (let ((buffer (find-file-noselect filename)) |
| 21343 | (lengths-list)) | 21343 | (lengths-list)) |
| @@ -21467,7 +21467,7 @@ The strings are either graph-blank or graph-symbol." | |||
| 21467 | @group | 21467 | @group |
| 21468 | (defun Y-axis-element (number full-Y-label-width) | 21468 | (defun Y-axis-element (number full-Y-label-width) |
| 21469 | "Construct a NUMBERed label element. | 21469 | "Construct a NUMBERed label element. |
| 21470 | A numbered element looks like this ‘ 5 - ’, | 21470 | A numbered element looks like this ` 5 - ', |
| 21471 | and is padded as needed so all line up with | 21471 | and is padded as needed so all line up with |
| 21472 | the element for the largest number." | 21472 | the element for the largest number." |
| 21473 | @end group | 21473 | @end group |
| @@ -21497,7 +21497,7 @@ Optionally, print according to VERTICAL-STEP." | |||
| 21497 | @end group | 21497 | @end group |
| 21498 | @group | 21498 | @group |
| 21499 | ;; Value of height and full-Y-label-width | 21499 | ;; Value of height and full-Y-label-width |
| 21500 | ;; are passed by ‘print-graph’. | 21500 | ;; are passed by 'print-graph'. |
| 21501 | (let ((start (point))) | 21501 | (let ((start (point))) |
| 21502 | (insert-rectangle | 21502 | (insert-rectangle |
| 21503 | (Y-axis-column height full-Y-label-width vertical-step)) | 21503 | (Y-axis-column height full-Y-label-width vertical-step)) |
| @@ -21662,7 +21662,7 @@ each column." | |||
| 21662 | @end group | 21662 | @end group |
| 21663 | @group | 21663 | @group |
| 21664 | ;; Value of symbol-width and full-Y-label-width | 21664 | ;; Value of symbol-width and full-Y-label-width |
| 21665 | ;; are passed by ‘print-graph’. | 21665 | ;; are passed by 'print-graph'. |
| 21666 | (let* ((leading-spaces | 21666 | (let* ((leading-spaces |
| 21667 | (make-string full-Y-label-width ? )) | 21667 | (make-string full-Y-label-width ? )) |
| 21668 | ;; symbol-width @r{is provided by} graph-body-print | 21668 | ;; symbol-width @r{is provided by} graph-body-print |
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi index 29d1bd588e3..421f5cc530f 100644 --- a/doc/lispref/control.texi +++ b/doc/lispref/control.texi | |||
| @@ -315,7 +315,7 @@ between a few different constant values: | |||
| 315 | @example | 315 | @example |
| 316 | (pcase (get-return-code x) | 316 | (pcase (get-return-code x) |
| 317 | (`success (message "Done!")) | 317 | (`success (message "Done!")) |
| 318 | (`would-block (message "Sorry, can’t do it now")) | 318 | (`would-block (message "Sorry, can't do it now")) |
| 319 | (`read-only (message "The shmliblick is read-only")) | 319 | (`read-only (message "The shmliblick is read-only")) |
| 320 | (`access-denied (message "You do not have the needed rights")) | 320 | (`access-denied (message "You do not have the needed rights")) |
| 321 | (code (message "Unknown return code %S" code))) | 321 | (code (message "Unknown return code %S" code))) |
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 20eaf5dee1e..a853d2fbab5 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi | |||
| @@ -1561,7 +1561,7 @@ Around advice such as: | |||
| 1561 | 1561 | ||
| 1562 | @example | 1562 | @example |
| 1563 | (defadvice foo (around foo-around) | 1563 | (defadvice foo (around foo-around) |
| 1564 | "Ignore case in ‘foo’." | 1564 | "Ignore case in `foo'." |
| 1565 | (let ((case-fold-search t)) | 1565 | (let ((case-fold-search t)) |
| 1566 | ad-do-it)) | 1566 | ad-do-it)) |
| 1567 | (ad-activate 'foo) | 1567 | (ad-activate 'foo) |
| @@ -1571,7 +1571,7 @@ could translate into: | |||
| 1571 | 1571 | ||
| 1572 | @example | 1572 | @example |
| 1573 | (defun foo--foo-around (orig-fun &rest args) | 1573 | (defun foo--foo-around (orig-fun &rest args) |
| 1574 | "Ignore case in ‘foo’." | 1574 | "Ignore case in `foo'." |
| 1575 | (let ((case-fold-search t)) | 1575 | (let ((case-fold-search t)) |
| 1576 | (apply orig-fun args))) | 1576 | (apply orig-fun args))) |
| 1577 | (advice-add 'foo :around #'foo--foo-around) | 1577 | (advice-add 'foo :around #'foo--foo-around) |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 89339ffe575..b3042d747b4 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -377,7 +377,7 @@ specifies a key binding that the command does not actually have. | |||
| 377 | @smallexample | 377 | @smallexample |
| 378 | @group | 378 | @group |
| 379 | (substitute-command-keys | 379 | (substitute-command-keys |
| 380 | "To abort recursive edit, type ‘\\[abort-recursive-edit]’.") | 380 | "To abort recursive edit, type `\\[abort-recursive-edit]'.") |
| 381 | @result{} "To abort recursive edit, type ‘C-]’." | 381 | @result{} "To abort recursive edit, type ‘C-]’." |
| 382 | @end group | 382 | @end group |
| 383 | 383 | ||
| @@ -398,7 +398,7 @@ C-g abort-recursive-edit | |||
| 398 | 398 | ||
| 399 | @group | 399 | @group |
| 400 | (substitute-command-keys | 400 | (substitute-command-keys |
| 401 | "To abort a recursive edit from the minibuffer, type\ | 401 | "To abort a recursive edit from the minibuffer, type \ |
| 402 | `\\<minibuffer-local-must-match-map>\\[abort-recursive-edit]'.") | 402 | `\\<minibuffer-local-must-match-map>\\[abort-recursive-edit]'.") |
| 403 | @result{} "To abort a recursive edit from the minibuffer, type ‘C-g’." | 403 | @result{} "To abort a recursive edit from the minibuffer, type ‘C-g’." |
| 404 | @end group | 404 | @end group |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index f00e481275f..a8b6bb19c5f 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1155,9 +1155,9 @@ Many other modes, such as `mail-mode', `outline-mode' and | |||
| 1155 | "Major mode for editing text written for humans to read. | 1155 | "Major mode for editing text written for humans to read. |
| 1156 | In this mode, paragraphs are delimited only by blank or white lines. | 1156 | In this mode, paragraphs are delimited only by blank or white lines. |
| 1157 | You can thus get the full benefit of adaptive filling | 1157 | You can thus get the full benefit of adaptive filling |
| 1158 | (see the variable ‘adaptive-fill-mode’). | 1158 | (see the variable `adaptive-fill-mode'). |
| 1159 | \\@{text-mode-map@} | 1159 | \\@{text-mode-map@} |
| 1160 | Turning on Text mode runs the normal hook ‘text-mode-hook’." | 1160 | Turning on Text mode runs the normal hook `text-mode-hook'." |
| 1161 | @end group | 1161 | @end group |
| 1162 | @group | 1162 | @group |
| 1163 | (set (make-local-variable 'text-mode-variant) t) | 1163 | (set (make-local-variable 'text-mode-variant) t) |
| @@ -1252,7 +1252,7 @@ And here is the code to set up the keymap for Lisp mode: | |||
| 1252 | @dots{} | 1252 | @dots{} |
| 1253 | map) | 1253 | map) |
| 1254 | "Keymap for ordinary Lisp mode. | 1254 | "Keymap for ordinary Lisp mode. |
| 1255 | All commands in ‘lisp-mode-shared-map’ are inherited by this map.") | 1255 | All commands in `lisp-mode-shared-map' are inherited by this map.") |
| 1256 | @end group | 1256 | @end group |
| 1257 | @end smallexample | 1257 | @end smallexample |
| 1258 | 1258 | ||
| @@ -1268,12 +1268,12 @@ Delete converts tabs to spaces as it moves back. | |||
| 1268 | Blank lines separate paragraphs. Semicolons start comments. | 1268 | Blank lines separate paragraphs. Semicolons start comments. |
| 1269 | 1269 | ||
| 1270 | \\@{lisp-mode-map@} | 1270 | \\@{lisp-mode-map@} |
| 1271 | Note that ‘run-lisp’ may be used either to start an inferior Lisp job | 1271 | Note that `run-lisp' may be used either to start an inferior Lisp job |
| 1272 | or to switch back to an existing one. | 1272 | or to switch back to an existing one. |
| 1273 | @end group | 1273 | @end group |
| 1274 | 1274 | ||
| 1275 | @group | 1275 | @group |
| 1276 | Entry to this mode calls the value of ‘lisp-mode-hook’ | 1276 | Entry to this mode calls the value of `lisp-mode-hook' |
| 1277 | if that value is non-nil." | 1277 | if that value is non-nil." |
| 1278 | (lisp-mode-variables nil t) | 1278 | (lisp-mode-variables nil t) |
| 1279 | (set (make-local-variable 'find-tag-default-function) | 1279 | (set (make-local-variable 'find-tag-default-function) |
| @@ -1447,7 +1447,7 @@ will load the library that defines the mode. For example: | |||
| 1447 | (defcustom msb-mode nil | 1447 | (defcustom msb-mode nil |
| 1448 | "Toggle msb-mode. | 1448 | "Toggle msb-mode. |
| 1449 | Setting this variable directly does not take effect; | 1449 | Setting this variable directly does not take effect; |
| 1450 | use either \\[customize] or the function ‘msb-mode’." | 1450 | use either \\[customize] or the function `msb-mode'." |
| 1451 | :set 'custom-set-minor-mode | 1451 | :set 'custom-set-minor-mode |
| 1452 | :initialize 'custom-initialize-default | 1452 | :initialize 'custom-initialize-default |
| 1453 | :version "20.4" | 1453 | :version "20.4" |
| @@ -1605,7 +1605,7 @@ for this macro. | |||
| 1605 | Interactively with no argument, this command toggles the mode. | 1605 | Interactively with no argument, this command toggles the mode. |
| 1606 | A positive prefix argument enables the mode, any other prefix | 1606 | A positive prefix argument enables the mode, any other prefix |
| 1607 | argument disables it. From Lisp, argument omitted or nil enables | 1607 | argument disables it. From Lisp, argument omitted or nil enables |
| 1608 | the mode, ‘toggle’ toggles the state. | 1608 | the mode, `toggle' toggles the state. |
| 1609 | 1609 | ||
| 1610 | When Hungry mode is enabled, the control delete key | 1610 | When Hungry mode is enabled, the control delete key |
| 1611 | gobbles all preceding whitespace except the last. | 1611 | gobbles all preceding whitespace except the last. |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index f7d4117673a..6ef87dfbd53 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1928,7 +1928,7 @@ idleness. Here's an example: | |||
| 1928 | 1928 | ||
| 1929 | @example | 1929 | @example |
| 1930 | (defvar my-resume-timer nil | 1930 | (defvar my-resume-timer nil |
| 1931 | "Timer for ‘my-timer-function’ to reschedule itself, or nil.") | 1931 | "Timer for `my-timer-function' to reschedule itself, or nil.") |
| 1932 | 1932 | ||
| 1933 | (defun my-timer-function () | 1933 | (defun my-timer-function () |
| 1934 | ;; @r{If the user types a command while @code{my-resume-timer}} | 1934 | ;; @r{If the user types a command while @code{my-resume-timer}} |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 98b3dfb9e3a..c9509b0f216 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1720,13 +1720,13 @@ sentinel, the eventual call to the sentinel will use the new one. | |||
| 1720 | @group | 1720 | @group |
| 1721 | (defun msg-me (process event) | 1721 | (defun msg-me (process event) |
| 1722 | (princ | 1722 | (princ |
| 1723 | (format "Process: %s had the event ‘%s’" process event))) | 1723 | (format "Process: %s had the event '%s'" process event))) |
| 1724 | (set-process-sentinel (get-process "shell") 'msg-me) | 1724 | (set-process-sentinel (get-process "shell") 'msg-me) |
| 1725 | @result{} msg-me | 1725 | @result{} msg-me |
| 1726 | @end group | 1726 | @end group |
| 1727 | @group | 1727 | @group |
| 1728 | (kill-process (get-process "shell")) | 1728 | (kill-process (get-process "shell")) |
| 1729 | @print{} Process: #<process shell> had the event ‘killed’ | 1729 | @print{} Process: #<process shell> had the event 'killed' |
| 1730 | @result{} #<process shell> | 1730 | @result{} #<process shell> |
| 1731 | @end group | 1731 | @end group |
| 1732 | @end smallexample | 1732 | @end smallexample |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 4a338931601..f42250719e5 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -969,12 +969,12 @@ is not truncated. | |||
| 969 | 969 | ||
| 970 | @example | 970 | @example |
| 971 | @group | 971 | @group |
| 972 | (format "The word ‘%7s’ has %d letters in it." | 972 | (format "The word '%7s' has %d letters in it." |
| 973 | "foo" (length "foo")) | 973 | "foo" (length "foo")) |
| 974 | @result{} "The word ‘ foo’ has 3 letters in it." | 974 | @result{} "The word ' foo' has 3 letters in it." |
| 975 | (format "The word ‘%7s’ has %d letters in it." | 975 | (format "The word '%7s' has %d letters in it." |
| 976 | "specification" (length "specification")) | 976 | "specification" (length "specification")) |
| 977 | @result{} "The word ‘specification’ has 13 letters in it." | 977 | @result{} "The word 'specification' has 13 letters in it." |
| 978 | @end group | 978 | @end group |
| 979 | @end example | 979 | @end example |
| 980 | 980 | ||
| @@ -1013,12 +1013,12 @@ ignored. | |||
| 1013 | (format "%06d is padded on the left with zeros" 123) | 1013 | (format "%06d is padded on the left with zeros" 123) |
| 1014 | @result{} "000123 is padded on the left with zeros" | 1014 | @result{} "000123 is padded on the left with zeros" |
| 1015 | 1015 | ||
| 1016 | (format "‘%-6d’ is padded on the right" 123) | 1016 | (format "'%-6d' is padded on the right" 123) |
| 1017 | @result{} "‘123 ’ is padded on the right" | 1017 | @result{} "'123 ' is padded on the right" |
| 1018 | 1018 | ||
| 1019 | (format "The word ‘%-7s’ actually has %d letters in it." | 1019 | (format "The word '%-7s' actually has %d letters in it." |
| 1020 | "foo" (length "foo")) | 1020 | "foo" (length "foo")) |
| 1021 | @result{} "The word ‘foo ’ actually has 3 letters in it." | 1021 | @result{} "The word 'foo ' actually has 3 letters in it." |
| 1022 | @end group | 1022 | @end group |
| 1023 | @end example | 1023 | @end example |
| 1024 | 1024 | ||
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 33044280175..55e550a7b80 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -1960,7 +1960,7 @@ Called from a program, there are three arguments: | |||
| 1960 | @group | 1960 | @group |
| 1961 | REVERSE (non-nil means reverse order),\ | 1961 | REVERSE (non-nil means reverse order),\ |
| 1962 | BEG and END (region to sort). | 1962 | BEG and END (region to sort). |
| 1963 | The variable ‘sort-fold-case’ determines\ | 1963 | The variable `sort-fold-case' determines\ |
| 1964 | whether alphabetic case affects | 1964 | whether alphabetic case affects |
| 1965 | the sort order." | 1965 | the sort order." |
| 1966 | @end group | 1966 | @end group |
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index 7107bb45872..3bde0a877ab 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi | |||
| @@ -689,7 +689,7 @@ immediately before the symbol name. (Case makes no difference in | |||
| 689 | recognizing these indicator words.) For example, if you write | 689 | recognizing these indicator words.) For example, if you write |
| 690 | 690 | ||
| 691 | @example | 691 | @example |
| 692 | This function sets the variable ‘buffer-file-name’. | 692 | This function sets the variable `buffer-file-name'. |
| 693 | @end example | 693 | @end example |
| 694 | 694 | ||
| 695 | @noindent | 695 | @noindent |
| @@ -702,7 +702,7 @@ you can write the words @samp{symbol} or @samp{program} before the | |||
| 702 | symbol name to prevent making any hyperlink. For example, | 702 | symbol name to prevent making any hyperlink. For example, |
| 703 | 703 | ||
| 704 | @example | 704 | @example |
| 705 | If the argument KIND-OF-RESULT is the symbol ‘list’, | 705 | If the argument KIND-OF-RESULT is the symbol `list', |
| 706 | this function returns a list of all the objects | 706 | this function returns a list of all the objects |
| 707 | that satisfy the criterion. | 707 | that satisfy the criterion. |
| 708 | @end example | 708 | @end example |
| @@ -727,7 +727,7 @@ name of the Info node (or anchor), preceded by | |||
| 727 | anchor}. The Info file name defaults to @samp{emacs}. For example, | 727 | anchor}. The Info file name defaults to @samp{emacs}. For example, |
| 728 | 728 | ||
| 729 | @smallexample | 729 | @smallexample |
| 730 | See Info node ‘Font Lock’ and Info node ‘(elisp)Font Lock Basics’. | 730 | See Info node `Font Lock' and Info node `(elisp)Font Lock Basics'. |
| 731 | @end smallexample | 731 | @end smallexample |
| 732 | 732 | ||
| 733 | Finally, to create a hyperlink to URLs, write the single-quoted URL, | 733 | Finally, to create a hyperlink to URLs, write the single-quoted URL, |
| @@ -735,7 +735,7 @@ preceded by @samp{URL}. For example, | |||
| 735 | 735 | ||
| 736 | @smallexample | 736 | @smallexample |
| 737 | The home page for the GNU project has more information (see URL | 737 | The home page for the GNU project has more information (see URL |
| 738 | ‘http://www.gnu.org/’). | 738 | `http://www.gnu.org/'). |
| 739 | @end smallexample | 739 | @end smallexample |
| 740 | 740 | ||
| 741 | @item | 741 | @item |
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi index 565abb557e2..7a824acfed5 100644 --- a/doc/misc/ede.texi +++ b/doc/misc/ede.texi | |||
| @@ -867,14 +867,14 @@ It would look like this: | |||
| 867 | ) | 867 | ) |
| 868 | 868 | ||
| 869 | (defun MY-ROOT-FCN () | 869 | (defun MY-ROOT-FCN () |
| 870 | "Return the root fcn for ‘default-directory’" | 870 | "Return the root fcn for `default-directory'" |
| 871 | ;; You might be able to use 'ede-cpp-root-project-root' | 871 | ;; You might be able to use 'ede-cpp-root-project-root' |
| 872 | ;; and not write this at all. | 872 | ;; and not write this at all. |
| 873 | ) | 873 | ) |
| 874 | 874 | ||
| 875 | (defun MY-LOAD (dir) | 875 | (defun MY-LOAD (dir) |
| 876 | "Load a project of type ‘cpp-root’ for the directory DIR. | 876 | "Load a project of type `cpp-root' for the directory DIR. |
| 877 | Return nil if there isn’t one." | 877 | Return nil if there isn't one." |
| 878 | ;; Use your preferred construction method here. | 878 | ;; Use your preferred construction method here. |
| 879 | (ede-cpp-root-project "NAME" :file (expand-file-name "FILE" dir) | 879 | (ede-cpp-root-project "NAME" :file (expand-file-name "FILE" dir) |
| 880 | :locate-fcn 'MYFCN) | 880 | :locate-fcn 'MYFCN) |
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi index 75df1d41ff9..3e9109d0924 100644 --- a/doc/misc/efaq.texi +++ b/doc/misc/efaq.texi | |||
| @@ -4336,7 +4336,7 @@ best fix I've been able to come up with: | |||
| 4336 | 4336 | ||
| 4337 | @lisp | 4337 | @lisp |
| 4338 | (defun rmail-reply-t () | 4338 | (defun rmail-reply-t () |
| 4339 | "Reply only to the sender of the current message. (See ‘rmail-reply’.)" | 4339 | "Reply only to the sender of the current message. (See rmail-reply.)" |
| 4340 | (interactive) | 4340 | (interactive) |
| 4341 | (rmail-reply t)) | 4341 | (rmail-reply t)) |
| 4342 | 4342 | ||
diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi index 7cee5c30a1b..fb4e1470016 100644 --- a/doc/misc/eieio.texi +++ b/doc/misc/eieio.texi | |||
| @@ -1529,7 +1529,7 @@ Currently, the default superclass is defined as follows: | |||
| 1529 | nil | 1529 | nil |
| 1530 | "Default parent class for classes with no specified parent class. | 1530 | "Default parent class for classes with no specified parent class. |
| 1531 | Its slots are automatically adopted by classes with no specified | 1531 | Its slots are automatically adopted by classes with no specified |
| 1532 | parents. This class is not stored in the ‘parent’ slot of a class vector." | 1532 | parents. This class is not stored in the `parent' slot of a class vector." |
| 1533 | :abstract t) | 1533 | :abstract t) |
| 1534 | @end example | 1534 | @end example |
| 1535 | 1535 | ||
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index 5ab34a0f7ae..19c78bf56c6 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -1671,7 +1671,7 @@ instead (works for newer versions as well): | |||
| 1671 | (setq message-user-fqdn fqdn) | 1671 | (setq message-user-fqdn fqdn) |
| 1672 | (gnus-message 1 "Redefining `message-make-fqdn'.") | 1672 | (gnus-message 1 "Redefining `message-make-fqdn'.") |
| 1673 | (defun message-make-fqdn () | 1673 | (defun message-make-fqdn () |
| 1674 | "Return user’s fully qualified domain name." | 1674 | "Return user's fully qualified domain name." |
| 1675 | fqdn)))) | 1675 | fqdn)))) |
| 1676 | @end example | 1676 | @end example |
| 1677 | @noindent | 1677 | @noindent |
| @@ -1765,9 +1765,9 @@ snippet by Frank Haun <pille3003@@fhaun.de> in | |||
| 1765 | 1765 | ||
| 1766 | @example | 1766 | @example |
| 1767 | (defun my-archive-article (&optional n) | 1767 | (defun my-archive-article (&optional n) |
| 1768 | "Copies one or more article(s) to a corresponding ‘nnml:’ group, e.g., | 1768 | "Copies one or more article(s) to a corresponding `nnml:' group, e.g., |
| 1769 | ‘gnus.ding’ goes to ‘nnml:1.gnus.ding’. And ‘nnml:List-gnus.ding’ goes | 1769 | `gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes |
| 1770 | to ‘nnml:1.List-gnus-ding’. | 1770 | to `nnml:1.List-gnus-ding'. |
| 1771 | 1771 | ||
| 1772 | Use process marks or mark a region in the summary buffer to archive | 1772 | Use process marks or mark a region in the summary buffer to archive |
| 1773 | more then one article." | 1773 | more then one article." |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index d50bcd671ae..9093fa24f3d 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -21034,8 +21034,8 @@ function: | |||
| 21034 | 21034 | ||
| 21035 | @lisp | 21035 | @lisp |
| 21036 | (defun gnus-decay-score (score) | 21036 | (defun gnus-decay-score (score) |
| 21037 | "Decay SCORE according to ‘gnus-score-decay-constant’ | 21037 | "Decay SCORE according to `gnus-score-decay-constant' |
| 21038 | and ‘gnus-score-decay-scale’." | 21038 | and `gnus-score-decay-scale'." |
| 21039 | (let ((n (- score | 21039 | (let ((n (- score |
| 21040 | (* (if (< score 0) -1 1) | 21040 | (* (if (< score 0) -1 1) |
| 21041 | (min (abs score) | 21041 | (min (abs score) |
| @@ -24081,7 +24081,7 @@ spam. And here is the nifty function: | |||
| 24081 | 24081 | ||
| 24082 | @lisp | 24082 | @lisp |
| 24083 | (defun my-gnus-raze-spam () | 24083 | (defun my-gnus-raze-spam () |
| 24084 | "Submit SPAM to Vipul’s Razor, then mark it as expirable." | 24084 | "Submit SPAM to Vipul's Razor, then mark it as expirable." |
| 24085 | (interactive) | 24085 | (interactive) |
| 24086 | (gnus-summary-save-in-pipe "razor-report -f -d" t) | 24086 | (gnus-summary-save-in-pipe "razor-report -f -d" t) |
| 24087 | (gnus-summary-mark-as-expirable 1)) | 24087 | (gnus-summary-mark-as-expirable 1)) |
diff --git a/doc/misc/rcirc.texi b/doc/misc/rcirc.texi index a0d74b41be3..a707ba5f03e 100644 --- a/doc/misc/rcirc.texi +++ b/doc/misc/rcirc.texi | |||
| @@ -909,7 +909,7 @@ The real answer, therefore, is a @code{/reconnect} command: | |||
| 909 | "Reconnect the server process." | 909 | "Reconnect the server process." |
| 910 | (interactive "i") | 910 | (interactive "i") |
| 911 | (unless process | 911 | (unless process |
| 912 | (error "There’s no process for this target")) | 912 | (error "There's no process for this target")) |
| 913 | (let* ((server (car (process-contact process))) | 913 | (let* ((server (car (process-contact process))) |
| 914 | (port (process-contact process :service)) | 914 | (port (process-contact process :service)) |
| 915 | (nick (rcirc-nick process)) | 915 | (nick (rcirc-nick process)) |
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 0ba21da70ca..f372a280ffe 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el | |||
| @@ -399,7 +399,7 @@ A prefix argument means don't query; expand all abbrevs." | |||
| 399 | (buffer-substring-no-properties | 399 | (buffer-substring-no-properties |
| 400 | (save-excursion (forward-word -1) (point)) | 400 | (save-excursion (forward-word -1) (point)) |
| 401 | pnt))) | 401 | pnt))) |
| 402 | (if (or noquery (y-or-n-p (format-message "Expand ‘%s’? " string))) | 402 | (if (or noquery (y-or-n-p (format-message "Expand `%s'? " string))) |
| 403 | (expand-abbrev))))))) | 403 | (expand-abbrev))))))) |
| 404 | 404 | ||
| 405 | ;;; Abbrev properties. | 405 | ;;; Abbrev properties. |
diff --git a/lisp/align.el b/lisp/align.el index 3020b6a1750..9eb04ef594f 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -1348,7 +1348,7 @@ aligner would have dealt with are." | |||
| 1348 | (if real-beg | 1348 | (if real-beg |
| 1349 | (goto-char beg) | 1349 | (goto-char beg) |
| 1350 | (if (or (not thissep) (eq thissep 'entire)) | 1350 | (if (or (not thissep) (eq thissep 'entire)) |
| 1351 | (error "Cannot determine alignment region for ‘%s’" | 1351 | (error "Cannot determine alignment region for `%s'" |
| 1352 | (symbol-name (cdr (assq 'title rule))))) | 1352 | (symbol-name (cdr (assq 'title rule))))) |
| 1353 | (beginning-of-line) | 1353 | (beginning-of-line) |
| 1354 | (while (and (not (eobp)) | 1354 | (while (and (not (eobp)) |
diff --git a/lisp/allout-widgets.el b/lisp/allout-widgets.el index eb9085c9b0b..f31c3d8689e 100644 --- a/lisp/allout-widgets.el +++ b/lisp/allout-widgets.el | |||
| @@ -481,9 +481,9 @@ text in allout item bodies.") | |||
| 481 | 481 | ||
| 482 | \(That space is used to convey selected cues indicating body qualities, | 482 | \(That space is used to convey selected cues indicating body qualities, |
| 483 | including things like: | 483 | including things like: |
| 484 | - encryption ‘~’ | 484 | - encryption `~' |
| 485 | - numbering ‘#’ | 485 | - numbering `#' |
| 486 | - indirect reference ‘@’ | 486 | - indirect reference `@' |
| 487 | - distinctive bullets - see `allout-distinctive-bullets-string'.)") | 487 | - distinctive bullets - see `allout-distinctive-bullets-string'.)") |
| 488 | ;;;_ = allout-span-to-category | 488 | ;;;_ = allout-span-to-category |
| 489 | (defvar allout-span-to-category | 489 | (defvar allout-span-to-category |
diff --git a/lisp/allout.el b/lisp/allout.el index 3ba440f4886..f7055734961 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -229,7 +229,7 @@ See `allout-unprefixed-keybindings' for the list of keybindings | |||
| 229 | that are not prefixed. | 229 | that are not prefixed. |
| 230 | 230 | ||
| 231 | Use vector format for the keys: | 231 | Use vector format for the keys: |
| 232 | - put literal keys after a ‘?’ question mark, eg: ‘?a’, ‘?.’ | 232 | - put literal keys after a `?' question mark, eg: `?a', `?.' |
| 233 | - enclose control, shift, or meta-modified keys as sequences within | 233 | - enclose control, shift, or meta-modified keys as sequences within |
| 234 | parentheses, with the literal key, as above, preceded by the name(s) | 234 | parentheses, with the literal key, as above, preceded by the name(s) |
| 235 | of the modifiers, eg: [(control ?a)] | 235 | of the modifiers, eg: [(control ?a)] |
| @@ -257,7 +257,7 @@ This is in contrast to the majority of allout-mode bindings on | |||
| 257 | preceding command key. | 257 | preceding command key. |
| 258 | 258 | ||
| 259 | Use vector format for the keys: | 259 | Use vector format for the keys: |
| 260 | - put literal keys after a ‘?’ question mark, eg: ‘?a’, ‘?.’ | 260 | - put literal keys after a `?' question mark, eg: `?a', `?.' |
| 261 | - enclose control, shift, or meta-modified keys as sequences within | 261 | - enclose control, shift, or meta-modified keys as sequences within |
| 262 | parentheses, with the literal key, as above, preceded by the name(s) | 262 | parentheses, with the literal key, as above, preceded by the name(s) |
| 263 | of the modifiers, eg: [(control ?a)] | 263 | of the modifiers, eg: [(control ?a)] |
| @@ -1012,9 +1012,9 @@ determination of aberrance is according to the mistaken item | |||
| 1012 | being followed by a legitimate item of excessively greater depth. | 1012 | being followed by a legitimate item of excessively greater depth. |
| 1013 | 1013 | ||
| 1014 | The classic example of a mistaken item, for a standard allout | 1014 | The classic example of a mistaken item, for a standard allout |
| 1015 | outline configuration, is a body line that begins with an ‘...’ | 1015 | outline configuration, is a body line that begins with an `...' |
| 1016 | ellipsis. This happens to contain a legitimate depth-2 header | 1016 | ellipsis. This happens to contain a legitimate depth-2 header |
| 1017 | prefix, constituted by two ‘..’ dots at the beginning of the | 1017 | prefix, constituted by two `..' dots at the beginning of the |
| 1018 | line. The only thing that can distinguish it *in principle* from | 1018 | line. The only thing that can distinguish it *in principle* from |
| 1019 | a legitimate one is if the following real header is at a depth | 1019 | a legitimate one is if the following real header is at a depth |
| 1020 | that is discontinuous from the depth of 2 implied by the | 1020 | that is discontinuous from the depth of 2 implied by the |
| @@ -2081,20 +2081,20 @@ OPEN: A TOPIC that is not CLOSED, though its OFFSPRING or BODY may be." | |||
| 2081 | (and (not (string= allout-auto-activation "activate")) | 2081 | (and (not (string= allout-auto-activation "activate")) |
| 2082 | (if (string= allout-auto-activation "ask") | 2082 | (if (string= allout-auto-activation "ask") |
| 2083 | (if (y-or-n-p (format-message | 2083 | (if (y-or-n-p (format-message |
| 2084 | "Expose %s with layout ‘%s’? " | 2084 | "Expose %s with layout `%s'? " |
| 2085 | (buffer-name) use-layout)) | 2085 | (buffer-name) use-layout)) |
| 2086 | t | 2086 | t |
| 2087 | (message "Skipped %s layout." (buffer-name)) | 2087 | (message "Skipped %s layout." (buffer-name)) |
| 2088 | nil) | 2088 | nil) |
| 2089 | t))) | 2089 | t))) |
| 2090 | (save-excursion | 2090 | (save-excursion |
| 2091 | (message "Adjusting ‘%s’ exposure..." (buffer-name)) | 2091 | (message "Adjusting `%s' exposure..." (buffer-name)) |
| 2092 | (goto-char 0) | 2092 | (goto-char 0) |
| 2093 | (allout-this-or-next-heading) | 2093 | (allout-this-or-next-heading) |
| 2094 | (condition-case err | 2094 | (condition-case err |
| 2095 | (progn | 2095 | (progn |
| 2096 | (apply 'allout-expose-topic (list use-layout)) | 2096 | (apply 'allout-expose-topic (list use-layout)) |
| 2097 | (message "Adjusting ‘%s’ exposure... done." | 2097 | (message "Adjusting `%s' exposure... done." |
| 2098 | (buffer-name))) | 2098 | (buffer-name))) |
| 2099 | ;; Problem applying exposure -- notify user, but don't | 2099 | ;; Problem applying exposure -- notify user, but don't |
| 2100 | ;; interrupt, eg, file visit: | 2100 | ;; interrupt, eg, file visit: |
| @@ -3484,7 +3484,7 @@ Offer one suitable for current depth DEPTH as default." | |||
| 3484 | (goto-char (allout-current-bullet-pos)) | 3484 | (goto-char (allout-current-bullet-pos)) |
| 3485 | (setq choice (solicit-char-in-string | 3485 | (setq choice (solicit-char-in-string |
| 3486 | (format-message | 3486 | (format-message |
| 3487 | "Select bullet: %s (‘%s’ default): " | 3487 | "Select bullet: %s (`%s' default): " |
| 3488 | sans-escapes | 3488 | sans-escapes |
| 3489 | (allout-substring-no-properties default-bullet)) | 3489 | (allout-substring-no-properties default-bullet)) |
| 3490 | sans-escapes | 3490 | sans-escapes |
| @@ -5879,7 +5879,7 @@ With repeat count, copy the exposed portions of entire buffer." | |||
| 5879 | (defun allout-toggle-current-subtree-encryption (&optional keymode-cue) | 5879 | (defun allout-toggle-current-subtree-encryption (&optional keymode-cue) |
| 5880 | "Encrypt clear or decrypt encoded topic text. | 5880 | "Encrypt clear or decrypt encoded topic text. |
| 5881 | 5881 | ||
| 5882 | Allout uses Emacs ‘epg’ library to perform encryption. Symmetric | 5882 | Allout uses Emacs `epg' library to perform encryption. Symmetric |
| 5883 | and keypair encryption are supported. All encryption is ascii | 5883 | and keypair encryption are supported. All encryption is ascii |
| 5884 | armored. | 5884 | armored. |
| 5885 | 5885 | ||
| @@ -5941,7 +5941,7 @@ associated with it. This can be used to dissociate any | |||
| 5941 | recipients with the file, by selecting no recipients in the | 5941 | recipients with the file, by selecting no recipients in the |
| 5942 | dialog. | 5942 | dialog. |
| 5943 | 5943 | ||
| 5944 | Encryption and decryption uses the Emacs ‘epg’ library. | 5944 | Encryption and decryption uses the Emacs `epg' library. |
| 5945 | 5945 | ||
| 5946 | Encrypted text will be ascii-armored. | 5946 | Encrypted text will be ascii-armored. |
| 5947 | 5947 | ||
| @@ -6381,7 +6381,7 @@ for details on preparing Emacs for automatic allout activation." | |||
| 6381 | (allout-open-topic 2) | 6381 | (allout-open-topic 2) |
| 6382 | (insert (substitute-command-keys | 6382 | (insert (substitute-command-keys |
| 6383 | (concat "Dummy outline topic header -- see" | 6383 | (concat "Dummy outline topic header -- see" |
| 6384 | " ‘allout-mode’ docstring: ‘\\[describe-mode]’."))) | 6384 | " `allout-mode' docstring: `\\[describe-mode]'."))) |
| 6385 | (allout-adjust-file-variable | 6385 | (allout-adjust-file-variable |
| 6386 | "allout-layout" (or allout-layout '(-1 : 0)))))) | 6386 | "allout-layout" (or allout-layout '(-1 : 0)))))) |
| 6387 | ;;;_ > allout-file-vars-section-data () | 6387 | ;;;_ > allout-file-vars-section-data () |
| @@ -6546,7 +6546,7 @@ Optional arg DO-DEFAULTING indicates to accept empty input (CR)." | |||
| 6546 | (defun regexp-sans-escapes (regexp &optional successive-backslashes) | 6546 | (defun regexp-sans-escapes (regexp &optional successive-backslashes) |
| 6547 | "Return a copy of REGEXP with all character escapes stripped out. | 6547 | "Return a copy of REGEXP with all character escapes stripped out. |
| 6548 | 6548 | ||
| 6549 | Representations of actual backslashes -- ‘\\\\\\\\’ -- are left as a | 6549 | Representations of actual backslashes -- `\\\\\\\\' -- are left as a |
| 6550 | single backslash. | 6550 | single backslash. |
| 6551 | 6551 | ||
| 6552 | Optional arg SUCCESSIVE-BACKSLASHES is used internally for recursion." | 6552 | Optional arg SUCCESSIVE-BACKSLASHES is used internally for recursion." |
diff --git a/lisp/apropos.el b/lisp/apropos.el index ec212968db6..6d7dc8af40d 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el | |||
| @@ -682,7 +682,7 @@ the output includes key-bindings of commands." | |||
| 682 | symbols apropos-do-all | 682 | symbols apropos-do-all |
| 683 | (concat | 683 | (concat |
| 684 | (format-message | 684 | (format-message |
| 685 | "Library ‘%s’ provides: %s\nand requires: %s" | 685 | "Library `%s' provides: %s\nand requires: %s" |
| 686 | file | 686 | file |
| 687 | (mapconcat 'apropos-library-button | 687 | (mapconcat 'apropos-library-button |
| 688 | (or provides '(nil)) " and ") | 688 | (or provides '(nil)) " and ") |
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 308d1cab585..035148120a4 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -843,10 +843,10 @@ whose annotation is being edited.") | |||
| 843 | The default annotation text is simply some text explaining how to use | 843 | The default annotation text is simply some text explaining how to use |
| 844 | annotations." | 844 | annotations." |
| 845 | (concat (format-message | 845 | (concat (format-message |
| 846 | "# Type the annotation for bookmark ‘%s’ here.\n" | 846 | "# Type the annotation for bookmark `%s' here.\n" |
| 847 | bookmark-name) | 847 | bookmark-name) |
| 848 | (format-message | 848 | (format-message |
| 849 | "# All lines which start with a ‘#’ will be deleted.\n") | 849 | "# All lines which start with a `#' will be deleted.\n") |
| 850 | "# Type C-c C-c when done.\n#\n" | 850 | "# Type C-c C-c when done.\n#\n" |
| 851 | "# Author: " (user-full-name) " <" (user-login-name) "@" | 851 | "# Author: " (user-full-name) " <" (user-login-name) "@" |
| 852 | (system-name) ">\n" | 852 | (system-name) ">\n" |
diff --git a/lisp/bs.el b/lisp/bs.el index 6314bbb024e..1735c176700 100644 --- a/lisp/bs.el +++ b/lisp/bs.el | |||
| @@ -1314,7 +1314,7 @@ ALL-BUFFERS is the list of buffers appearing in Buffer Selection Menu." | |||
| 1314 | (format-mode-line mode-name nil nil start-buffer)) | 1314 | (format-mode-line mode-name nil nil start-buffer)) |
| 1315 | 1315 | ||
| 1316 | (defun bs--get-file-name (_start-buffer _all-buffers) | 1316 | (defun bs--get-file-name (_start-buffer _all-buffers) |
| 1317 | "Return string for column ‘File’ in Buffer Selection Menu. | 1317 | "Return string for column `File' in Buffer Selection Menu. |
| 1318 | This is the variable `buffer-file-name' of current buffer. | 1318 | This is the variable `buffer-file-name' of current buffer. |
| 1319 | If not visiting a file, `list-buffers-directory' is returned instead. | 1319 | If not visiting a file, `list-buffers-directory' is returned instead. |
| 1320 | START-BUFFER is the buffer where we started buffer selection. | 1320 | START-BUFFER is the buffer where we started buffer selection. |
diff --git a/lisp/button.el b/lisp/button.el index 5fe5bf077ba..e7602dd7050 100644 --- a/lisp/button.el +++ b/lisp/button.el | |||
| @@ -114,7 +114,7 @@ Mode-specific keymaps may want to use this as their parent keymap.") | |||
| 114 | "Return the symbol used by button-type TYPE to store properties. | 114 | "Return the symbol used by button-type TYPE to store properties. |
| 115 | Buttons inherit them by setting their `category' property to that symbol." | 115 | Buttons inherit them by setting their `category' property to that symbol." |
| 116 | (or (get type 'button-category-symbol) | 116 | (or (get type 'button-category-symbol) |
| 117 | (error "Unknown button type ‘%s’" type))) | 117 | (error "Unknown button type `%s'" type))) |
| 118 | 118 | ||
| 119 | (defun define-button-type (name &rest properties) | 119 | (defun define-button-type (name &rest properties) |
| 120 | "Define a `button type' called NAME (a symbol). | 120 | "Define a `button type' called NAME (a symbol). |
| @@ -208,7 +208,7 @@ changes to a supertype are not reflected in its subtypes)." | |||
| 208 | (setq val (button-category-symbol val))) | 208 | (setq val (button-category-symbol val))) |
| 209 | ((eq prop 'category) | 209 | ((eq prop 'category) |
| 210 | ;; Disallow updating the `category' property directly. | 210 | ;; Disallow updating the `category' property directly. |
| 211 | (error "Button ‘category’ property may not be set directly"))) | 211 | (error "Button `category' property may not be set directly"))) |
| 212 | ;; Add the property. | 212 | ;; Add the property. |
| 213 | (cond ((overlayp button) | 213 | (cond ((overlayp button) |
| 214 | (overlay-put button prop val)) | 214 | (overlay-put button prop val)) |
| @@ -333,7 +333,7 @@ Also see `insert-text-button'." | |||
| 333 | (setq object beg beg 0 end (length object))) | 333 | (setq object beg beg 0 end (length object))) |
| 334 | ;; Disallow setting the `category' property directly. | 334 | ;; Disallow setting the `category' property directly. |
| 335 | (when (plist-get properties 'category) | 335 | (when (plist-get properties 'category) |
| 336 | (error "Button ‘category’ property may not be set directly")) | 336 | (error "Button `category' property may not be set directly")) |
| 337 | (if (null type-entry) | 337 | (if (null type-entry) |
| 338 | ;; The user didn't specify a `type' property, use the default. | 338 | ;; The user didn't specify a `type' property, use the default. |
| 339 | (setq properties (cons 'category (cons 'default-button properties))) | 339 | (setq properties (cons 'category (cons 'default-button properties))) |
diff --git a/lisp/calc/calc-aent.el b/lisp/calc/calc-aent.el index 2c588c15287..2319c484498 100644 --- a/lisp/calc/calc-aent.el +++ b/lisp/calc/calc-aent.el | |||
| @@ -1034,7 +1034,7 @@ in Calc algebraic input.") | |||
| 1034 | 1034 | ||
| 1035 | (defun math-restore-placeholders (x) | 1035 | (defun math-restore-placeholders (x) |
| 1036 | "Replace placeholders by the proper characters in the symbol x. | 1036 | "Replace placeholders by the proper characters in the symbol x. |
| 1037 | This includes ‘#’ for ‘_’ and ‘'’ for ‘%’. | 1037 | This includes `#' for `_' and `'' for `%'. |
| 1038 | If the current Calc language does not use placeholders, return nil." | 1038 | If the current Calc language does not use placeholders, return nil." |
| 1039 | (if (or (memq calc-language calc-lang-allow-underscores) | 1039 | (if (or (memq calc-language calc-lang-allow-underscores) |
| 1040 | (memq calc-language calc-lang-allow-percentsigns)) | 1040 | (memq calc-language calc-lang-allow-percentsigns)) |
| @@ -1057,7 +1057,7 @@ If the current Calc language does not use placeholders, return nil." | |||
| 1057 | (defun math-read-if (cond op) | 1057 | (defun math-read-if (cond op) |
| 1058 | (let ((then (math-read-expr-level 0))) | 1058 | (let ((then (math-read-expr-level 0))) |
| 1059 | (or (equal math-expr-data ":") | 1059 | (or (equal math-expr-data ":") |
| 1060 | (throw 'syntax "Expected ‘:’")) | 1060 | (throw 'syntax "Expected `:'")) |
| 1061 | (math-read-token) | 1061 | (math-read-token) |
| 1062 | (list 'calcFunc-if cond then (math-read-expr-level (nth 3 op))))) | 1062 | (list 'calcFunc-if cond then (math-read-expr-level (nth 3 op))))) |
| 1063 | 1063 | ||
| @@ -1121,7 +1121,7 @@ If the current Calc language does not use placeholders, return nil." | |||
| 1121 | (math-read-expr-list)))) | 1121 | (math-read-expr-list)))) |
| 1122 | (if (not (or (equal math-expr-data calc-function-close) | 1122 | (if (not (or (equal math-expr-data calc-function-close) |
| 1123 | (eq math-exp-token 'end))) | 1123 | (eq math-exp-token 'end))) |
| 1124 | (throw 'syntax "Expected ‘)’")) | 1124 | (throw 'syntax "Expected `)'")) |
| 1125 | (math-read-token) | 1125 | (math-read-token) |
| 1126 | (if (and (memq calc-language | 1126 | (if (and (memq calc-language |
| 1127 | calc-lang-parens-are-subscripts) | 1127 | calc-lang-parens-are-subscripts) |
| @@ -1177,7 +1177,7 @@ If the current Calc language does not use placeholders, return nil." | |||
| 1177 | (setq el (cdr el)))) | 1177 | (setq el (cdr el)))) |
| 1178 | (if (equal math-expr-data "]") | 1178 | (if (equal math-expr-data "]") |
| 1179 | (math-read-token) | 1179 | (math-read-token) |
| 1180 | (throw 'syntax "Expected ‘]’"))) | 1180 | (throw 'syntax "Expected `]'"))) |
| 1181 | val))))) | 1181 | val))))) |
| 1182 | ((eq math-exp-token 'dollar) | 1182 | ((eq math-exp-token 'dollar) |
| 1183 | (let ((abs (if (> math-expr-data 0) math-expr-data (- math-expr-data)))) | 1183 | (let ((abs (if (> math-expr-data 0) math-expr-data (- math-expr-data)))) |
| @@ -1246,7 +1246,7 @@ If the current Calc language does not use placeholders, return nil." | |||
| 1246 | (if (not (or (equal math-expr-data ")") | 1246 | (if (not (or (equal math-expr-data ")") |
| 1247 | (and (equal math-expr-data "]") (eq (car-safe exp) 'intv)) | 1247 | (and (equal math-expr-data "]") (eq (car-safe exp) 'intv)) |
| 1248 | (eq math-exp-token 'end))) | 1248 | (eq math-exp-token 'end))) |
| 1249 | (throw 'syntax "Expected ‘)’")) | 1249 | (throw 'syntax "Expected `)'")) |
| 1250 | (math-read-token) | 1250 | (math-read-token) |
| 1251 | exp)) | 1251 | exp)) |
| 1252 | ((eq math-exp-token 'string) | 1252 | ((eq math-exp-token 'string) |
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index 3f6e83e0c6d..d0efe53f6e6 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -333,7 +333,7 @@ | |||
| 333 | (message (concat | 333 | (message (concat |
| 334 | "Embedded Calc mode enabled; " | 334 | "Embedded Calc mode enabled; " |
| 335 | (if calc-embedded-quiet | 335 | (if calc-embedded-quiet |
| 336 | "Type ‘C-x * x’" | 336 | "Type `C-x * x'" |
| 337 | "Give this command again") | 337 | "Give this command again") |
| 338 | " to return to normal"))))) | 338 | " to return to normal"))))) |
| 339 | (scroll-down 0)) ; fix a bug which occurs when truncate-lines is changed. | 339 | (scroll-down 0)) ; fix a bug which occurs when truncate-lines is changed. |
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 2442f020012..cb6ab6f8ecc 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -1957,7 +1957,7 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 1957 | (desc | 1957 | (desc |
| 1958 | (if (symbolp func) | 1958 | (if (symbolp func) |
| 1959 | (if (= (logand kind 3) 0) | 1959 | (if (= (logand kind 3) 0) |
| 1960 | (format-message "‘%c’ = %s" key name) | 1960 | (format-message "`%c' = %s" key name) |
| 1961 | (if pos | 1961 | (if pos |
| 1962 | (format "%s%c%s" | 1962 | (format "%s%c%s" |
| 1963 | (downcase (substring name 0 pos)) | 1963 | (downcase (substring name 0 pos)) |
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el index 8378b23c0eb..20b0249ec1a 100644 --- a/lisp/calc/calc-graph.el +++ b/lisp/calc/calc-graph.el | |||
| @@ -958,7 +958,7 @@ This \"dumb\" driver will be present in Gnuplot 3.0." | |||
| 958 | (define-key calc-dumb-map "\C-c\C-c" 'exit-recursive-edit))) | 958 | (define-key calc-dumb-map "\C-c\C-c" 'exit-recursive-edit))) |
| 959 | (use-local-map calc-dumb-map) | 959 | (use-local-map calc-dumb-map) |
| 960 | (setq truncate-lines t) | 960 | (setq truncate-lines t) |
| 961 | (message "Type ‘q’ or ‘C-c C-c’ to return to Calc") | 961 | (message "Type `q' or `C-c C-c' to return to Calc") |
| 962 | (recursive-edit) | 962 | (recursive-edit) |
| 963 | (bury-buffer "*Gnuplot Trail*"))) | 963 | (bury-buffer "*Gnuplot Trail*"))) |
| 964 | 964 | ||
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index 395b12d8699..444bb5ef920 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el | |||
| @@ -240,7 +240,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 240 | (if (string-match "\\` +" prompts) | 240 | (if (string-match "\\` +" prompts) |
| 241 | (setq prompts (substring prompts (match-end 0)))) | 241 | (setq prompts (substring prompts (match-end 0)))) |
| 242 | (setq msg (format-message | 242 | (setq msg (format-message |
| 243 | "%s: %s%s‘%s’%s%s %s%s" | 243 | "%s: %s%s`%s'%s%s %s%s" |
| 244 | (if (string-match | 244 | (if (string-match |
| 245 | "\\`\\(calc-[-a-zA-Z0-9]+\\) *\\(.*\\)\\'" | 245 | "\\`\\(calc-[-a-zA-Z0-9]+\\) *\\(.*\\)\\'" |
| 246 | cmd) | 246 | cmd) |
| @@ -345,7 +345,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 345 | (calc-describe-thing var "Variable Index")) | 345 | (calc-describe-thing var "Variable Index")) |
| 346 | 346 | ||
| 347 | (defun calc-describe-thing (thing where &optional target not-quoted) | 347 | (defun calc-describe-thing (thing where &optional target not-quoted) |
| 348 | (message "Looking for ‘%s’ in %s..." thing where) | 348 | (message "Looking for `%s' in %s..." thing where) |
| 349 | (let ((savewin (current-window-configuration))) | 349 | (let ((savewin (current-window-configuration))) |
| 350 | (calc-info-goto-node where) | 350 | (calc-info-goto-node where) |
| 351 | (or (let ((case-fold-search nil)) | 351 | (or (let ((case-fold-search nil)) |
| @@ -361,7 +361,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 361 | (if Info-history | 361 | (if Info-history |
| 362 | (Info-last)) | 362 | (Info-last)) |
| 363 | (set-window-configuration savewin) | 363 | (set-window-configuration savewin) |
| 364 | (error "Can't find ‘%s’ in %s" thing where))) | 364 | (error "Can't find `%s' in %s" thing where))) |
| 365 | (let (Info-history) | 365 | (let (Info-history) |
| 366 | (Info-goto-node (buffer-substring (match-beginning 1) (match-end 1)))) | 366 | (Info-goto-node (buffer-substring (match-beginning 1) (match-end 1)))) |
| 367 | (let* ((string-target (or target thing)) | 367 | (let* ((string-target (or target thing)) |
| @@ -380,7 +380,7 @@ C-w Describe how there is no warranty for Calc." | |||
| 380 | (re-search-forward quoted nil t) | 380 | (re-search-forward quoted nil t) |
| 381 | (search-forward string-target nil t))))) | 381 | (search-forward string-target nil t))))) |
| 382 | (beginning-of-line) | 382 | (beginning-of-line) |
| 383 | (message "Found ‘%s’ in %s" thing where))) | 383 | (message "Found `%s' in %s" thing where))) |
| 384 | 384 | ||
| 385 | (defun calc-view-news () | 385 | (defun calc-view-news () |
| 386 | (interactive) | 386 | (interactive) |
| @@ -400,9 +400,9 @@ C-w Describe how there is no warranty for Calc." | |||
| 400 | (princ "GNU Emacs Calculator.\n") | 400 | (princ "GNU Emacs Calculator.\n") |
| 401 | (princ " By Dave Gillespie.\n") | 401 | (princ " By Dave Gillespie.\n") |
| 402 | (princ (format " %s\n\n" emacs-copyright)) | 402 | (princ (format " %s\n\n" emacs-copyright)) |
| 403 | (princ (format-message "Type ‘h s’ for a more detailed summary.\n")) | 403 | (princ (format-message "Type `h s' for a more detailed summary.\n")) |
| 404 | (princ (format-message | 404 | (princ (format-message |
| 405 | "Or type ‘h i’ to read the full Calc manual on-line.\n\n")) | 405 | "Or type `h i' to read the full Calc manual on-line.\n\n")) |
| 406 | (princ "Basic keys:\n") | 406 | (princ "Basic keys:\n") |
| 407 | (let* ((calc-full-help-flag t)) | 407 | (let* ((calc-full-help-flag t)) |
| 408 | (mapc (function (lambda (x) (princ (format | 408 | (mapc (function (lambda (x) (princ (format |
| @@ -417,10 +417,10 @@ C-w Describe how there is no warranty for Calc." | |||
| 417 | (princ | 417 | (princ |
| 418 | (if (eq (nth 2 msgs) ?v) | 418 | (if (eq (nth 2 msgs) ?v) |
| 419 | (format-message | 419 | (format-message |
| 420 | "\n‘v’ or ‘V’ prefix (vector/matrix) keys: \n") | 420 | "\n`v' or `V' prefix (vector/matrix) keys: \n") |
| 421 | (if (nth 2 msgs) | 421 | (if (nth 2 msgs) |
| 422 | (format-message | 422 | (format-message |
| 423 | "\n‘%c’ prefix (%s) keys:\n" | 423 | "\n`%c' prefix (%s) keys:\n" |
| 424 | (nth 2 msgs) | 424 | (nth 2 msgs) |
| 425 | (or (cdr (assq (nth 2 msgs) | 425 | (or (cdr (assq (nth 2 msgs) |
| 426 | calc-help-long-names)) | 426 | calc-help-long-names)) |
diff --git a/lisp/calc/calc-lang.el b/lisp/calc/calc-lang.el index 70a9ff8a402..6b3b949424d 100644 --- a/lisp/calc/calc-lang.el +++ b/lisp/calc/calc-lang.el | |||
| @@ -94,7 +94,7 @@ | |||
| 94 | (interactive) | 94 | (interactive) |
| 95 | (calc-wrapper | 95 | (calc-wrapper |
| 96 | (calc-set-language 'c) | 96 | (calc-set-language 'c) |
| 97 | (message "‘C’ language mode"))) | 97 | (message "C language mode"))) |
| 98 | 98 | ||
| 99 | (put 'c 'math-oper-table | 99 | (put 'c 'math-oper-table |
| 100 | '( ( "u!" calcFunc-lnot -1 1000 ) | 100 | '( ( "u!" calcFunc-lnot -1 1000 ) |
| @@ -387,7 +387,7 @@ | |||
| 387 | math-exp-token 'end | 387 | math-exp-token 'end |
| 388 | math-expr-data "\000") | 388 | math-expr-data "\000") |
| 389 | x) | 389 | x) |
| 390 | (throw 'syntax "Unmatched closing ‘/’"))) | 390 | (throw 'syntax "Unmatched closing `/'"))) |
| 391 | 391 | ||
| 392 | (defun math-parse-fortran-subscr (sym args) | 392 | (defun math-parse-fortran-subscr (sym args) |
| 393 | (setq sym (math-build-var-name sym)) | 393 | (setq sym (math-build-var-name sym)) |
| @@ -695,7 +695,7 @@ | |||
| 695 | 695 | ||
| 696 | (defun math-parse-tex-sum (f val) | 696 | (defun math-parse-tex-sum (f val) |
| 697 | (let (low high save) | 697 | (let (low high save) |
| 698 | (or (equal math-expr-data "_") (throw 'syntax "Expected ‘_’")) | 698 | (or (equal math-expr-data "_") (throw 'syntax "Expected `_'")) |
| 699 | (math-read-token) | 699 | (math-read-token) |
| 700 | (setq save math-exp-old-pos) | 700 | (setq save math-exp-old-pos) |
| 701 | (setq low (math-read-factor)) | 701 | (setq low (math-read-factor)) |
| @@ -703,7 +703,7 @@ | |||
| 703 | (progn | 703 | (progn |
| 704 | (setq math-exp-old-pos (1+ save)) | 704 | (setq math-exp-old-pos (1+ save)) |
| 705 | (throw 'syntax "Expected equation"))) | 705 | (throw 'syntax "Expected equation"))) |
| 706 | (or (equal math-expr-data "^") (throw 'syntax "Expected ‘^’")) | 706 | (or (equal math-expr-data "^") (throw 'syntax "Expected `^'")) |
| 707 | (math-read-token) | 707 | (math-read-token) |
| 708 | (setq high (math-read-factor)) | 708 | (setq high (math-read-factor)) |
| 709 | (list (nth 2 f) (math-read-factor) (nth 1 low) (nth 2 low) high))) | 709 | (list (nth 2 f) (math-read-factor) (nth 1 low) (nth 2 low) high))) |
| @@ -1165,14 +1165,14 @@ | |||
| 1165 | (while (assoc math-expr-data '(("ccol") ("lcol") ("rcol"))) | 1165 | (while (assoc math-expr-data '(("ccol") ("lcol") ("rcol"))) |
| 1166 | (math-read-token) | 1166 | (math-read-token) |
| 1167 | (or (equal math-expr-data calc-function-open) | 1167 | (or (equal math-expr-data calc-function-open) |
| 1168 | (throw 'syntax "Expected ‘{’")) | 1168 | (throw 'syntax "Expected `{'")) |
| 1169 | (math-read-token) | 1169 | (math-read-token) |
| 1170 | (setq vec (cons (cons 'vec (math-read-expr-list)) vec)) | 1170 | (setq vec (cons (cons 'vec (math-read-expr-list)) vec)) |
| 1171 | (or (equal math-expr-data calc-function-close) | 1171 | (or (equal math-expr-data calc-function-close) |
| 1172 | (throw 'syntax "Expected ‘}’")) | 1172 | (throw 'syntax "Expected `}'")) |
| 1173 | (math-read-token)) | 1173 | (math-read-token)) |
| 1174 | (or (equal math-expr-data calc-function-close) | 1174 | (or (equal math-expr-data calc-function-close) |
| 1175 | (throw 'syntax "Expected ‘}’")) | 1175 | (throw 'syntax "Expected `}'")) |
| 1176 | (math-read-token) | 1176 | (math-read-token) |
| 1177 | (math-transpose (cons 'vec (nreverse vec))))) | 1177 | (math-transpose (cons 'vec (nreverse vec))))) |
| 1178 | 1178 | ||
| @@ -1187,7 +1187,7 @@ | |||
| 1187 | (math-read-expr-list)))) | 1187 | (math-read-expr-list)))) |
| 1188 | (if (not (or (equal math-expr-data calc-function-close) | 1188 | (if (not (or (equal math-expr-data calc-function-close) |
| 1189 | (eq math-exp-token 'end))) | 1189 | (eq math-exp-token 'end))) |
| 1190 | (throw 'syntax "Expected ‘)’")) | 1190 | (throw 'syntax "Expected `)'")) |
| 1191 | (math-read-token) | 1191 | (math-read-token) |
| 1192 | (cons (intern (format "calcFunc-%s'" (nth 1 x))) args))) | 1192 | (cons (intern (format "calcFunc-%s'" (nth 1 x))) args))) |
| 1193 | (list 'var | 1193 | (list 'var |
| @@ -1211,7 +1211,7 @@ | |||
| 1211 | (interactive) | 1211 | (interactive) |
| 1212 | (calc-wrapper | 1212 | (calc-wrapper |
| 1213 | (calc-set-language 'yacas) | 1213 | (calc-set-language 'yacas) |
| 1214 | (message "‘Yacas’ language mode"))) | 1214 | (message "Yacas language mode"))) |
| 1215 | 1215 | ||
| 1216 | (put 'yacas 'math-vector-brackets "{}") | 1216 | (put 'yacas 'math-vector-brackets "{}") |
| 1217 | 1217 | ||
| @@ -1427,7 +1427,7 @@ | |||
| 1427 | (interactive) | 1427 | (interactive) |
| 1428 | (calc-wrapper | 1428 | (calc-wrapper |
| 1429 | (calc-set-language 'maxima) | 1429 | (calc-set-language 'maxima) |
| 1430 | (message "‘Maxima’ language mode"))) | 1430 | (message "Maxima language mode"))) |
| 1431 | 1431 | ||
| 1432 | (put 'maxima 'math-oper-table | 1432 | (put 'maxima 'math-oper-table |
| 1433 | '(("+" + 100 100) | 1433 | '(("+" + 100 100) |
| @@ -1625,7 +1625,7 @@ | |||
| 1625 | (interactive) | 1625 | (interactive) |
| 1626 | (calc-wrapper | 1626 | (calc-wrapper |
| 1627 | (calc-set-language 'giac) | 1627 | (calc-set-language 'giac) |
| 1628 | (message "‘Giac’ language mode"))) | 1628 | (message "Giac language mode"))) |
| 1629 | 1629 | ||
| 1630 | (put 'giac 'math-oper-table | 1630 | (put 'giac 'math-oper-table |
| 1631 | '( ( "[" (math-read-giac-subscr) 250 -1 ) | 1631 | '( ( "[" (math-read-giac-subscr) 250 -1 ) |
| @@ -1817,7 +1817,7 @@ order to Calc's." | |||
| 1817 | (defun math-read-giac-subscr (x op) | 1817 | (defun math-read-giac-subscr (x op) |
| 1818 | (let ((idx (math-read-expr-level 0))) | 1818 | (let ((idx (math-read-expr-level 0))) |
| 1819 | (or (equal math-expr-data "]") | 1819 | (or (equal math-expr-data "]") |
| 1820 | (throw 'syntax "Expected ‘]’")) | 1820 | (throw 'syntax "Expected `]'")) |
| 1821 | (math-read-token) | 1821 | (math-read-token) |
| 1822 | (list 'calcFunc-subscr x (calc-normalize (list '+ idx 1))))) | 1822 | (list 'calcFunc-subscr x (calc-normalize (list '+ idx 1))))) |
| 1823 | 1823 | ||
| @@ -1954,7 +1954,7 @@ order to Calc's." | |||
| 1954 | (progn | 1954 | (progn |
| 1955 | (math-read-token) | 1955 | (math-read-token) |
| 1956 | (equal math-expr-data "]"))) | 1956 | (equal math-expr-data "]"))) |
| 1957 | (throw 'syntax "Expected ‘]]’")) | 1957 | (throw 'syntax "Expected `]]'")) |
| 1958 | (math-read-token) | 1958 | (math-read-token) |
| 1959 | (list 'calcFunc-subscr x idx))) | 1959 | (list 'calcFunc-subscr x idx))) |
| 1960 | 1960 | ||
| @@ -2237,7 +2237,7 @@ order to Calc's." | |||
| 2237 | (if (= sep ?\.) | 2237 | (if (= sep ?\.) |
| 2238 | (setq h (1+ h))) | 2238 | (setq h (1+ h))) |
| 2239 | (if (= sep ?\]) | 2239 | (if (= sep ?\]) |
| 2240 | (math-read-big-error (1- h) v "Expected ‘)’")) | 2240 | (math-read-big-error (1- h) v "Expected `)'")) |
| 2241 | (if (= sep ?\)) | 2241 | (if (= sep ?\)) |
| 2242 | (setq p (math-read-big-rec | 2242 | (setq p (math-read-big-rec |
| 2243 | (1+ math-rb-h1) math-rb-v1 (1- h) math-rb-v2 v)) | 2243 | (1+ math-rb-h1) math-rb-v1 (1- h) math-rb-v2 v)) |
| @@ -2252,7 +2252,7 @@ order to Calc's." | |||
| 2252 | 0 1) | 2252 | 0 1) |
| 2253 | p)))) | 2253 | p)))) |
| 2254 | ((= (math-read-big-char (1- h) v) ?\]) | 2254 | ((= (math-read-big-char (1- h) v) ?\]) |
| 2255 | (math-read-big-error (1- h) v "Expected ‘)’")) | 2255 | (math-read-big-error (1- h) v "Expected `)'")) |
| 2256 | ((= sep ?\,) | 2256 | ((= sep ?\,) |
| 2257 | (or (and (math-realp (car p)) (math-realp (nth 1 p))) | 2257 | (or (and (math-realp (car p)) (math-realp (nth 1 p))) |
| 2258 | (math-read-big-error | 2258 | (math-read-big-error |
| @@ -2280,7 +2280,7 @@ order to Calc's." | |||
| 2280 | (setq h (math-read-big-balance (1+ hleft) v "[")) | 2280 | (setq h (math-read-big-balance (1+ hleft) v "[")) |
| 2281 | (if hright | 2281 | (if hright |
| 2282 | (or (= h hright) | 2282 | (or (= h hright) |
| 2283 | (math-read-big-error hright v "Expected ‘]’")) | 2283 | (math-read-big-error hright v "Expected `]'")) |
| 2284 | (setq hright h)) | 2284 | (setq hright h)) |
| 2285 | (setq p (cons (math-read-big-rec | 2285 | (setq p (cons (math-read-big-rec |
| 2286 | hleft v h (1+ v)) p)) | 2286 | hleft v h (1+ v)) p)) |
| @@ -2293,7 +2293,7 @@ order to Calc's." | |||
| 2293 | (setq h (1+ h))) | 2293 | (setq h (1+ h))) |
| 2294 | (and (= (math-read-big-char h v) ?\]) | 2294 | (and (= (math-read-big-char h v) ?\]) |
| 2295 | (setq h (1+ h)))) | 2295 | (setq h (1+ h)))) |
| 2296 | (math-read-big-error (1- h) v "Expected ‘]’")) | 2296 | (math-read-big-error (1- h) v "Expected `]'")) |
| 2297 | (if (= (math-read-big-char h vtop) ?\,) | 2297 | (if (= (math-read-big-char h vtop) ?\,) |
| 2298 | (setq h (1+ h))) | 2298 | (setq h (1+ h))) |
| 2299 | (math-read-big-emptyp math-rb-h1 (1+ v) (1- h) math-rb-v2 nil t) | 2299 | (math-read-big-emptyp math-rb-h1 (1+ v) (1- h) math-rb-v2 nil t) |
| @@ -2317,7 +2317,7 @@ order to Calc's." | |||
| 2317 | (setq widest (math-read-big-char (1- h) v)) | 2317 | (setq widest (math-read-big-char (1- h) v)) |
| 2318 | (if (or (memq widest '(?\; ?\))) | 2318 | (if (or (memq widest '(?\; ?\))) |
| 2319 | (and (eq widest ?\.) (cdr p))) | 2319 | (and (eq widest ?\.) (cdr p))) |
| 2320 | (math-read-big-error (1- h) v "Expected ‘]’")) | 2320 | (math-read-big-error (1- h) v "Expected `]'")) |
| 2321 | (if (= widest ?\.) | 2321 | (if (= widest ?\.) |
| 2322 | (setq h (1+ h) | 2322 | (setq h (1+ h) |
| 2323 | widest (math-read-big-balance h v "[") | 2323 | widest (math-read-big-balance h v "[") |
| @@ -2369,7 +2369,7 @@ order to Calc's." | |||
| 2369 | h widest) | 2369 | h widest) |
| 2370 | (= (math-read-big-char (1- h) v) ?\,))) | 2370 | (= (math-read-big-char (1- h) v) ?\,))) |
| 2371 | (or (= (math-read-big-char (1- h) v) ?\)) | 2371 | (or (= (math-read-big-char (1- h) v) ?\)) |
| 2372 | (math-read-big-error (1- h) v "Expected ‘)’")) | 2372 | (math-read-big-error (1- h) v "Expected `)'")) |
| 2373 | (setq p (cons line (nreverse p)))) | 2373 | (setq p (cons line (nreverse p)))) |
| 2374 | (setq p (list 'var | 2374 | (setq p (list 'var |
| 2375 | (intern (math-remove-dashes p)) | 2375 | (intern (math-remove-dashes p)) |
| @@ -2433,7 +2433,7 @@ order to Calc's." | |||
| 2433 | math-rb-v2 baseline nil t))) | 2433 | math-rb-v2 baseline nil t))) |
| 2434 | (or (= (math-read-big-char math-read-big-h2 baseline) ?\:) | 2434 | (or (= (math-read-big-char math-read-big-h2 baseline) ?\:) |
| 2435 | (math-read-big-error math-read-big-h2 baseline | 2435 | (math-read-big-error math-read-big-h2 baseline |
| 2436 | "Expected ‘:’")) | 2436 | "Expected `:'")) |
| 2437 | (setq p (list (nth 1 widest) p y | 2437 | (setq p (list (nth 1 widest) p y |
| 2438 | (math-read-big-rec | 2438 | (math-read-big-rec |
| 2439 | (1+ math-read-big-h2) math-rb-v1 math-rb-h2 math-rb-v2 | 2439 | (1+ math-read-big-h2) math-rb-v1 math-rb-h2 math-rb-v2 |
| @@ -2509,7 +2509,7 @@ order to Calc's." | |||
| 2509 | (if (>= h len) | 2509 | (if (>= h len) |
| 2510 | (if what | 2510 | (if what |
| 2511 | (math-read-big-error nil v (format-message | 2511 | (math-read-big-error nil v (format-message |
| 2512 | "Unmatched ‘%s’" what)) | 2512 | "Unmatched `%s'" what)) |
| 2513 | (setq count 0)) | 2513 | (setq count 0)) |
| 2514 | (if (memq (aref line h) '(?\( ?\[)) | 2514 | (if (memq (aref line h) '(?\( ?\[)) |
| 2515 | (setq count (1+ count)) | 2515 | (setq count (1+ count)) |
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index e141589ab7b..aa0ccb79edd 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el | |||
| @@ -217,7 +217,7 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C). | |||
| 217 | (defun calc-help () | 217 | (defun calc-help () |
| 218 | (interactive) | 218 | (interactive) |
| 219 | (let ((msgs | 219 | (let ((msgs |
| 220 | '("Press ‘h’ for complete help; press ‘?’ repeatedly for a summary" | 220 | '("Press `h' for complete help; press `?' repeatedly for a summary" |
| 221 | "Letter keys: Negate; Precision; Yank; Why; Xtended cmd; Quit" | 221 | "Letter keys: Negate; Precision; Yank; Why; Xtended cmd; Quit" |
| 222 | "Letter keys: SHIFT + Undo, reDo; Inverse, Hyperbolic, Option" | 222 | "Letter keys: SHIFT + Undo, reDo; Inverse, Hyperbolic, Option" |
| 223 | "Letter keys: SHIFT + sQrt; Sin, Cos, Tan; Exp, Ln, logB" | 223 | "Letter keys: SHIFT + sQrt; Sin, Cos, Tan; Exp, Ln, logB" |
| @@ -953,7 +953,7 @@ Prompts for bug subject. Leaves you in a mail buffer." | |||
| 953 | nil nil nil | 953 | nil nil nil |
| 954 | "Please describe exactly what actions triggered the bug and the | 954 | "Please describe exactly what actions triggered the bug and the |
| 955 | precise symptoms of the bug. If possible, include a backtrace by | 955 | precise symptoms of the bug. If possible, include a backtrace by |
| 956 | doing ‘\\[toggle-debug-on-error]’, then reproducing the bug. | 956 | doing `\\[toggle-debug-on-error]', then reproducing the bug. |
| 957 | " ))) | 957 | " ))) |
| 958 | ;;;###autoload | 958 | ;;;###autoload |
| 959 | (defalias 'calc-report-bug 'report-calc-bug) | 959 | (defalias 'calc-report-bug 'report-calc-bug) |
diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el index b5eef7f6784..3ed9612f79a 100644 --- a/lisp/calc/calc-mode.el +++ b/lisp/calc/calc-mode.el | |||
| @@ -110,11 +110,11 @@ | |||
| 110 | (setq n (and (not (eq calc-auto-why t)) (if calc-auto-why t 1)))) | 110 | (setq n (and (not (eq calc-auto-why t)) (if calc-auto-why t 1)))) |
| 111 | (calc-change-mode 'calc-auto-why n nil) | 111 | (calc-change-mode 'calc-auto-why n nil) |
| 112 | (cond ((null n) | 112 | (cond ((null n) |
| 113 | (message "User must press ‘w’ to explain unsimplified results")) | 113 | (message "User must press `w' to explain unsimplified results")) |
| 114 | ((eq n t) | 114 | ((eq n t) |
| 115 | (message "Automatically doing ‘w’ to explain unsimplified results")) | 115 | (message "Automatically doing `w' to explain unsimplified results")) |
| 116 | (t | 116 | (t |
| 117 | (message "Automatically doing ‘w’ only for unusual messages"))))) | 117 | (message "Automatically doing `w' only for unusual messages"))))) |
| 118 | 118 | ||
| 119 | (defun calc-group-digits (n) | 119 | (defun calc-group-digits (n) |
| 120 | (interactive "P") | 120 | (interactive "P") |
| @@ -272,7 +272,7 @@ | |||
| 272 | (vals (mapcar (function (lambda (v) (symbol-value (car v)))) | 272 | (vals (mapcar (function (lambda (v) (symbol-value (car v)))) |
| 273 | calc-mode-var-list))) | 273 | calc-mode-var-list))) |
| 274 | (unless calc-settings-file | 274 | (unless calc-settings-file |
| 275 | (error "No ‘calc-settings-file’ specified")) | 275 | (error "No `calc-settings-file' specified")) |
| 276 | (set-buffer (find-file-noselect (substitute-in-file-name | 276 | (set-buffer (find-file-noselect (substitute-in-file-name |
| 277 | calc-settings-file))) | 277 | calc-settings-file))) |
| 278 | (goto-char (point-min)) | 278 | (goto-char (point-min)) |
| @@ -572,8 +572,8 @@ | |||
| 572 | (calc-change-mode 'calc-auto-recompute arg nil t) | 572 | (calc-change-mode 'calc-auto-recompute arg nil t) |
| 573 | (calc-refresh-evaltos) | 573 | (calc-refresh-evaltos) |
| 574 | (message (if calc-auto-recompute | 574 | (message (if calc-auto-recompute |
| 575 | "Automatically recomputing ‘=>’ forms when necessary" | 575 | "Automatically recomputing `=>' forms when necessary" |
| 576 | "Not recomputing ‘=>’ forms automatically")))) | 576 | "Not recomputing `=>' forms automatically")))) |
| 577 | 577 | ||
| 578 | (defun calc-working (n) | 578 | (defun calc-working (n) |
| 579 | (interactive "P") | 579 | (interactive "P") |
diff --git a/lisp/calc/calc-prog.el b/lisp/calc/calc-prog.el index 58d2b5ce431..57af0d27822 100644 --- a/lisp/calc/calc-prog.el +++ b/lisp/calc/calc-prog.el | |||
| @@ -597,9 +597,9 @@ | |||
| 597 | ",") | 597 | ",") |
| 598 | ((equal name "#") | 598 | ((equal name "#") |
| 599 | (search-backward "#") | 599 | (search-backward "#") |
| 600 | (error "Token ‘#’ is reserved")) | 600 | (error "Token `#' is reserved")) |
| 601 | ((and unquoted (string-match "#" name)) | 601 | ((and unquoted (string-match "#" name)) |
| 602 | (error "Tokens containing ‘#’ must be quoted")) | 602 | (error "Tokens containing `#' must be quoted")) |
| 603 | ((not (string-match "[^ ]" name)) | 603 | ((not (string-match "[^ ]" name)) |
| 604 | (search-backward "\"" nil t) | 604 | (search-backward "\"" nil t) |
| 605 | (error "Blank tokens are not allowed")) | 605 | (error "Blank tokens are not allowed")) |
| @@ -610,7 +610,7 @@ | |||
| 610 | (quoted nil)) | 610 | (quoted nil)) |
| 611 | (while (progn | 611 | (while (progn |
| 612 | (skip-chars-forward "\n\t ") | 612 | (skip-chars-forward "\n\t ") |
| 613 | (if (eobp) (error "Expected ‘%s’" eterm)) | 613 | (if (eobp) (error "Expected `%s'" eterm)) |
| 614 | (not (looking-at term))) | 614 | (not (looking-at term))) |
| 615 | (cond ((looking-at "%%") | 615 | (cond ((looking-at "%%") |
| 616 | (end-of-line)) | 616 | (end-of-line)) |
| @@ -618,7 +618,7 @@ | |||
| 618 | (forward-char 2) | 618 | (forward-char 2) |
| 619 | (let ((p (calc-read-parse-table-part "}" "}"))) | 619 | (let ((p (calc-read-parse-table-part "}" "}"))) |
| 620 | (or (looking-at "[+*?]") | 620 | (or (looking-at "[+*?]") |
| 621 | (error "Expected ‘+’, ‘*’, or ‘?’")) | 621 | (error "Expected `+', `*', or `?'")) |
| 622 | (let ((sym (intern (buffer-substring (point) (1+ (point)))))) | 622 | (let ((sym (intern (buffer-substring (point) (1+ (point)))))) |
| 623 | (forward-char 1) | 623 | (forward-char 1) |
| 624 | (looking-at "[^\n\t ]*") | 624 | (looking-at "[^\n\t ]*") |
| @@ -650,7 +650,7 @@ | |||
| 650 | (match-end 1))))))) | 650 | (match-end 1))))))) |
| 651 | (goto-char (match-end 0))) | 651 | (goto-char (match-end 0))) |
| 652 | ((looking-at ":=[\n\t ]") | 652 | ((looking-at ":=[\n\t ]") |
| 653 | (error "Misplaced ‘:=’")) | 653 | (error "Misplaced `:='")) |
| 654 | (t | 654 | (t |
| 655 | (looking-at "[^\n\t ]*") | 655 | (looking-at "[^\n\t ]*") |
| 656 | (let ((end (match-end 0))) | 656 | (let ((end (match-end 0))) |
| @@ -673,7 +673,7 @@ | |||
| 673 | (or last-kbd-macro | 673 | (or last-kbd-macro |
| 674 | (error "No keyboard macro defined")) | 674 | (error "No keyboard macro defined")) |
| 675 | (setq calc-invocation-macro last-kbd-macro) | 675 | (setq calc-invocation-macro last-kbd-macro) |
| 676 | (message "Use ‘C-x * Z’ to invoke this macro")) | 676 | (message "Use `C-x * Z' to invoke this macro")) |
| 677 | 677 | ||
| 678 | (defun calc-user-define-edit () | 678 | (defun calc-user-define-edit () |
| 679 | (interactive) ; but no calc-wrapper! | 679 | (interactive) ; but no calc-wrapper! |
| @@ -1899,7 +1899,7 @@ Redefine the corresponding command." | |||
| 1899 | `((and | 1899 | `((and |
| 1900 | (,chk ,var) | 1900 | (,chk ,var) |
| 1901 | (math-reject-arg ,var ',qual))))) | 1901 | (math-reject-arg ,var ',qual))))) |
| 1902 | (error "Unknown qualifier ‘%s’" qual-name)))))))) | 1902 | (error "Unknown qualifier `%s'" qual-name)))))))) |
| 1903 | 1903 | ||
| 1904 | (defun math-do-arg-list-check (args is-opt is-rest) | 1904 | (defun math-do-arg-list-check (args is-opt is-rest) |
| 1905 | (cond ((null args) nil) | 1905 | (cond ((null args) nil) |
diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el index 4cf5b8c3a31..3d8c865c7bf 100644 --- a/lisp/calc/calc-store.el +++ b/lisp/calc/calc-store.el | |||
| @@ -443,7 +443,7 @@ | |||
| 443 | (calc-edit-mode (list 'calc-finish-stack-edit (list 'quote var)) | 443 | (calc-edit-mode (list 'calc-finish-stack-edit (list 'quote var)) |
| 444 | t | 444 | t |
| 445 | (format-message | 445 | (format-message |
| 446 | "Editing variable ‘%s’" (calc-var-name var))) | 446 | "Editing variable `%s'" (calc-var-name var))) |
| 447 | (and value | 447 | (and value |
| 448 | (insert (math-format-nice-expr value (frame-width)) "\n"))))) | 448 | (insert (math-format-nice-expr value (frame-width)) "\n"))))) |
| 449 | (calc-show-edit-buffer)) | 449 | (calc-show-edit-buffer)) |
diff --git a/lisp/calc/calc-units.el b/lisp/calc/calc-units.el index d56c0b29c12..4373e52eb87 100644 --- a/lisp/calc/calc-units.el +++ b/lisp/calc/calc-units.el | |||
| @@ -1625,10 +1625,10 @@ If COMP or STD is non-nil, put that in the units table instead." | |||
| 1625 | (format-message | 1625 | (format-message |
| 1626 | (concat | 1626 | (concat |
| 1627 | "(**) When in TeX or LaTeX display mode, the TeX specific unit\n" | 1627 | "(**) When in TeX or LaTeX display mode, the TeX specific unit\n" |
| 1628 | "names will not use the ‘tex’ prefix; the unit name for a\n" | 1628 | "names will not use the `tex' prefix; the unit name for a\n" |
| 1629 | "TeX point will be ‘pt’ instead of ‘texpt’, for example.\n" | 1629 | "TeX point will be `pt' instead of `texpt', for example.\n" |
| 1630 | "To avoid conflicts, the unit names for pint and parsec will\n" | 1630 | "To avoid conflicts, the unit names for pint and parsec will\n" |
| 1631 | "be ‘pint’ and ‘parsec’ instead of ‘pt’ and ‘pc’.")))) | 1631 | "be `pint' and `parsec' instead of `pt' and `pc'.")))) |
| 1632 | (view-mode) | 1632 | (view-mode) |
| 1633 | (message "Formatting units table...done")) | 1633 | (message "Formatting units table...done")) |
| 1634 | (setq math-units-table-buffer-valid t) | 1634 | (setq math-units-table-buffer-valid t) |
diff --git a/lisp/calc/calc-vec.el b/lisp/calc/calc-vec.el index c7a3e716d61..cd157703f49 100644 --- a/lisp/calc/calc-vec.el +++ b/lisp/calc/calc-vec.el | |||
| @@ -1618,13 +1618,13 @@ of two matrices is a matrix." | |||
| 1618 | (if (not (or (equal math-expr-data math-rb-close) | 1618 | (if (not (or (equal math-expr-data math-rb-close) |
| 1619 | (equal math-expr-data ")") | 1619 | (equal math-expr-data ")") |
| 1620 | (eq math-exp-token 'end))) | 1620 | (eq math-exp-token 'end))) |
| 1621 | (throw 'syntax "Expected ‘]’"))) | 1621 | (throw 'syntax "Expected `]'"))) |
| 1622 | (if (equal math-expr-data ";") | 1622 | (if (equal math-expr-data ";") |
| 1623 | (let ((math-exp-keep-spaces space-sep)) | 1623 | (let ((math-exp-keep-spaces space-sep)) |
| 1624 | (setq vals (cons 'vec (math-read-matrix (list vals)))))) | 1624 | (setq vals (cons 'vec (math-read-matrix (list vals)))))) |
| 1625 | (if (not (or (equal math-expr-data math-rb-close) | 1625 | (if (not (or (equal math-expr-data math-rb-close) |
| 1626 | (eq math-exp-token 'end))) | 1626 | (eq math-exp-token 'end))) |
| 1627 | (throw 'syntax "Expected ‘]’"))) | 1627 | (throw 'syntax "Expected `]'"))) |
| 1628 | (or (eq math-exp-token 'end) | 1628 | (or (eq math-exp-token 'end) |
| 1629 | (math-read-token)) | 1629 | (math-read-token)) |
| 1630 | vals))) | 1630 | vals))) |
diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index cce04705da8..5694a4e56ae 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el | |||
| @@ -603,9 +603,9 @@ To cancel the edit, simply kill the *Calc Edit* buffer." | |||
| 603 | (insert (propertize | 603 | (insert (propertize |
| 604 | (concat | 604 | (concat |
| 605 | (or title title "Calc Edit Mode. ") | 605 | (or title title "Calc Edit Mode. ") |
| 606 | (format-message "Press ‘C-c C-c’") | 606 | (format-message "Press `C-c C-c'") |
| 607 | (if allow-ret "" " or RET") | 607 | (if allow-ret "" " or RET") |
| 608 | (format-message " to finish, ‘C-x k RET’ to cancel.\n\n")) | 608 | (format-message " to finish, `C-x k RET' to cancel.\n\n")) |
| 609 | 'font-lock-face 'italic 'read-only t 'rear-nonsticky t 'front-sticky t)) | 609 | 'font-lock-face 'italic 'read-only t 'rear-nonsticky t 'front-sticky t)) |
| 610 | (make-local-variable 'calc-edit-top) | 610 | (make-local-variable 'calc-edit-top) |
| 611 | (setq calc-edit-top (point)))) | 611 | (setq calc-edit-top (point)))) |
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index ea20986bc85..b4b0ad8b185 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el | |||
| @@ -989,11 +989,11 @@ Used by `calc-user-invocation'.") | |||
| 989 | (defvar calc-last-kill nil | 989 | (defvar calc-last-kill nil |
| 990 | "The last number killed in calc-mode.") | 990 | "The last number killed in calc-mode.") |
| 991 | (defvar calc-dollar-values nil | 991 | (defvar calc-dollar-values nil |
| 992 | "Values to be used for ‘$’.") | 992 | "Values to be used for `$'.") |
| 993 | (defvar calc-dollar-used nil | 993 | (defvar calc-dollar-used nil |
| 994 | "The highest order of ‘$’ that occurred.") | 994 | "The highest order of `$' that occurred.") |
| 995 | (defvar calc-hashes-used nil | 995 | (defvar calc-hashes-used nil |
| 996 | "The highest order of ‘#’ that occurred.") | 996 | "The highest order of `#' that occurred.") |
| 997 | (defvar calc-quick-prev-results nil | 997 | (defvar calc-quick-prev-results nil |
| 998 | "Previous results from Quick Calc.") | 998 | "Previous results from Quick Calc.") |
| 999 | (defvar calc-said-hello nil | 999 | (defvar calc-said-hello nil |
| @@ -1474,7 +1474,7 @@ commands given here will actually operate on the *Calculator* stack." | |||
| 1474 | (and calc-display-trail | 1474 | (and calc-display-trail |
| 1475 | (= (window-width) (frame-width)) | 1475 | (= (window-width) (frame-width)) |
| 1476 | (calc-trail-display 1 t))) | 1476 | (calc-trail-display 1 t))) |
| 1477 | (message "Welcome to the GNU Emacs Calculator! Press ‘?’ or ‘h’ for help, ‘q’ to quit") | 1477 | (message "Welcome to the GNU Emacs Calculator! Press `?' or `h' for help, `q' to quit") |
| 1478 | (run-hooks 'calc-start-hook) | 1478 | (run-hooks 'calc-start-hook) |
| 1479 | (and (windowp full-display) | 1479 | (and (windowp full-display) |
| 1480 | (window-point full-display) | 1480 | (window-point full-display) |
| @@ -1622,7 +1622,7 @@ See calc-keypad for details." | |||
| 1622 | (stringp (nth 1 err)) | 1622 | (stringp (nth 1 err)) |
| 1623 | (string-match "max-specpdl-size\\|max-lisp-eval-depth" | 1623 | (string-match "max-specpdl-size\\|max-lisp-eval-depth" |
| 1624 | (nth 1 err))) | 1624 | (nth 1 err))) |
| 1625 | (error "Computation got stuck or ran too long. Type ‘M’ to increase the limit") | 1625 | (error "Computation got stuck or ran too long. Type `M' to increase the limit") |
| 1626 | (setq calc-aborted-prefix nil) | 1626 | (setq calc-aborted-prefix nil) |
| 1627 | (signal (car err) (cdr err))))) | 1627 | (signal (car err) (cdr err))))) |
| 1628 | (when calc-aborted-prefix | 1628 | (when calc-aborted-prefix |
| @@ -3856,7 +3856,7 @@ Also looks for the equivalent TeX words, \\gets and \\evalto." | |||
| 3856 | (defun calc-user-invocation () | 3856 | (defun calc-user-invocation () |
| 3857 | (interactive) | 3857 | (interactive) |
| 3858 | (unless calc-invocation-macro | 3858 | (unless calc-invocation-macro |
| 3859 | (error "Use ‘Z I’ inside Calc to define a ‘C-x * Z’ keyboard macro")) | 3859 | (error "Use `Z I' inside Calc to define a `C-x * Z' keyboard macro")) |
| 3860 | (execute-kbd-macro calc-invocation-macro nil)) | 3860 | (execute-kbd-macro calc-invocation-macro nil)) |
| 3861 | 3861 | ||
| 3862 | ;;; User-programmability. | 3862 | ;;; User-programmability. |
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index 426bb286ebb..d5d8a400218 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el | |||
| @@ -239,7 +239,7 @@ also calls `beep' for an audible reminder." | |||
| 239 | (wrong-type-argument | 239 | (wrong-type-argument |
| 240 | (if (not (listp mins)) | 240 | (if (not (listp mins)) |
| 241 | (signal (car err) (cdr err)) | 241 | (signal (car err) (cdr err)) |
| 242 | (message "Argtype error in ‘appt-disp-window-function’ - \ | 242 | (message "Argtype error in `appt-disp-window-function' - \ |
| 243 | update it for multiple appts?") | 243 | update it for multiple appts?") |
| 244 | ;; Fallback to just displaying the first appt, as we used to. | 244 | ;; Fallback to just displaying the first appt, as we used to. |
| 245 | (funcall appt-disp-window-function | 245 | (funcall appt-disp-window-function |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index be542d6a155..a1370bbc5e3 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -484,8 +484,8 @@ If so, return the expanded file name, otherwise signal an error." | |||
| 484 | (if (and diary-file (file-exists-p diary-file)) | 484 | (if (and diary-file (file-exists-p diary-file)) |
| 485 | (if (file-readable-p diary-file) | 485 | (if (file-readable-p diary-file) |
| 486 | diary-file | 486 | diary-file |
| 487 | (error "Diary file ‘%s’ is not readable" diary-file)) | 487 | (error "Diary file `%s' is not readable" diary-file)) |
| 488 | (error "Diary file ‘%s’ does not exist" diary-file))) | 488 | (error "Diary file `%s' does not exist" diary-file))) |
| 489 | 489 | ||
| 490 | ;;;###autoload | 490 | ;;;###autoload |
| 491 | (defun diary (&optional arg) | 491 | (defun diary (&optional arg) |
| @@ -1199,7 +1199,7 @@ ensure that all relevant variables are set. | |||
| 1199 | " | 1199 | " |
| 1200 | (interactive "P") | 1200 | (interactive "P") |
| 1201 | (if (string-equal diary-mail-addr "") | 1201 | (if (string-equal diary-mail-addr "") |
| 1202 | (user-error "You must set ‘diary-mail-addr’ to use this command") | 1202 | (user-error "You must set `diary-mail-addr' to use this command") |
| 1203 | (let ((diary-display-function 'diary-fancy-display)) | 1203 | (let ((diary-display-function 'diary-fancy-display)) |
| 1204 | (diary-list-entries (calendar-current-date) (or ndays diary-mail-days))) | 1204 | (diary-list-entries (calendar-current-date) (or ndays diary-mail-days))) |
| 1205 | (compose-mail diary-mail-addr | 1205 | (compose-mail diary-mail-addr |
| @@ -2529,7 +2529,7 @@ entry is found the user is asked to confirm its addition." | |||
| 2529 | #'diary-from-outlook-rmail) | 2529 | #'diary-from-outlook-rmail) |
| 2530 | ((memq major-mode '(gnus-summary-mode gnus-article-mode)) | 2530 | ((memq major-mode '(gnus-summary-mode gnus-article-mode)) |
| 2531 | #'diary-from-outlook-gnus) | 2531 | #'diary-from-outlook-gnus) |
| 2532 | (t (error "Don't know how to snarf in ‘%s’" major-mode))))) | 2532 | (t (error "Don't know how to snarf in `%s'" major-mode))))) |
| 2533 | (funcall func noconfirm))) | 2533 | (funcall func noconfirm))) |
| 2534 | 2534 | ||
| 2535 | (provide 'diary-lib) | 2535 | (provide 'diary-lib) |
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index b75e4423080..4b71530febb 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el | |||
| @@ -482,7 +482,7 @@ children." | |||
| 482 | result)) | 482 | result)) |
| 483 | 483 | ||
| 484 | (defun icalendar--split-value (value-string) | 484 | (defun icalendar--split-value (value-string) |
| 485 | "Split VALUE-STRING at ‘;=’." | 485 | "Split VALUE-STRING at `;='." |
| 486 | (let ((result '()) | 486 | (let ((result '()) |
| 487 | param-name param-value) | 487 | param-name param-value) |
| 488 | (when value-string | 488 | (when value-string |
| @@ -1118,7 +1118,7 @@ FExport diary data into iCalendar file: ") | |||
| 1118 | (setq found-error t) | 1118 | (setq found-error t) |
| 1119 | (save-current-buffer | 1119 | (save-current-buffer |
| 1120 | (set-buffer (get-buffer-create "*icalendar-errors*")) | 1120 | (set-buffer (get-buffer-create "*icalendar-errors*")) |
| 1121 | (insert (format-message "Error in line %d -- %s: ‘%s’\n" | 1121 | (insert (format-message "Error in line %d -- %s: `%s'\n" |
| 1122 | (count-lines (point-min) (point)) | 1122 | (count-lines (point-min) (point)) |
| 1123 | error-val | 1123 | error-val |
| 1124 | entry-main)))))) | 1124 | entry-main)))))) |
| @@ -1741,7 +1741,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1741 | (when day | 1741 | (when day |
| 1742 | (progn | 1742 | (progn |
| 1743 | (icalendar--dmsg "diary-float %s" entry-main) | 1743 | (icalendar--dmsg "diary-float %s" entry-main) |
| 1744 | (error "Don't know if or how to implement day in ‘diary-float’"))) | 1744 | (error "Don't know if or how to implement day in `diary-float'"))) |
| 1745 | 1745 | ||
| 1746 | (cons (concat | 1746 | (cons (concat |
| 1747 | ;;Start today (yes this is an arbitrary choice): | 1747 | ;;Start today (yes this is an arbitrary choice): |
| @@ -1788,7 +1788,7 @@ entries. ENTRY-MAIN is the first line of the diary entry." | |||
| 1788 | entry-main) | 1788 | entry-main) |
| 1789 | (progn | 1789 | (progn |
| 1790 | (icalendar--dmsg "diary-date %s" entry-main) | 1790 | (icalendar--dmsg "diary-date %s" entry-main) |
| 1791 | (error "‘diary-date’ is not supported yet")) | 1791 | (error "`diary-date' is not supported yet")) |
| 1792 | ;; no match | 1792 | ;; no match |
| 1793 | nil)) | 1793 | nil)) |
| 1794 | 1794 | ||
| @@ -2104,7 +2104,7 @@ written into the buffer `*icalendar-errors*'." | |||
| 2104 | (rrule (icalendar--get-event-property e 'RRULE)) | 2104 | (rrule (icalendar--get-event-property e 'RRULE)) |
| 2105 | (rdate (icalendar--get-event-property e 'RDATE)) | 2105 | (rdate (icalendar--get-event-property e 'RDATE)) |
| 2106 | (duration (icalendar--get-event-property e 'DURATION))) | 2106 | (duration (icalendar--get-event-property e 'DURATION))) |
| 2107 | (icalendar--dmsg "%s: ‘%s’" start-d summary) | 2107 | (icalendar--dmsg "%s: `%s'" start-d summary) |
| 2108 | ;; check whether start-time is missing | 2108 | ;; check whether start-time is missing |
| 2109 | (if (and dtstart | 2109 | (if (and dtstart |
| 2110 | (string= | 2110 | (string= |
| @@ -2282,7 +2282,7 @@ END-T is the event's end time in diary format." | |||
| 2282 | interval)))) | 2282 | interval)))) |
| 2283 | ) | 2283 | ) |
| 2284 | (t | 2284 | (t |
| 2285 | (message "Cannot handle COUNT attribute for ‘%s’ events." | 2285 | (message "Cannot handle COUNT attribute for `%s' events." |
| 2286 | frequency))) | 2286 | frequency))) |
| 2287 | (setq until-conv (icalendar--datetime-to-diary-date until)) | 2287 | (setq until-conv (icalendar--datetime-to-diary-date until)) |
| 2288 | (setq until-1-conv (icalendar--datetime-to-diary-date until-1)) | 2288 | (setq until-1-conv (icalendar--datetime-to-diary-date until-1)) |
| @@ -2473,7 +2473,7 @@ SUMMARY is not nil it must be a string that gives the summary of the | |||
| 2473 | entry. In this case the user will be asked whether he wants to insert | 2473 | entry. In this case the user will be asked whether he wants to insert |
| 2474 | the entry." | 2474 | the entry." |
| 2475 | (when (or (not summary) | 2475 | (when (or (not summary) |
| 2476 | (y-or-n-p (format-message "Add appointment for ‘%s’ to diary? " | 2476 | (y-or-n-p (format-message "Add appointment for `%s' to diary? " |
| 2477 | summary))) | 2477 | summary))) |
| 2478 | (when summary | 2478 | (when summary |
| 2479 | (setq non-marking | 2479 | (setq non-marking |
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index c13ef97c6b9..bb7e97ea7f3 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el | |||
| @@ -377,9 +377,9 @@ This function does not work for SECONDS greater than `most-positive-fixnum'." | |||
| 377 | spec (match-string 1 string)) | 377 | spec (match-string 1 string)) |
| 378 | (unless (string-equal spec "%") | 378 | (unless (string-equal spec "%") |
| 379 | (or (setq match (assoc (downcase spec) units)) | 379 | (or (setq match (assoc (downcase spec) units)) |
| 380 | (error "Bad format specifier: ‘%s’" spec)) | 380 | (error "Bad format specifier: `%s'" spec)) |
| 381 | (if (assoc (downcase spec) usedunits) | 381 | (if (assoc (downcase spec) usedunits) |
| 382 | (error "Multiple instances of specifier: ‘%s’" spec)) | 382 | (error "Multiple instances of specifier: `%s'" spec)) |
| 383 | (if (string-equal (car match) "z") | 383 | (if (string-equal (car match) "z") |
| 384 | (setq zeroflag t) | 384 | (setq zeroflag t) |
| 385 | (unless larger | 385 | (unless larger |
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index 797f2173e52..67fc4c546ff 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el | |||
| @@ -305,8 +305,8 @@ display (non-nil means on)." | |||
| 305 | ;; on calling this function. | 305 | ;; on calling this function. |
| 306 | (if display-time-mode | 306 | (if display-time-mode |
| 307 | (timeclock-update-mode-line) | 307 | (timeclock-update-mode-line) |
| 308 | (message "Activate ‘display-time-mode’ or turn off \ | 308 | (message "Activate `display-time-mode' or turn off \ |
| 309 | ‘timeclock-use-display-time’ to see timeclock information")) | 309 | `timeclock-use-display-time' to see timeclock information")) |
| 310 | (add-hook 'display-time-hook 'timeclock-update-mode-line)) | 310 | (add-hook 'display-time-hook 'timeclock-update-mode-line)) |
| 311 | (setq timeclock-update-timer | 311 | (setq timeclock-update-timer |
| 312 | (run-at-time nil 60 'timeclock-update-mode-line)))) | 312 | (run-at-time nil 60 'timeclock-update-mode-line)))) |
| @@ -575,7 +575,7 @@ relative only to the time worked today, and not to past time." | |||
| 575 | OLD-DEFAULT hours are set for every day that has no number indicated." | 575 | OLD-DEFAULT hours are set for every day that has no number indicated." |
| 576 | (interactive "P") | 576 | (interactive "P") |
| 577 | (if old-default (setq old-default (prefix-numeric-value old-default)) | 577 | (if old-default (setq old-default (prefix-numeric-value old-default)) |
| 578 | (error "‘timelog-make-hours-explicit’ requires an explicit argument")) | 578 | (error "`timelog-make-hours-explicit' requires an explicit argument")) |
| 579 | (let ((extant-timelog (find-buffer-visiting timeclock-file)) | 579 | (let ((extant-timelog (find-buffer-visiting timeclock-file)) |
| 580 | current-date) | 580 | current-date) |
| 581 | (with-current-buffer (find-file-noselect timeclock-file t) | 581 | (with-current-buffer (find-file-noselect timeclock-file t) |
| @@ -589,7 +589,7 @@ OLD-DEFAULT hours are set for every day that has no number indicated." | |||
| 589 | (unless (looking-at | 589 | (unless (looking-at |
| 590 | (concat "^\\([bhioO]\\) \\([0-9]+/[0-9]+/[0-9]+\\) " | 590 | (concat "^\\([bhioO]\\) \\([0-9]+/[0-9]+/[0-9]+\\) " |
| 591 | "\\([0-9]+:[0-9]+:[0-9]+\\)")) | 591 | "\\([0-9]+:[0-9]+:[0-9]+\\)")) |
| 592 | (error "Can't parse ‘%s’" timeclock-file)) | 592 | (error "Can't parse `%s'" timeclock-file)) |
| 593 | (let ((this-date (match-string 2))) | 593 | (let ((this-date (match-string 2))) |
| 594 | (unless (or (and current-date | 594 | (unless (or (and current-date |
| 595 | (string= this-date current-date)) | 595 | (string= this-date current-date)) |
| @@ -919,7 +919,7 @@ following format: | |||
| 919 | (DEBT ENTRIES-BY-DAY ENTRIES-BY-PROJECT) | 919 | (DEBT ENTRIES-BY-DAY ENTRIES-BY-PROJECT) |
| 920 | 920 | ||
| 921 | DEBT is a floating point number representing the number of seconds | 921 | DEBT is a floating point number representing the number of seconds |
| 922 | “owed” before any work was done. For a new file (one without a ‘b’ | 922 | “owed” before any work was done. For a new file (one without a `b' |
| 923 | entry), this is always zero. | 923 | entry), this is always zero. |
| 924 | 924 | ||
| 925 | The two entries lists have similar formats. They are both alists, | 925 | The two entries lists have similar formats. They are both alists, |
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index 83f2fedf25b..a04bf8237d9 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -238,7 +238,7 @@ The final element is \"*\", indicating an unspecified month.") | |||
| 238 | (widget-put | 238 | (widget-put |
| 239 | widget :error | 239 | widget :error |
| 240 | (format-message | 240 | (format-message |
| 241 | "Invalid value: must be distinct from ‘todo-item-mark’")) | 241 | "Invalid value: must be distinct from `todo-item-mark'")) |
| 242 | widget))) | 242 | widget))) |
| 243 | :initialize 'custom-initialize-default | 243 | :initialize 'custom-initialize-default |
| 244 | :set 'todo-reset-prefix | 244 | :set 'todo-reset-prefix |
| @@ -1343,12 +1343,13 @@ todo or done items." | |||
| 1343 | "deleting it will also delete the file.\n" | 1343 | "deleting it will also delete the file.\n" |
| 1344 | "Do you want to proceed? "))) | 1344 | "Do you want to proceed? "))) |
| 1345 | ((> archived 0) | 1345 | ((> archived 0) |
| 1346 | (todo-y-or-n-p (concat "This category has archived items; " | 1346 | (todo-y-or-n-p (format-message |
| 1347 | (concat "This category has archived items; " | ||
| 1347 | "the archived category will remain\n" | 1348 | "the archived category will remain\n" |
| 1348 | "after deleting the todo category. " | 1349 | "after deleting the todo category. " |
| 1349 | "Do you still want to delete it\n" | 1350 | "Do you still want to delete it\n" |
| 1350 | "(see ‘todo-skip-archived-categories’ " | 1351 | "(see `todo-skip-archived-categories' " |
| 1351 | "for another option)? "))) | 1352 | "for another option)? ")))) |
| 1352 | (t | 1353 | (t |
| 1353 | (todo-y-or-n-p (concat "Permanently remove category \"" cat | 1354 | (todo-y-or-n-p (concat "Permanently remove category \"" cat |
| 1354 | "\"" (and arg " and all its entries") | 1355 | "\"" (and arg " and all its entries") |
| @@ -1696,7 +1697,7 @@ only when no items are marked." | |||
| 1696 | (widget-put | 1697 | (widget-put |
| 1697 | widget :error | 1698 | widget :error |
| 1698 | (format-message | 1699 | (format-message |
| 1699 | "Invalid value: must be distinct from ‘todo-prefix’")) | 1700 | "Invalid value: must be distinct from `todo-prefix'")) |
| 1700 | widget))) | 1701 | widget))) |
| 1701 | :set (lambda (symbol value) | 1702 | :set (lambda (symbol value) |
| 1702 | (custom-set-default symbol (propertize value 'face 'todo-mark))) | 1703 | (custom-set-default symbol (propertize value 'face 'todo-mark))) |
| @@ -5036,7 +5037,7 @@ but the categories sexp differs from the current value of | |||
| 5036 | ;; Warn user if categories sexp has changed. | 5037 | ;; Warn user if categories sexp has changed. |
| 5037 | (unless (string= ssexp cats) | 5038 | (unless (string= ssexp cats) |
| 5038 | (message (concat "The sexp at the beginning of the file differs " | 5039 | (message (concat "The sexp at the beginning of the file differs " |
| 5039 | "from the value of ‘todo-categories’.\n" | 5040 | "from the value of `todo-categories'.\n" |
| 5040 | "If the sexp is wrong, you can fix it with " | 5041 | "If the sexp is wrong, you can fix it with " |
| 5041 | "M-x todo-repair-categories-sexp,\n" | 5042 | "M-x todo-repair-categories-sexp,\n" |
| 5042 | "but note this reverts any changes you have " | 5043 | "but note this reverts any changes you have " |
| @@ -5533,7 +5534,7 @@ already entered and those still available." | |||
| 5533 | (todo-insert-item--this-key) | 5534 | (todo-insert-item--this-key) |
| 5534 | todo-insert-item--argsleft))))))))) | 5535 | todo-insert-item--argsleft))))))))) |
| 5535 | (setq todo-insert-item--argsleft todo-insert-item--newargsleft)) | 5536 | (setq todo-insert-item--argsleft todo-insert-item--newargsleft)) |
| 5536 | (when prompt (message "Press a key (so far ‘%s’): %s" | 5537 | (when prompt (message "Press a key (so far `%s'): %s" |
| 5537 | todo-insert-item--keys-so-far prompt)) | 5538 | todo-insert-item--keys-so-far prompt)) |
| 5538 | (set-transient-map map) | 5539 | (set-transient-map map) |
| 5539 | (setq todo-insert-item--argsleft argsleft))) | 5540 | (setq todo-insert-item--argsleft argsleft))) |
| @@ -5576,7 +5577,8 @@ already entered and those still available." | |||
| 5576 | '(add/edit delete)) | 5577 | '(add/edit delete)) |
| 5577 | " comment")))) | 5578 | " comment")))) |
| 5578 | params " ")) | 5579 | params " ")) |
| 5579 | (this-key (let ((key (read-key (concat todo-edit-item--prompt p->k)))) | 5580 | (key-prompt (substitute-command-keys todo-edit-item--prompt)) |
| 5581 | (this-key (let ((key (read-key (concat key-prompt p->k)))) | ||
| 5580 | (and (characterp key) (char-to-string key)))) | 5582 | (and (characterp key) (char-to-string key)))) |
| 5581 | (this-param (car (rassoc this-key params)))) | 5583 | (this-param (car (rassoc this-key params)))) |
| 5582 | (pcase this-param | 5584 | (pcase this-param |
| @@ -5587,7 +5589,7 @@ already entered and those still available." | |||
| 5587 | (`delete (todo-edit-item--text 'comment-delete)) | 5589 | (`delete (todo-edit-item--text 'comment-delete)) |
| 5588 | (`diary (todo-edit-item--diary-inclusion)) | 5590 | (`diary (todo-edit-item--diary-inclusion)) |
| 5589 | (`nonmarking (todo-edit-item--diary-inclusion 'nonmarking)) | 5591 | (`nonmarking (todo-edit-item--diary-inclusion 'nonmarking)) |
| 5590 | (`date (let ((todo-edit-item--prompt "Press a key (so far ‘e d’): ")) | 5592 | (`date (let ((todo-edit-item--prompt "Press a key (so far `e d'): ")) |
| 5591 | (todo-edit-item--next-key | 5593 | (todo-edit-item--next-key |
| 5592 | todo-edit-item--date-param-key-alist arg))) | 5594 | todo-edit-item--date-param-key-alist arg))) |
| 5593 | (`full (progn (todo-edit-item--header 'date) | 5595 | (`full (progn (todo-edit-item--header 'date) |
| @@ -6602,7 +6604,7 @@ Added to `window-configuration-change-hook' in Todo mode." | |||
| 6602 | (if (called-interactively-p 'any) | 6604 | (if (called-interactively-p 'any) |
| 6603 | (message "%s" | 6605 | (message "%s" |
| 6604 | (substitute-command-keys | 6606 | (substitute-command-keys |
| 6605 | "Type ‘\\[todo-show]’ to enter Todo mode")) | 6607 | "Type `\\[todo-show]' to enter Todo mode")) |
| 6606 | (todo-modes-set-1) | 6608 | (todo-modes-set-1) |
| 6607 | (todo-modes-set-2) | 6609 | (todo-modes-set-2) |
| 6608 | (todo-modes-set-3) | 6610 | (todo-modes-set-3) |
diff --git a/lisp/cedet/cedet-global.el b/lisp/cedet/cedet-global.el index 9e311776261..3773ba09f32 100644 --- a/lisp/cedet/cedet-global.el +++ b/lisp/cedet/cedet-global.el | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | 36 | ||
| 37 | (defcustom cedet-global-gtags-command "gtags" | 37 | (defcustom cedet-global-gtags-command "gtags" |
| 38 | "Command name for the GNU Global gtags executable. | 38 | "Command name for the GNU Global gtags executable. |
| 39 | GTAGS is used to create the tags table queried by the ‘global’ command." | 39 | GTAGS is used to create the tags table queried by the `global' command." |
| 40 | :type 'string | 40 | :type 'string |
| 41 | :group 'cedet) | 41 | :group 'cedet) |
| 42 | 42 | ||
diff --git a/lisp/cedet/ede/pmake.el b/lisp/cedet/ede/pmake.el index 1318fde6e3d..b494e27dc31 100644 --- a/lisp/cedet/ede/pmake.el +++ b/lisp/cedet/ede/pmake.el | |||
| @@ -599,7 +599,7 @@ Argument THIS is the target that should insert stuff." | |||
| 599 | "It needs to be regenerated by EDE.\n" | 599 | "It needs to be regenerated by EDE.\n" |
| 600 | "\t@echo If you have not modified Project.ede, you can" | 600 | "\t@echo If you have not modified Project.ede, you can" |
| 601 | (format-message | 601 | (format-message |
| 602 | " use ‘touch’ to update the Makefile time stamp.\n") | 602 | " use `touch' to update the Makefile time stamp.\n") |
| 603 | "\t@false\n\n" | 603 | "\t@false\n\n" |
| 604 | "\n\n# End of Makefile\n"))) | 604 | "\n\n# End of Makefile\n"))) |
| 605 | 605 | ||
diff --git a/lisp/cedet/mode-local.el b/lisp/cedet/mode-local.el index 3192684fbd7..64c1f08af22 100644 --- a/lisp/cedet/mode-local.el +++ b/lisp/cedet/mode-local.el | |||
| @@ -658,7 +658,7 @@ SYMBOL is a function that can be overridden." | |||
| 658 | (override (fetch-overload symbol))) | 658 | (override (fetch-overload symbol))) |
| 659 | 659 | ||
| 660 | (when override | 660 | (when override |
| 661 | (insert (format-message "\noverride in mode ‘%s’: ’%s’\n" | 661 | (insert (format-message "\noverride in mode `%s': `%s'\n" |
| 662 | major-mode override)) | 662 | major-mode override)) |
| 663 | ))) | 663 | ))) |
| 664 | ))) | 664 | ))) |
| @@ -760,9 +760,9 @@ META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)." | |||
| 760 | (defun mode-local-print-binding (symbol) | 760 | (defun mode-local-print-binding (symbol) |
| 761 | "Print the SYMBOL binding." | 761 | "Print the SYMBOL binding." |
| 762 | (let ((value (symbol-value symbol))) | 762 | (let ((value (symbol-value symbol))) |
| 763 | (princ (format-message "\n ‘%s’ value is\n " symbol)) | 763 | (princ (format-message "\n `%s' value is\n " symbol)) |
| 764 | (if (and value (symbolp value)) | 764 | (if (and value (symbolp value)) |
| 765 | (princ (format-message "‘%s’" value)) | 765 | (princ (format-message "`%s'" value)) |
| 766 | (let ((pt (point))) | 766 | (let ((pt (point))) |
| 767 | (pp value) | 767 | (pp value) |
| 768 | (save-excursion | 768 | (save-excursion |
| @@ -820,7 +820,7 @@ META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)." | |||
| 820 | ) | 820 | ) |
| 821 | ((symbolp buffer-or-mode) | 821 | ((symbolp buffer-or-mode) |
| 822 | (setq mode buffer-or-mode) | 822 | (setq mode buffer-or-mode) |
| 823 | (princ (format-message "‘%s’\n" buffer-or-mode)) | 823 | (princ (format-message "`%s'\n" buffer-or-mode)) |
| 824 | ) | 824 | ) |
| 825 | ((signal 'wrong-type-argument | 825 | ((signal 'wrong-type-argument |
| 826 | (list 'buffer-or-mode buffer-or-mode)))) | 826 | (list 'buffer-or-mode buffer-or-mode)))) |
| @@ -830,7 +830,7 @@ META-NAME is a cons (OVERLOADABLE-SYMBOL . MAJOR-MODE)." | |||
| 830 | (while mode | 830 | (while mode |
| 831 | (setq table (get mode 'mode-local-symbol-table)) | 831 | (setq table (get mode 'mode-local-symbol-table)) |
| 832 | (when table | 832 | (when table |
| 833 | (princ (format-message "\n- From ‘%s’\n" mode)) | 833 | (princ (format-message "\n- From `%s'\n" mode)) |
| 834 | (mode-local-print-bindings table)) | 834 | (mode-local-print-bindings table)) |
| 835 | (setq mode (get-mode-local-parent mode))))) | 835 | (setq mode (get-mode-local-parent mode))))) |
| 836 | 836 | ||
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 9c32388669b..d32b2c4f001 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el | |||
| @@ -1665,7 +1665,7 @@ Display mechanism using tooltip for a list of possible completions.") | |||
| 1665 | (when (>= (oref obj typing-count) 5) | 1665 | (when (>= (oref obj typing-count) 5) |
| 1666 | (oset obj mode 'standard) | 1666 | (oset obj mode 'standard) |
| 1667 | (setq mode 'standard) | 1667 | (setq mode 'standard) |
| 1668 | (message "Resetting inline-mode to ‘standard’.")) | 1668 | (message "Resetting inline-mode to `standard'.")) |
| 1669 | (when (and (> numcompl max-tags) | 1669 | (when (and (> numcompl max-tags) |
| 1670 | (< (oref obj typing-count) 2)) | 1670 | (< (oref obj typing-count) 2)) |
| 1671 | ;; Discretely hint at completion availability. | 1671 | ;; Discretely hint at completion availability. |
| @@ -1684,7 +1684,7 @@ Display mechanism using tooltip for a list of possible completions.") | |||
| 1684 | (setq msg-tail (concat "\n[<TAB> " (number-to-string (- numcompl max-tags)) " more]")) | 1684 | (setq msg-tail (concat "\n[<TAB> " (number-to-string (- numcompl max-tags)) " more]")) |
| 1685 | (setq msg-tail (concat "\n[<n/a> " (number-to-string (- numcompl max-tags)) " more]")) | 1685 | (setq msg-tail (concat "\n[<n/a> " (number-to-string (- numcompl max-tags)) " more]")) |
| 1686 | (when (>= (oref obj typing-count) 2) | 1686 | (when (>= (oref obj typing-count) 2) |
| 1687 | (message "Refine search to display results beyond the ‘%s’ limit" | 1687 | (message "Refine search to display results beyond the `%s' limit" |
| 1688 | (symbol-name 'semantic-complete-inline-max-tags-extended))))) | 1688 | (symbol-name 'semantic-complete-inline-max-tags-extended))))) |
| 1689 | ((= numcompl 1) | 1689 | ((= numcompl 1) |
| 1690 | ;; two possible cases | 1690 | ;; two possible cases |
diff --git a/lisp/cedet/semantic/java.el b/lisp/cedet/semantic/java.el index fc02d034dca..829eafae37a 100644 --- a/lisp/cedet/semantic/java.el +++ b/lisp/cedet/semantic/java.el | |||
| @@ -369,7 +369,7 @@ That is @NAME." | |||
| 369 | 369 | ||
| 370 | (defsubst semantic-java-doc-tag-name (tag) | 370 | (defsubst semantic-java-doc-tag-name (tag) |
| 371 | "Return name of the doc TAG symbol. | 371 | "Return name of the doc TAG symbol. |
| 372 | That is TAG `symbol-name' without the leading ‘@’." | 372 | That is TAG `symbol-name' without the leading `@'." |
| 373 | (substring (symbol-name tag) 1)) | 373 | (substring (symbol-name tag) 1)) |
| 374 | 374 | ||
| 375 | (defun semantic-java-doc-keyword-before-p (k1 k2) | 375 | (defun semantic-java-doc-keyword-before-p (k1 k2) |
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el index 48f055561ea..7fc35410b48 100644 --- a/lisp/cedet/srecode/srt-mode.el +++ b/lisp/cedet/srecode/srt-mode.el | |||
| @@ -258,9 +258,9 @@ we can tell font lock about them.") | |||
| 258 | (when (class-abstract-p C) | 258 | (when (class-abstract-p C) |
| 259 | (throw 'skip nil)) | 259 | (throw 'skip nil)) |
| 260 | 260 | ||
| 261 | (princ (substitute-command-keys "‘")) | 261 | (princ (substitute-command-keys "`")) |
| 262 | (princ name) | 262 | (princ name) |
| 263 | (princ (substitute-command-keys "’")) | 263 | (princ (substitute-command-keys "'")) |
| 264 | (when (slot-exists-p C 'key) | 264 | (when (slot-exists-p C 'key) |
| 265 | (when key | 265 | (when key |
| 266 | (princ " - Character Key: ") | 266 | (princ " - Character Key: ") |
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 7e251196d6c..dc40ca9321a 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -626,7 +626,7 @@ since it could result in memory overflow and make Emacs crash." | |||
| 626 | (if (not (boundp symbol)) | 626 | (if (not (boundp symbol)) |
| 627 | ;; If variables are removed from C code, give an error here! | 627 | ;; If variables are removed from C code, give an error here! |
| 628 | (and native-p | 628 | (and native-p |
| 629 | (message "Note, built-in variable ‘%S’ not bound" symbol)) | 629 | (message "Note, built-in variable `%S' not bound" symbol)) |
| 630 | ;; Save the standard value, unless we already did. | 630 | ;; Save the standard value, unless we already did. |
| 631 | (or (get symbol 'standard-value) | 631 | (or (get symbol 'standard-value) |
| 632 | (put symbol 'standard-value (list standard))) | 632 | (put symbol 'standard-value (list standard))) |
diff --git a/lisp/cus-theme.el b/lisp/cus-theme.el index 7693c70aea9..3ec0811f218 100644 --- a/lisp/cus-theme.el +++ b/lisp/cus-theme.el | |||
| @@ -492,10 +492,10 @@ It includes all faces in list FACES." | |||
| 492 | '("" "c"))) | 492 | '("" "c"))) |
| 493 | doc) | 493 | doc) |
| 494 | (when fn | 494 | (when fn |
| 495 | (princ (substitute-command-keys " in ‘")) | 495 | (princ (substitute-command-keys " in `")) |
| 496 | (help-insert-xref-button (file-name-nondirectory fn) | 496 | (help-insert-xref-button (file-name-nondirectory fn) |
| 497 | 'help-theme-def fn) | 497 | 'help-theme-def fn) |
| 498 | (princ (substitute-command-keys "’"))) | 498 | (princ (substitute-command-keys "'"))) |
| 499 | (princ ".\n") | 499 | (princ ".\n") |
| 500 | (if (custom-theme-p theme) | 500 | (if (custom-theme-p theme) |
| 501 | (progn | 501 | (progn |
diff --git a/lisp/custom.el b/lisp/custom.el index f2b5d526bc5..ea5ab7a4773 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -548,13 +548,13 @@ VALUE should be a list of symbols. For each symbol in that list, | |||
| 548 | this specifies that SYMBOL should be set after the specified symbol, | 548 | this specifies that SYMBOL should be set after the specified symbol, |
| 549 | if both appear in constructs like `custom-set-variables'." | 549 | if both appear in constructs like `custom-set-variables'." |
| 550 | (unless (listp value) | 550 | (unless (listp value) |
| 551 | (error "Invalid custom dependency ‘%s’" value)) | 551 | (error "Invalid custom dependency `%s'" value)) |
| 552 | (let* ((deps (get symbol 'custom-dependencies)) | 552 | (let* ((deps (get symbol 'custom-dependencies)) |
| 553 | (new-deps deps)) | 553 | (new-deps deps)) |
| 554 | (while value | 554 | (while value |
| 555 | (let ((dep (car value))) | 555 | (let ((dep (car value))) |
| 556 | (unless (symbolp dep) | 556 | (unless (symbolp dep) |
| 557 | (error "Invalid custom dependency ‘%s’" dep)) | 557 | (error "Invalid custom dependency `%s'" dep)) |
| 558 | (unless (memq dep new-deps) | 558 | (unless (memq dep new-deps) |
| 559 | (setq new-deps (cons dep new-deps))) | 559 | (setq new-deps (cons dep new-deps))) |
| 560 | (setq value (cdr value)))) | 560 | (setq value (cdr value)))) |
| @@ -830,7 +830,7 @@ to the front of this list.") | |||
| 830 | (defsubst custom-check-theme (theme) | 830 | (defsubst custom-check-theme (theme) |
| 831 | "Check whether THEME is valid, and signal an error if it is not." | 831 | "Check whether THEME is valid, and signal an error if it is not." |
| 832 | (unless (custom-theme-p theme) | 832 | (unless (custom-theme-p theme) |
| 833 | (error "Unknown theme ‘%s’" theme))) | 833 | (error "Unknown theme `%s'" theme))) |
| 834 | 834 | ||
| 835 | (defun custom-push-theme (prop symbol theme mode &optional value) | 835 | (defun custom-push-theme (prop symbol theme mode &optional value) |
| 836 | "Record VALUE for face or variable SYMBOL in custom theme THEME. | 836 | "Record VALUE for face or variable SYMBOL in custom theme THEME. |
| @@ -1043,7 +1043,7 @@ list, in which A occurs before B if B was defined with a | |||
| 1043 | (when elt | 1043 | (when elt |
| 1044 | (cond | 1044 | (cond |
| 1045 | ((eq (car elt) 'dependant) | 1045 | ((eq (car elt) 'dependant) |
| 1046 | (error "Circular custom dependency on ‘%s’" sym)) | 1046 | (error "Circular custom dependency on `%s'" sym)) |
| 1047 | ((car elt) | 1047 | ((car elt) |
| 1048 | (setcar elt 'dependant) | 1048 | (setcar elt 'dependant) |
| 1049 | (dolist (dep (get sym 'custom-dependencies)) | 1049 | (dolist (dep (get sym 'custom-dependencies)) |
| @@ -1201,7 +1201,7 @@ Return t if THEME was successfully loaded, nil otherwise." | |||
| 1201 | (custom-available-themes)))) | 1201 | (custom-available-themes)))) |
| 1202 | nil nil)) | 1202 | nil nil)) |
| 1203 | (unless (custom-theme-name-valid-p theme) | 1203 | (unless (custom-theme-name-valid-p theme) |
| 1204 | (error "Invalid theme name ‘%s’" theme)) | 1204 | (error "Invalid theme name `%s'" theme)) |
| 1205 | ;; If THEME is already enabled, re-enable it after loading, even if | 1205 | ;; If THEME is already enabled, re-enable it after loading, even if |
| 1206 | ;; NO-ENABLE is t. | 1206 | ;; NO-ENABLE is t. |
| 1207 | (if no-enable | 1207 | (if no-enable |
| @@ -1217,7 +1217,7 @@ Return t if THEME was successfully loaded, nil otherwise." | |||
| 1217 | '("" "c"))) | 1217 | '("" "c"))) |
| 1218 | hash) | 1218 | hash) |
| 1219 | (unless fn | 1219 | (unless fn |
| 1220 | (error "Unable to find theme file for ‘%s’" theme)) | 1220 | (error "Unable to find theme file for `%s'" theme)) |
| 1221 | (with-temp-buffer | 1221 | (with-temp-buffer |
| 1222 | (insert-file-contents fn) | 1222 | (insert-file-contents fn) |
| 1223 | (setq hash (secure-hash 'sha256 (current-buffer))) | 1223 | (setq hash (secure-hash 'sha256 (current-buffer))) |
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index f81b08477bb..be69a0b27d8 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -161,7 +161,7 @@ otherwise." | |||
| 161 | ;; Buttons | 161 | ;; Buttons |
| 162 | (when (and button (not (widgetp wid-button))) | 162 | (when (and button (not (widgetp wid-button))) |
| 163 | (newline) | 163 | (newline) |
| 164 | (insert (format-message "Here is a ‘%S’ button labeled ‘%s’.\n\n" | 164 | (insert (format-message "Here is a `%S' button labeled `%s'.\n\n" |
| 165 | button-type button-label))) | 165 | button-type button-label))) |
| 166 | ;; Overlays | 166 | ;; Overlays |
| 167 | (when overlays | 167 | (when overlays |
| @@ -734,7 +734,7 @@ relevant to POS." | |||
| 734 | (when face | 734 | (when face |
| 735 | (insert (propertize " " 'display '(space :align-to 5)) | 735 | (insert (propertize " " 'display '(space :align-to 5)) |
| 736 | "face: ") | 736 | "face: ") |
| 737 | (insert (format-message "‘%s’\n" face)))))) | 737 | (insert (format-message "`%s'\n" face)))))) |
| 738 | 738 | ||
| 739 | (when composition | 739 | (when composition |
| 740 | (insert "\nComposed") | 740 | (insert "\nComposed") |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index b580a08a19a..1b6909141a6 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -1354,11 +1354,11 @@ otherwise." | |||
| 1354 | (let ((file (dired-get-filename t))) | 1354 | (let ((file (dired-get-filename t))) |
| 1355 | (if dired-bind-vm | 1355 | (if dired-bind-vm |
| 1356 | (if (y-or-n-p (format-message | 1356 | (if (y-or-n-p (format-message |
| 1357 | "Visit ‘%s’ as a mail folder with VM?" file)) | 1357 | "Visit `%s' as a mail folder with VM?" file)) |
| 1358 | (dired-vm)) | 1358 | (dired-vm)) |
| 1359 | ;; Read mail folder using rmail. | 1359 | ;; Read mail folder using rmail. |
| 1360 | (if (y-or-n-p (format-message | 1360 | (if (y-or-n-p (format-message |
| 1361 | "Visit ‘%s’ as a mailbox with RMAIL?" file)) | 1361 | "Visit `%s' as a mailbox with RMAIL?" file)) |
| 1362 | (dired-rmail))))) | 1362 | (dired-rmail))))) |
| 1363 | 1363 | ||
| 1364 | 1364 | ||
diff --git a/lisp/dired.el b/lisp/dired.el index 37d69e9a4a1..757190b2442 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -3567,7 +3567,7 @@ Thus, use \\[backward-page] to find the beginning of a group of errors." | |||
| 3567 | (unless (bolp) | 3567 | (unless (bolp) |
| 3568 | (insert "\n")) | 3568 | (insert "\n")) |
| 3569 | (insert (current-time-string) | 3569 | (insert (current-time-string) |
| 3570 | (format-message "\tBuffer ‘%s’\n" (buffer-name obuf))) | 3570 | (format-message "\tBuffer `%s'\n" (buffer-name obuf))) |
| 3571 | (goto-char (point-max)) | 3571 | (goto-char (point-max)) |
| 3572 | (insert "\f\n"))))))) | 3572 | (insert "\f\n"))))))) |
| 3573 | 3573 | ||
diff --git a/lisp/electric.el b/lisp/electric.el index bef5bb9fec7..4f2400825d7 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -434,7 +434,7 @@ The variable `electric-layout-rules' says when and how to insert newlines." | |||
| 434 | nil string)))) | 434 | nil string)))) |
| 435 | 435 | ||
| 436 | (defun electric-quote-post-self-insert-function () | 436 | (defun electric-quote-post-self-insert-function () |
| 437 | "Function that ‘electric-quote-mode’ adds to ‘post-self-insert-hook’. | 437 | "Function that `electric-quote-mode' adds to `post-self-insert-hook'. |
| 438 | This requotes when a quoting key is typed." | 438 | This requotes when a quoting key is typed." |
| 439 | (when (and electric-quote-mode | 439 | (when (and electric-quote-mode |
| 440 | (memq last-command-event '(?\' ?\`))) | 440 | (memq last-command-event '(?\' ?\`))) |
| @@ -486,11 +486,11 @@ enable the mode if ARG is omitted or nil. | |||
| 486 | When enabled, as you type this replaces \\=` with \\=‘, \\=' with \\=’, | 486 | When enabled, as you type this replaces \\=` with \\=‘, \\=' with \\=’, |
| 487 | \\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings, | 487 | \\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings, |
| 488 | and text paragraphs, and these are selectively controlled with | 488 | and text paragraphs, and these are selectively controlled with |
| 489 | ‘electric-quote-comment’, ‘electric-quote-string’, and | 489 | `electric-quote-comment', `electric-quote-string', and |
| 490 | ‘electric-quote-paragraph’. | 490 | `electric-quote-paragraph'. |
| 491 | 491 | ||
| 492 | This is a global minor mode. To toggle the mode in a single buffer, | 492 | This is a global minor mode. To toggle the mode in a single buffer, |
| 493 | use ‘electric-quote-local-mode’." | 493 | use `electric-quote-local-mode'." |
| 494 | :global t :group 'electricity | 494 | :global t :group 'electricity |
| 495 | :initialize 'custom-initialize-delay | 495 | :initialize 'custom-initialize-delay |
| 496 | :init-value nil | 496 | :init-value nil |
| @@ -507,7 +507,7 @@ use ‘electric-quote-local-mode’." | |||
| 507 | 507 | ||
| 508 | ;;;###autoload | 508 | ;;;###autoload |
| 509 | (define-minor-mode electric-quote-local-mode | 509 | (define-minor-mode electric-quote-local-mode |
| 510 | "Toggle ‘electric-quote-mode’ only in this buffer." | 510 | "Toggle `electric-quote-mode' only in this buffer." |
| 511 | :variable (buffer-local-value 'electric-quote-mode (current-buffer)) | 511 | :variable (buffer-local-value 'electric-quote-mode (current-buffer)) |
| 512 | (cond | 512 | (cond |
| 513 | ((eq electric-quote-mode (default-value 'electric-quote-mode)) | 513 | ((eq electric-quote-mode (default-value 'electric-quote-mode)) |
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index bbff34db804..62330fca71b 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -1870,7 +1870,7 @@ function at point for which PREDICATE returns non-nil)." | |||
| 1870 | (if (equal function "") | 1870 | (if (equal function "") |
| 1871 | (if (ad-is-advised default) | 1871 | (if (ad-is-advised default) |
| 1872 | default | 1872 | default |
| 1873 | (error "ad-read-advised-function: ‘%s’ is not advised" default)) | 1873 | (error "ad-read-advised-function: `%s' is not advised" default)) |
| 1874 | (intern function)))) | 1874 | (intern function)))) |
| 1875 | 1875 | ||
| 1876 | (defvar ad-advice-class-completion-table | 1876 | (defvar ad-advice-class-completion-table |
| @@ -1887,7 +1887,7 @@ class of FUNCTION)." | |||
| 1887 | (cl-dolist (class ad-advice-classes) | 1887 | (cl-dolist (class ad-advice-classes) |
| 1888 | (if (ad-get-advice-info-field function class) | 1888 | (if (ad-get-advice-info-field function class) |
| 1889 | (cl-return class))) | 1889 | (cl-return class))) |
| 1890 | (error "ad-read-advice-class: ‘%s’ has no advices" function))) | 1890 | (error "ad-read-advice-class: `%s' has no advices" function))) |
| 1891 | (let ((class (completing-read | 1891 | (let ((class (completing-read |
| 1892 | (format "%s (default %s): " (or prompt "Class") default) | 1892 | (format "%s (default %s): " (or prompt "Class") default) |
| 1893 | ad-advice-class-completion-table nil t))) | 1893 | ad-advice-class-completion-table nil t))) |
| @@ -1904,7 +1904,7 @@ An optional PROMPT is used to prompt for the name." | |||
| 1904 | (ad-get-advice-info-field function class))) | 1904 | (ad-get-advice-info-field function class))) |
| 1905 | (default | 1905 | (default |
| 1906 | (if (null name-completion-table) | 1906 | (if (null name-completion-table) |
| 1907 | (error "ad-read-advice-name: ‘%s’ has no %s advice" | 1907 | (error "ad-read-advice-name: `%s' has no %s advice" |
| 1908 | function class) | 1908 | function class) |
| 1909 | (car (car name-completion-table)))) | 1909 | (car (car name-completion-table)))) |
| 1910 | (prompt (format "%s (default %s): " (or prompt "Name") default)) | 1910 | (prompt (format "%s (default %s): " (or prompt "Name") default)) |
| @@ -1995,9 +1995,9 @@ FUNCTION was not advised)." | |||
| 1995 | (interactive (ad-read-advice-specification "Enable advice of")) | 1995 | (interactive (ad-read-advice-specification "Enable advice of")) |
| 1996 | (if (ad-is-advised function) | 1996 | (if (ad-is-advised function) |
| 1997 | (if (eq (ad-enable-advice-internal function class name t) 0) | 1997 | (if (eq (ad-enable-advice-internal function class name t) 0) |
| 1998 | (error "ad-enable-advice: ‘%s’ has no %s advice matching ‘%s’" | 1998 | (error "ad-enable-advice: `%s' has no %s advice matching `%s'" |
| 1999 | function class name)) | 1999 | function class name)) |
| 2000 | (error "ad-enable-advice: ‘%s’ is not advised" function))) | 2000 | (error "ad-enable-advice: `%s' is not advised" function))) |
| 2001 | 2001 | ||
| 2002 | ;;;###autoload | 2002 | ;;;###autoload |
| 2003 | (defun ad-disable-advice (function class name) | 2003 | (defun ad-disable-advice (function class name) |
| @@ -2005,9 +2005,9 @@ FUNCTION was not advised)." | |||
| 2005 | (interactive (ad-read-advice-specification "Disable advice of")) | 2005 | (interactive (ad-read-advice-specification "Disable advice of")) |
| 2006 | (if (ad-is-advised function) | 2006 | (if (ad-is-advised function) |
| 2007 | (if (eq (ad-enable-advice-internal function class name nil) 0) | 2007 | (if (eq (ad-enable-advice-internal function class name nil) 0) |
| 2008 | (error "ad-disable-advice: ‘%s’ has no %s advice matching ‘%s’" | 2008 | (error "ad-disable-advice: `%s' has no %s advice matching `%s'" |
| 2009 | function class name)) | 2009 | function class name)) |
| 2010 | (error "ad-disable-advice: ‘%s’ is not advised" function))) | 2010 | (error "ad-disable-advice: `%s' is not advised" function))) |
| 2011 | 2011 | ||
| 2012 | (defun ad-enable-regexp-internal (regexp class flag) | 2012 | (defun ad-enable-regexp-internal (regexp class flag) |
| 2013 | "Set enable FLAGs of all CLASS advices whose name contains a REGEXP match. | 2013 | "Set enable FLAGs of all CLASS advices whose name contains a REGEXP match. |
| @@ -2053,9 +2053,9 @@ in that CLASS." | |||
| 2053 | (ad-set-advice-info-field | 2053 | (ad-set-advice-info-field |
| 2054 | function class | 2054 | function class |
| 2055 | (delq advice-to-remove (ad-get-advice-info-field function class))) | 2055 | (delq advice-to-remove (ad-get-advice-info-field function class))) |
| 2056 | (error "ad-remove-advice: ‘%s’ has no %s advice ‘%s’" | 2056 | (error "ad-remove-advice: `%s' has no %s advice `%s'" |
| 2057 | function class name))) | 2057 | function class name))) |
| 2058 | (error "ad-remove-advice: ‘%s’ is not advised" function))) | 2058 | (error "ad-remove-advice: `%s' is not advised" function))) |
| 2059 | 2059 | ||
| 2060 | ;;;###autoload | 2060 | ;;;###autoload |
| 2061 | (defun ad-add-advice (function advice class position) | 2061 | (defun ad-add-advice (function advice class position) |
| @@ -2319,7 +2319,7 @@ INDEX counts from zero." | |||
| 2319 | ,value-form)) | 2319 | ,value-form)) |
| 2320 | (argument-access | 2320 | (argument-access |
| 2321 | `(setq ,argument-access ,value-form)) | 2321 | `(setq ,argument-access ,value-form)) |
| 2322 | (t (error "ad-set-argument: No argument at position %d of ‘%s’" | 2322 | (t (error "ad-set-argument: No argument at position %d of `%s'" |
| 2323 | index arglist))))) | 2323 | index arglist))))) |
| 2324 | 2324 | ||
| 2325 | (defun ad-get-arguments (arglist index) | 2325 | (defun ad-get-arguments (arglist index) |
| @@ -2361,7 +2361,7 @@ The assignment starts at position INDEX." | |||
| 2361 | (setq index (1+ index)) | 2361 | (setq index (1+ index)) |
| 2362 | (setq values-index (1+ values-index))) | 2362 | (setq values-index (1+ values-index))) |
| 2363 | (if (null set-forms) | 2363 | (if (null set-forms) |
| 2364 | (error "ad-set-arguments: No argument at position %d of ‘%s’" | 2364 | (error "ad-set-arguments: No argument at position %d of `%s'" |
| 2365 | index arglist) | 2365 | index arglist) |
| 2366 | (if (= (length set-forms) 1) | 2366 | (if (= (length set-forms) 1) |
| 2367 | ;; For exactly one set-form we can use values-form directly,... | 2367 | ;; For exactly one set-form we can use values-form directly,... |
| @@ -2412,14 +2412,14 @@ The assignment starts at position INDEX." | |||
| 2412 | ;; The mapping should work for any two argument lists. | 2412 | ;; The mapping should work for any two argument lists. |
| 2413 | 2413 | ||
| 2414 | (defun ad-map-arglists (source-arglist target-arglist) | 2414 | (defun ad-map-arglists (source-arglist target-arglist) |
| 2415 | "Make ‘funcall/apply’ form to map SOURCE-ARGLIST to TARGET-ARGLIST. | 2415 | "Make `funcall/apply' form to map SOURCE-ARGLIST to TARGET-ARGLIST. |
| 2416 | The arguments supplied to TARGET-ARGLIST will be taken from SOURCE-ARGLIST just | 2416 | The arguments supplied to TARGET-ARGLIST will be taken from SOURCE-ARGLIST just |
| 2417 | as if they had been supplied to a function with TARGET-ARGLIST directly. | 2417 | as if they had been supplied to a function with TARGET-ARGLIST directly. |
| 2418 | Excess source arguments will be neglected, missing source arguments will be | 2418 | Excess source arguments will be neglected, missing source arguments will be |
| 2419 | supplied as nil. Returns a ‘funcall’ or ‘apply’ form with the second element | 2419 | supplied as nil. Returns a `funcall' or `apply' form with the second element |
| 2420 | being ‘function’ which has to be replaced by an actual function argument. | 2420 | being `function' which has to be replaced by an actual function argument. |
| 2421 | Example: ‘(ad-map-arglists '(a &rest args) '(w x y z))’ will return | 2421 | Example: (ad-map-arglists '(a &rest args) '(w x y z)) will return |
| 2422 | ‘(funcall ad--addoit-function a (car args) (car (cdr args)) (nth 2 args))’." | 2422 | (funcall ad--addoit-function a (car args) (car (cdr args)) (nth 2 args))." |
| 2423 | (let* ((parsed-source-arglist (ad-parse-arglist source-arglist)) | 2423 | (let* ((parsed-source-arglist (ad-parse-arglist source-arglist)) |
| 2424 | (source-reqopt-args (append (nth 0 parsed-source-arglist) | 2424 | (source-reqopt-args (append (nth 0 parsed-source-arglist) |
| 2425 | (nth 1 parsed-source-arglist))) | 2425 | (nth 1 parsed-source-arglist))) |
| @@ -2911,14 +2911,14 @@ the value of `ad-redefinition-action' and de/activate again." | |||
| 2911 | (if (not (eq current-definition original-definition)) | 2911 | (if (not (eq current-definition original-definition)) |
| 2912 | ;; We have a redefinition: | 2912 | ;; We have a redefinition: |
| 2913 | (if (not (memq ad-redefinition-action '(accept discard warn))) | 2913 | (if (not (memq ad-redefinition-action '(accept discard warn))) |
| 2914 | (error "ad-redefinition-action: ‘%s’ %s" | 2914 | (error "ad-redefinition-action: `%s' %s" |
| 2915 | function "invalidly redefined") | 2915 | function "invalidly redefined") |
| 2916 | (if (eq ad-redefinition-action 'discard) | 2916 | (if (eq ad-redefinition-action 'discard) |
| 2917 | nil ;; Just drop it! | 2917 | nil ;; Just drop it! |
| 2918 | (funcall (or fsetfun #'fset) function newdef) | 2918 | (funcall (or fsetfun #'fset) function newdef) |
| 2919 | (ad-activate-internal function) | 2919 | (ad-activate-internal function) |
| 2920 | (if (eq ad-redefinition-action 'warn) | 2920 | (if (eq ad-redefinition-action 'warn) |
| 2921 | (message "ad-handle-definition: ‘%s’ got redefined" | 2921 | (message "ad-handle-definition: `%s' got redefined" |
| 2922 | function)))) | 2922 | function)))) |
| 2923 | ;; either advised def or correct original is in place: | 2923 | ;; either advised def or correct original is in place: |
| 2924 | nil) | 2924 | nil) |
| @@ -2953,7 +2953,7 @@ definition will always be cached for later usage." | |||
| 2953 | current-prefix-arg)) | 2953 | current-prefix-arg)) |
| 2954 | (cond | 2954 | (cond |
| 2955 | ((not (ad-is-advised function)) | 2955 | ((not (ad-is-advised function)) |
| 2956 | (error "ad-activate: ‘%s’ is not advised" function)) | 2956 | (error "ad-activate: `%s' is not advised" function)) |
| 2957 | ;; Just return for forward advised and not yet defined functions: | 2957 | ;; Just return for forward advised and not yet defined functions: |
| 2958 | ((not (ad-get-orig-definition function)) nil) | 2958 | ((not (ad-get-orig-definition function)) nil) |
| 2959 | ((not (ad-has-any-advice function)) (ad-unadvise function)) | 2959 | ((not (ad-has-any-advice function)) (ad-unadvise function)) |
| @@ -2977,10 +2977,10 @@ a call to `ad-activate'." | |||
| 2977 | (interactive | 2977 | (interactive |
| 2978 | (list (ad-read-advised-function "Deactivate advice of" 'ad-is-active))) | 2978 | (list (ad-read-advised-function "Deactivate advice of" 'ad-is-active))) |
| 2979 | (if (not (ad-is-advised function)) | 2979 | (if (not (ad-is-advised function)) |
| 2980 | (error "ad-deactivate: ‘%s’ is not advised" function) | 2980 | (error "ad-deactivate: `%s' is not advised" function) |
| 2981 | (cond ((ad-is-active function) | 2981 | (cond ((ad-is-active function) |
| 2982 | (if (not (ad-get-orig-definition function)) | 2982 | (if (not (ad-get-orig-definition function)) |
| 2983 | (error "ad-deactivate: ‘%s’ has no original definition" | 2983 | (error "ad-deactivate: `%s' has no original definition" |
| 2984 | function) | 2984 | function) |
| 2985 | (ad-clear-advicefunname-definition function) | 2985 | (ad-clear-advicefunname-definition function) |
| 2986 | (ad-set-advice-info-field function 'active nil) | 2986 | (ad-set-advice-info-field function 'active nil) |
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el index 716e1c69c7b..c3c61d6c81e 100644 --- a/lisp/emacs-lisp/byte-opt.el +++ b/lisp/emacs-lisp/byte-opt.el | |||
| @@ -255,11 +255,11 @@ | |||
| 255 | (cdr (assq name byte-compile-function-environment))))) | 255 | (cdr (assq name byte-compile-function-environment))))) |
| 256 | (pcase fn | 256 | (pcase fn |
| 257 | (`nil | 257 | (`nil |
| 258 | (byte-compile-warn "attempt to inline ‘%s’ before it was defined" | 258 | (byte-compile-warn "attempt to inline `%s' before it was defined" |
| 259 | name) | 259 | name) |
| 260 | form) | 260 | form) |
| 261 | (`(autoload . ,_) | 261 | (`(autoload . ,_) |
| 262 | (error "File ‘%s’ didn't define ‘%s’" (nth 1 fn) name)) | 262 | (error "File `%s' didn't define `%s'" (nth 1 fn) name)) |
| 263 | ((and (pred symbolp) (guard (not (eq fn t)))) ;A function alias. | 263 | ((and (pred symbolp) (guard (not (eq fn t)))) ;A function alias. |
| 264 | (byte-compile-inline-expand (cons fn (cdr form)))) | 264 | (byte-compile-inline-expand (cons fn (cdr form)))) |
| 265 | ((pred byte-code-function-p) | 265 | ((pred byte-code-function-p) |
| @@ -336,7 +336,7 @@ | |||
| 336 | bindings) | 336 | bindings) |
| 337 | values nil)) | 337 | values nil)) |
| 338 | ((and (not optionalp) (null values)) | 338 | ((and (not optionalp) (null values)) |
| 339 | (byte-compile-warn "attempt to open-code ‘%s’ with too few arguments" name) | 339 | (byte-compile-warn "attempt to open-code `%s' with too few arguments" name) |
| 340 | (setq arglist nil values 'too-few)) | 340 | (setq arglist nil values 'too-few)) |
| 341 | (t | 341 | (t |
| 342 | (setq bindings (cons (list (car arglist) (car values)) | 342 | (setq bindings (cons (list (car arglist) (car values)) |
| @@ -347,7 +347,7 @@ | |||
| 347 | (progn | 347 | (progn |
| 348 | (or (eq values 'too-few) | 348 | (or (eq values 'too-few) |
| 349 | (byte-compile-warn | 349 | (byte-compile-warn |
| 350 | "attempt to open-code ‘%s’ with too many arguments" name)) | 350 | "attempt to open-code `%s' with too many arguments" name)) |
| 351 | form) | 351 | form) |
| 352 | 352 | ||
| 353 | ;; The following leads to infinite recursion when loading a | 353 | ;; The following leads to infinite recursion when loading a |
| @@ -383,7 +383,7 @@ | |||
| 383 | form)) | 383 | form)) |
| 384 | ((eq fn 'quote) | 384 | ((eq fn 'quote) |
| 385 | (if (cdr (cdr form)) | 385 | (if (cdr (cdr form)) |
| 386 | (byte-compile-warn "malformed quote form: ‘%s’" | 386 | (byte-compile-warn "malformed quote form: `%s'" |
| 387 | (prin1-to-string form))) | 387 | (prin1-to-string form))) |
| 388 | ;; map (quote nil) to nil to simplify optimizer logic. | 388 | ;; map (quote nil) to nil to simplify optimizer logic. |
| 389 | ;; map quoted constants to nil if for-effect (just because). | 389 | ;; map quoted constants to nil if for-effect (just because). |
| @@ -407,7 +407,7 @@ | |||
| 407 | (if (symbolp binding) | 407 | (if (symbolp binding) |
| 408 | binding | 408 | binding |
| 409 | (if (cdr (cdr binding)) | 409 | (if (cdr (cdr binding)) |
| 410 | (byte-compile-warn "malformed let binding: ‘%s’" | 410 | (byte-compile-warn "malformed let binding: `%s'" |
| 411 | (prin1-to-string binding))) | 411 | (prin1-to-string binding))) |
| 412 | (list (car binding) | 412 | (list (car binding) |
| 413 | (byte-optimize-form (nth 1 binding) nil)))) | 413 | (byte-optimize-form (nth 1 binding) nil)))) |
| @@ -420,7 +420,7 @@ | |||
| 420 | (cons | 420 | (cons |
| 421 | (byte-optimize-form (car clause) nil) | 421 | (byte-optimize-form (car clause) nil) |
| 422 | (byte-optimize-body (cdr clause) for-effect)) | 422 | (byte-optimize-body (cdr clause) for-effect)) |
| 423 | (byte-compile-warn "malformed cond form: ‘%s’" | 423 | (byte-compile-warn "malformed cond form: `%s'" |
| 424 | (prin1-to-string clause)) | 424 | (prin1-to-string clause)) |
| 425 | clause)) | 425 | clause)) |
| 426 | (cdr form)))) | 426 | (cdr form)))) |
| @@ -457,7 +457,7 @@ | |||
| 457 | 457 | ||
| 458 | ((eq fn 'if) | 458 | ((eq fn 'if) |
| 459 | (when (< (length form) 3) | 459 | (when (< (length form) 3) |
| 460 | (byte-compile-warn "too few arguments for ‘if’")) | 460 | (byte-compile-warn "too few arguments for `if'")) |
| 461 | (cons fn | 461 | (cons fn |
| 462 | (cons (byte-optimize-form (nth 1 form) nil) | 462 | (cons (byte-optimize-form (nth 1 form) nil) |
| 463 | (cons | 463 | (cons |
| @@ -485,7 +485,7 @@ | |||
| 485 | (cons fn (mapcar 'byte-optimize-form (cdr form))))) | 485 | (cons fn (mapcar 'byte-optimize-form (cdr form))))) |
| 486 | 486 | ||
| 487 | ((eq fn 'interactive) | 487 | ((eq fn 'interactive) |
| 488 | (byte-compile-warn "misplaced interactive spec: ‘%s’" | 488 | (byte-compile-warn "misplaced interactive spec: `%s'" |
| 489 | (prin1-to-string form)) | 489 | (prin1-to-string form)) |
| 490 | nil) | 490 | nil) |
| 491 | 491 | ||
| @@ -539,7 +539,7 @@ | |||
| 539 | (cons fn (mapcar #'byte-optimize-form (cdr form)))) | 539 | (cons fn (mapcar #'byte-optimize-form (cdr form)))) |
| 540 | 540 | ||
| 541 | ((not (symbolp fn)) | 541 | ((not (symbolp fn)) |
| 542 | (byte-compile-warn "‘%s’ is a malformed function" | 542 | (byte-compile-warn "`%s' is a malformed function" |
| 543 | (prin1-to-string fn)) | 543 | (prin1-to-string fn)) |
| 544 | form) | 544 | form) |
| 545 | 545 | ||
| @@ -1054,7 +1054,7 @@ | |||
| 1054 | 1054 | ||
| 1055 | (defun byte-optimize-while (form) | 1055 | (defun byte-optimize-while (form) |
| 1056 | (when (< (length form) 2) | 1056 | (when (< (length form) 2) |
| 1057 | (byte-compile-warn "too few arguments for ‘while’")) | 1057 | (byte-compile-warn "too few arguments for `while'")) |
| 1058 | (if (nth 1 form) | 1058 | (if (nth 1 form) |
| 1059 | form)) | 1059 | form)) |
| 1060 | 1060 | ||
| @@ -1090,7 +1090,7 @@ | |||
| 1090 | (nconc (list 'funcall fn) butlast | 1090 | (nconc (list 'funcall fn) butlast |
| 1091 | (mapcar (lambda (x) (list 'quote x)) (nth 1 last)))) | 1091 | (mapcar (lambda (x) (list 'quote x)) (nth 1 last)))) |
| 1092 | (byte-compile-warn | 1092 | (byte-compile-warn |
| 1093 | "last arg to apply can't be a literal atom: ‘%s’" | 1093 | "last arg to apply can't be a literal atom: `%s'" |
| 1094 | (prin1-to-string last)) | 1094 | (prin1-to-string last)) |
| 1095 | nil)) | 1095 | nil)) |
| 1096 | form))) | 1096 | form))) |
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 3c561db4b81..73c2977e8eb 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el | |||
| @@ -267,7 +267,7 @@ The return value is undefined. | |||
| 267 | (cdr body) | 267 | (cdr body) |
| 268 | body))) | 268 | body))) |
| 269 | nil) | 269 | nil) |
| 270 | (t (message "Warning: Unknown defun property ‘%S’ in %S" | 270 | (t (message "Warning: Unknown defun property `%S' in %S" |
| 271 | (car x) name))))) | 271 | (car x) name))))) |
| 272 | decls)) | 272 | decls)) |
| 273 | (def (list 'defalias | 273 | (def (list 'defalias |
| @@ -317,7 +317,7 @@ The return value is undefined. | |||
| 317 | (declare (debug defun) (doc-string 3)) | 317 | (declare (debug defun) (doc-string 3)) |
| 318 | (or (memq (get name 'byte-optimizer) | 318 | (or (memq (get name 'byte-optimizer) |
| 319 | '(nil byte-compile-inline-expand)) | 319 | '(nil byte-compile-inline-expand)) |
| 320 | (error "‘%s’ is a primitive" name)) | 320 | (error "`%s' is a primitive" name)) |
| 321 | `(prog1 | 321 | `(prog1 |
| 322 | (defun ,name ,arglist ,@body) | 322 | (defun ,name ,arglist ,@body) |
| 323 | (eval-and-compile | 323 | (eval-and-compile |
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 9edb8d7122c..279ffa37b7e 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -814,7 +814,7 @@ CONST2 may be evaluated multiple times." | |||
| 814 | off (cdr lap-entry)) | 814 | off (cdr lap-entry)) |
| 815 | (cond | 815 | (cond |
| 816 | ((not (symbolp op)) | 816 | ((not (symbolp op)) |
| 817 | (error "Non-symbolic opcode ‘%s’" op)) | 817 | (error "Non-symbolic opcode `%s'" op)) |
| 818 | ((eq op 'TAG) | 818 | ((eq op 'TAG) |
| 819 | (setcar off pc)) | 819 | (setcar off pc)) |
| 820 | (t | 820 | (t |
| @@ -1120,7 +1120,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'." | |||
| 1120 | pt) | 1120 | pt) |
| 1121 | (when dir | 1121 | (when dir |
| 1122 | (unless was-same | 1122 | (unless was-same |
| 1123 | (insert (format-message "Leaving directory ‘%s’\n" | 1123 | (insert (format-message "Leaving directory `%s'\n" |
| 1124 | default-directory)))) | 1124 | default-directory)))) |
| 1125 | (unless (bolp) | 1125 | (unless (bolp) |
| 1126 | (insert "\n")) | 1126 | (insert "\n")) |
| @@ -1136,7 +1136,7 @@ Each function's symbol gets added to `byte-compile-noruntime-functions'." | |||
| 1136 | (when dir | 1136 | (when dir |
| 1137 | (setq default-directory dir) | 1137 | (setq default-directory dir) |
| 1138 | (unless was-same | 1138 | (unless was-same |
| 1139 | (insert (format-message "Entering directory ‘%s’\n" | 1139 | (insert (format-message "Entering directory `%s'\n" |
| 1140 | default-directory)))) | 1140 | default-directory)))) |
| 1141 | (setq byte-compile-last-logged-file byte-compile-current-file | 1141 | (setq byte-compile-last-logged-file byte-compile-current-file |
| 1142 | byte-compile-last-warned-form nil) | 1142 | byte-compile-last-warned-form nil) |
| @@ -1339,7 +1339,7 @@ extra args." | |||
| 1339 | (nargs (- (length form) 2))) | 1339 | (nargs (- (length form) 2))) |
| 1340 | (unless (= nargs nfields) | 1340 | (unless (= nargs nfields) |
| 1341 | (byte-compile-warn | 1341 | (byte-compile-warn |
| 1342 | "‘%s’ called with %d args to fill %d format field(s)" (car form) | 1342 | "`%s' called with %d args to fill %d format field(s)" (car form) |
| 1343 | nargs nfields))))) | 1343 | nargs nfields))))) |
| 1344 | 1344 | ||
| 1345 | (dolist (elt '(format message error)) | 1345 | (dolist (elt '(format message error)) |
| @@ -1359,7 +1359,7 @@ extra args." | |||
| 1359 | (plist-get keyword-args :group) | 1359 | (plist-get keyword-args :group) |
| 1360 | (not (and (consp name) (eq (car name) 'quote))) | 1360 | (not (and (consp name) (eq (car name) 'quote))) |
| 1361 | (byte-compile-warn | 1361 | (byte-compile-warn |
| 1362 | "%s for ‘%s’ fails to specify containing group" | 1362 | "%s for `%s' fails to specify containing group" |
| 1363 | (cdr (assq (car form) | 1363 | (cdr (assq (car form) |
| 1364 | '((custom-declare-group . defgroup) | 1364 | '((custom-declare-group . defgroup) |
| 1365 | (custom-declare-face . defface) | 1365 | (custom-declare-face . defface) |
| @@ -1378,7 +1378,7 @@ extra args." | |||
| 1378 | (let ((calls (assq name byte-compile-unresolved-functions)) | 1378 | (let ((calls (assq name byte-compile-unresolved-functions)) |
| 1379 | nums sig min max) | 1379 | nums sig min max) |
| 1380 | (when (and calls macrop) | 1380 | (when (and calls macrop) |
| 1381 | (byte-compile-warn "macro ‘%s’ defined too late" name)) | 1381 | (byte-compile-warn "macro `%s' defined too late" name)) |
| 1382 | (setq byte-compile-unresolved-functions | 1382 | (setq byte-compile-unresolved-functions |
| 1383 | (delq calls byte-compile-unresolved-functions)) | 1383 | (delq calls byte-compile-unresolved-functions)) |
| 1384 | (setq calls (delq t calls)) ;Ignore higher-order uses of the function. | 1384 | (setq calls (delq t calls)) ;Ignore higher-order uses of the function. |
| @@ -1386,7 +1386,7 @@ extra args." | |||
| 1386 | (when (and (symbolp name) | 1386 | (when (and (symbolp name) |
| 1387 | (eq (function-get name 'byte-optimizer) | 1387 | (eq (function-get name 'byte-optimizer) |
| 1388 | 'byte-compile-inline-expand)) | 1388 | 'byte-compile-inline-expand)) |
| 1389 | (byte-compile-warn "defsubst ‘%s’ was used before it was defined" | 1389 | (byte-compile-warn "defsubst `%s' was used before it was defined" |
| 1390 | name)) | 1390 | name)) |
| 1391 | (setq sig (byte-compile-arglist-signature arglist) | 1391 | (setq sig (byte-compile-arglist-signature arglist) |
| 1392 | nums (sort (copy-sequence (cdr calls)) (function <)) | 1392 | nums (sort (copy-sequence (cdr calls)) (function <)) |
| @@ -1465,7 +1465,7 @@ extra args." | |||
| 1465 | ;; so don't warn about them. | 1465 | ;; so don't warn about them. |
| 1466 | macroexpand | 1466 | macroexpand |
| 1467 | cl--compiling-file)))) | 1467 | cl--compiling-file)))) |
| 1468 | (byte-compile-warn "function ‘%s’ from cl package called at runtime" | 1468 | (byte-compile-warn "function `%s' from cl package called at runtime" |
| 1469 | func))) | 1469 | func))) |
| 1470 | form) | 1470 | form) |
| 1471 | 1471 | ||
| @@ -1507,12 +1507,12 @@ extra args." | |||
| 1507 | (if (fboundp f) (push f noruntime) (push f unresolved))) | 1507 | (if (fboundp f) (push f noruntime) (push f unresolved))) |
| 1508 | ;; Complain about the no-run-time functions | 1508 | ;; Complain about the no-run-time functions |
| 1509 | (byte-compile-print-syms | 1509 | (byte-compile-print-syms |
| 1510 | "the function ‘%s’ might not be defined at runtime." | 1510 | "the function `%s' might not be defined at runtime." |
| 1511 | "the following functions might not be defined at runtime:" | 1511 | "the following functions might not be defined at runtime:" |
| 1512 | noruntime) | 1512 | noruntime) |
| 1513 | ;; Complain about the unresolved functions | 1513 | ;; Complain about the unresolved functions |
| 1514 | (byte-compile-print-syms | 1514 | (byte-compile-print-syms |
| 1515 | "the function ‘%s’ is not known to be defined." | 1515 | "the function `%s' is not known to be defined." |
| 1516 | "the following functions are not known to be defined:" | 1516 | "the following functions are not known to be defined:" |
| 1517 | unresolved))) | 1517 | unresolved))) |
| 1518 | nil) | 1518 | nil) |
| @@ -1818,7 +1818,7 @@ The value is non-nil if there were no errors, nil if errors." | |||
| 1818 | ;; (byte-compile-abbreviate-file filename) | 1818 | ;; (byte-compile-abbreviate-file filename) |
| 1819 | ;; (with-current-buffer input-buffer no-byte-compile)) | 1819 | ;; (with-current-buffer input-buffer no-byte-compile)) |
| 1820 | (when (file-exists-p target-file) | 1820 | (when (file-exists-p target-file) |
| 1821 | (message "%s deleted because of ‘no-byte-compile: %s’" | 1821 | (message "%s deleted because of `no-byte-compile: %s'" |
| 1822 | (byte-compile-abbreviate-file target-file) | 1822 | (byte-compile-abbreviate-file target-file) |
| 1823 | (buffer-local-value 'no-byte-compile input-buffer)) | 1823 | (buffer-local-value 'no-byte-compile input-buffer)) |
| 1824 | (condition-case nil (delete-file target-file) (error nil))) | 1824 | (condition-case nil (delete-file target-file) (error nil))) |
| @@ -2301,12 +2301,12 @@ list that represents a doc string reference. | |||
| 2301 | (when (and (symbolp sym) | 2301 | (when (and (symbolp sym) |
| 2302 | (not (string-match "[-*/:$]" (symbol-name sym))) | 2302 | (not (string-match "[-*/:$]" (symbol-name sym))) |
| 2303 | (byte-compile-warning-enabled-p 'lexical)) | 2303 | (byte-compile-warning-enabled-p 'lexical)) |
| 2304 | (byte-compile-warn "global/dynamic var ‘%s’ lacks a prefix" | 2304 | (byte-compile-warn "global/dynamic var `%s' lacks a prefix" |
| 2305 | sym)) | 2305 | sym)) |
| 2306 | (when (memq sym byte-compile-lexical-variables) | 2306 | (when (memq sym byte-compile-lexical-variables) |
| 2307 | (setq byte-compile-lexical-variables | 2307 | (setq byte-compile-lexical-variables |
| 2308 | (delq sym byte-compile-lexical-variables)) | 2308 | (delq sym byte-compile-lexical-variables)) |
| 2309 | (byte-compile-warn "Variable ‘%S’ declared after its first use" sym)) | 2309 | (byte-compile-warn "Variable `%S' declared after its first use" sym)) |
| 2310 | (push sym byte-compile-bound-variables)) | 2310 | (push sym byte-compile-bound-variables)) |
| 2311 | 2311 | ||
| 2312 | (defun byte-compile-file-form-defvar (form) | 2312 | (defun byte-compile-file-form-defvar (form) |
| @@ -2423,7 +2423,7 @@ not to take responsibility for the actual compilation of the code." | |||
| 2423 | ;; Don't warn when compiling the stubs in byte-run... | 2423 | ;; Don't warn when compiling the stubs in byte-run... |
| 2424 | (not (assq name byte-compile-initial-macro-environment))) | 2424 | (not (assq name byte-compile-initial-macro-environment))) |
| 2425 | (byte-compile-warn | 2425 | (byte-compile-warn |
| 2426 | "‘%s’ defined multiple times, as both function and macro" | 2426 | "`%s' defined multiple times, as both function and macro" |
| 2427 | name)) | 2427 | name)) |
| 2428 | (setcdr that-one nil)) | 2428 | (setcdr that-one nil)) |
| 2429 | (this-one | 2429 | (this-one |
| @@ -2431,13 +2431,13 @@ not to take responsibility for the actual compilation of the code." | |||
| 2431 | ;; Hack: Don't warn when compiling the magic internal | 2431 | ;; Hack: Don't warn when compiling the magic internal |
| 2432 | ;; byte-compiler macros in byte-run.el... | 2432 | ;; byte-compiler macros in byte-run.el... |
| 2433 | (not (assq name byte-compile-initial-macro-environment))) | 2433 | (not (assq name byte-compile-initial-macro-environment))) |
| 2434 | (byte-compile-warn "%s ‘%s’ defined multiple times in this file" | 2434 | (byte-compile-warn "%s `%s' defined multiple times in this file" |
| 2435 | (if macro "macro" "function") | 2435 | (if macro "macro" "function") |
| 2436 | name))) | 2436 | name))) |
| 2437 | ((eq (car-safe (symbol-function name)) | 2437 | ((eq (car-safe (symbol-function name)) |
| 2438 | (if macro 'lambda 'macro)) | 2438 | (if macro 'lambda 'macro)) |
| 2439 | (when (byte-compile-warning-enabled-p 'redefine) | 2439 | (when (byte-compile-warning-enabled-p 'redefine) |
| 2440 | (byte-compile-warn "%s ‘%s’ being redefined as a %s" | 2440 | (byte-compile-warn "%s `%s' being redefined as a %s" |
| 2441 | (if macro "function" "macro") | 2441 | (if macro "function" "macro") |
| 2442 | name | 2442 | name |
| 2443 | (if macro "macro" "function"))) | 2443 | (if macro "macro" "function"))) |
| @@ -2454,7 +2454,7 @@ not to take responsibility for the actual compilation of the code." | |||
| 2454 | (stringp (car-safe (cdr-safe (cdr-safe body))))) | 2454 | (stringp (car-safe (cdr-safe (cdr-safe body))))) |
| 2455 | ;; FIXME: We've done that already just above, so this looks wrong! | 2455 | ;; FIXME: We've done that already just above, so this looks wrong! |
| 2456 | ;;(byte-compile-set-symbol-position name) | 2456 | ;;(byte-compile-set-symbol-position name) |
| 2457 | (byte-compile-warn "probable ‘\"’ without ‘\\’ in doc string of %s" | 2457 | (byte-compile-warn "probable `\"' without `\\' in doc string of %s" |
| 2458 | name)) | 2458 | name)) |
| 2459 | 2459 | ||
| 2460 | (if (not (listp body)) | 2460 | (if (not (listp body)) |
| @@ -2982,13 +2982,13 @@ for symbols generated by the byte compiler itself." | |||
| 2982 | (`(',var . ,_) | 2982 | (`(',var . ,_) |
| 2983 | (when (assq var byte-compile-lexical-variables) | 2983 | (when (assq var byte-compile-lexical-variables) |
| 2984 | (byte-compile-log-warning | 2984 | (byte-compile-log-warning |
| 2985 | (format-message "%s cannot use lexical var ‘%s’" fn var) | 2985 | (format-message "%s cannot use lexical var `%s'" fn var) |
| 2986 | nil :error))))) | 2986 | nil :error))))) |
| 2987 | (when (macroexp--const-symbol-p fn) | 2987 | (when (macroexp--const-symbol-p fn) |
| 2988 | (byte-compile-warn "‘%s’ called as a function" fn)) | 2988 | (byte-compile-warn "`%s' called as a function" fn)) |
| 2989 | (when (and (byte-compile-warning-enabled-p 'interactive-only) | 2989 | (when (and (byte-compile-warning-enabled-p 'interactive-only) |
| 2990 | interactive-only) | 2990 | interactive-only) |
| 2991 | (byte-compile-warn "‘%s’ is for interactive use only%s" | 2991 | (byte-compile-warn "`%s' is for interactive use only%s" |
| 2992 | fn | 2992 | fn |
| 2993 | (cond ((stringp interactive-only) | 2993 | (cond ((stringp interactive-only) |
| 2994 | (format "; %s" | 2994 | (format "; %s" |
| @@ -2996,7 +2996,7 @@ for symbols generated by the byte compiler itself." | |||
| 2996 | interactive-only))) | 2996 | interactive-only))) |
| 2997 | ((and (symbolp 'interactive-only) | 2997 | ((and (symbolp 'interactive-only) |
| 2998 | (not (eq interactive-only t))) | 2998 | (not (eq interactive-only t))) |
| 2999 | (format-message "; use ‘%s’ instead." | 2999 | (format-message "; use `%s' instead." |
| 3000 | interactive-only)) | 3000 | interactive-only)) |
| 3001 | (t ".")))) | 3001 | (t ".")))) |
| 3002 | (if (eq (car-safe (symbol-function (car form))) 'macro) | 3002 | (if (eq (car-safe (symbol-function (car form))) 'macro) |
| @@ -3041,7 +3041,7 @@ for symbols generated by the byte compiler itself." | |||
| 3041 | (byte-compile-warning-enabled-p 'mapcar)) | 3041 | (byte-compile-warning-enabled-p 'mapcar)) |
| 3042 | (byte-compile-set-symbol-position 'mapcar) | 3042 | (byte-compile-set-symbol-position 'mapcar) |
| 3043 | (byte-compile-warn | 3043 | (byte-compile-warn |
| 3044 | "‘mapcar’ called for effect; use ‘mapc’ or ‘dolist’ instead")) | 3044 | "`mapcar' called for effect; use `mapc' or `dolist' instead")) |
| 3045 | (byte-compile-push-constant (car form)) | 3045 | (byte-compile-push-constant (car form)) |
| 3046 | (mapc 'byte-compile-form (cdr form)) ; wasteful, but faster. | 3046 | (mapc 'byte-compile-form (cdr form)) ; wasteful, but faster. |
| 3047 | (byte-compile-out 'byte-call (length (cdr form)))) | 3047 | (byte-compile-out 'byte-call (length (cdr form)))) |
| @@ -3129,8 +3129,8 @@ for symbols generated by the byte compiler itself." | |||
| 3129 | (cond ((or (not (symbolp var)) (macroexp--const-symbol-p var)) | 3129 | (cond ((or (not (symbolp var)) (macroexp--const-symbol-p var)) |
| 3130 | (when (byte-compile-warning-enabled-p 'constants) | 3130 | (when (byte-compile-warning-enabled-p 'constants) |
| 3131 | (byte-compile-warn (if (eq access-type 'let-bind) | 3131 | (byte-compile-warn (if (eq access-type 'let-bind) |
| 3132 | "attempt to let-bind %s ‘%s’" | 3132 | "attempt to let-bind %s `%s'" |
| 3133 | "variable reference to %s ‘%s’") | 3133 | "variable reference to %s `%s'") |
| 3134 | (if (symbolp var) "constant" "nonvariable") | 3134 | (if (symbolp var) "constant" "nonvariable") |
| 3135 | (prin1-to-string var)))) | 3135 | (prin1-to-string var)))) |
| 3136 | ((let ((od (get var 'byte-obsolete-variable))) | 3136 | ((let ((od (get var 'byte-obsolete-variable))) |
| @@ -3168,7 +3168,7 @@ for symbols generated by the byte compiler itself." | |||
| 3168 | (boundp var) | 3168 | (boundp var) |
| 3169 | (memq var byte-compile-bound-variables) | 3169 | (memq var byte-compile-bound-variables) |
| 3170 | (memq var byte-compile-free-references)) | 3170 | (memq var byte-compile-free-references)) |
| 3171 | (byte-compile-warn "reference to free variable ‘%S’" var) | 3171 | (byte-compile-warn "reference to free variable `%S'" var) |
| 3172 | (push var byte-compile-free-references)) | 3172 | (push var byte-compile-free-references)) |
| 3173 | (byte-compile-dynamic-variable-op 'byte-varref var)))) | 3173 | (byte-compile-dynamic-variable-op 'byte-varref var)))) |
| 3174 | 3174 | ||
| @@ -3184,7 +3184,7 @@ for symbols generated by the byte compiler itself." | |||
| 3184 | (boundp var) | 3184 | (boundp var) |
| 3185 | (memq var byte-compile-bound-variables) | 3185 | (memq var byte-compile-bound-variables) |
| 3186 | (memq var byte-compile-free-assignments)) | 3186 | (memq var byte-compile-free-assignments)) |
| 3187 | (byte-compile-warn "assignment to free variable ‘%s’" var) | 3187 | (byte-compile-warn "assignment to free variable `%s'" var) |
| 3188 | (push var byte-compile-free-assignments)) | 3188 | (push var byte-compile-free-assignments)) |
| 3189 | (byte-compile-dynamic-variable-op 'byte-varset var)))) | 3189 | (byte-compile-dynamic-variable-op 'byte-varset var)))) |
| 3190 | 3190 | ||
| @@ -3365,7 +3365,7 @@ If it is nil, then the handler is \"byte-compile-SYMBOL.\"" | |||
| 3365 | 3365 | ||
| 3366 | (defun byte-compile-subr-wrong-args (form n) | 3366 | (defun byte-compile-subr-wrong-args (form n) |
| 3367 | (byte-compile-set-symbol-position (car form)) | 3367 | (byte-compile-set-symbol-position (car form)) |
| 3368 | (byte-compile-warn "‘%s’ called with %d arg%s, but requires %s" | 3368 | (byte-compile-warn "`%s' called with %d arg%s, but requires %s" |
| 3369 | (car form) (length (cdr form)) | 3369 | (car form) (length (cdr form)) |
| 3370 | (if (= 1 (length (cdr form))) "" "s") n) | 3370 | (if (= 1 (length (cdr form))) "" "s") n) |
| 3371 | ;; Get run-time wrong-number-of-args error. | 3371 | ;; Get run-time wrong-number-of-args error. |
| @@ -3733,7 +3733,7 @@ discarding." | |||
| 3733 | (macroexp--const-symbol-p var t)) | 3733 | (macroexp--const-symbol-p var t)) |
| 3734 | (byte-compile-warning-enabled-p 'constants) | 3734 | (byte-compile-warning-enabled-p 'constants) |
| 3735 | (byte-compile-warn | 3735 | (byte-compile-warn |
| 3736 | "variable assignment to %s ‘%s’" | 3736 | "variable assignment to %s `%s'" |
| 3737 | (if (symbolp var) "constant" "nonvariable") | 3737 | (if (symbolp var) "constant" "nonvariable") |
| 3738 | (prin1-to-string var))) | 3738 | (prin1-to-string var))) |
| 3739 | (byte-compile-normal-call `(set-default ',var ,@(cdr form))))))) | 3739 | (byte-compile-normal-call `(set-default ',var ,@(cdr form))))))) |
| @@ -4107,7 +4107,7 @@ binding slots have been popped." | |||
| 4107 | (list 'not | 4107 | (list 'not |
| 4108 | (cons (or (get (car form) 'byte-compile-negated-op) | 4108 | (cons (or (get (car form) 'byte-compile-negated-op) |
| 4109 | (error | 4109 | (error |
| 4110 | "Compiler error: ‘%s’ has no ‘byte-compile-negated-op’ property" | 4110 | "Compiler error: `%s' has no `byte-compile-negated-op' property" |
| 4111 | (car form))) | 4111 | (car form))) |
| 4112 | (cdr form)))) | 4112 | (cdr form)))) |
| 4113 | 4113 | ||
| @@ -4170,7 +4170,7 @@ binding slots have been popped." | |||
| 4170 | (byte-compile-set-symbol-position 'condition-case) | 4170 | (byte-compile-set-symbol-position 'condition-case) |
| 4171 | (unless (symbolp var) | 4171 | (unless (symbolp var) |
| 4172 | (byte-compile-warn | 4172 | (byte-compile-warn |
| 4173 | "‘%s’ is not a variable-name or nil (in condition-case)" var)) | 4173 | "`%s' is not a variable-name or nil (in condition-case)" var)) |
| 4174 | (if fun-bodies (setq var (make-symbol "err"))) | 4174 | (if fun-bodies (setq var (make-symbol "err"))) |
| 4175 | (byte-compile-push-constant var) | 4175 | (byte-compile-push-constant var) |
| 4176 | (if fun-bodies | 4176 | (if fun-bodies |
| @@ -4189,7 +4189,7 @@ binding slots have been popped." | |||
| 4189 | (setq ok nil))) | 4189 | (setq ok nil))) |
| 4190 | ok)))) | 4190 | ok)))) |
| 4191 | (byte-compile-warn | 4191 | (byte-compile-warn |
| 4192 | "‘%S’ is not a condition name or list of such (in condition-case)" | 4192 | "`%S' is not a condition name or list of such (in condition-case)" |
| 4193 | condition)) | 4193 | condition)) |
| 4194 | ;; (not (or (eq condition 't) | 4194 | ;; (not (or (eq condition 't) |
| 4195 | ;; (and (stringp (get condition 'error-message)) | 4195 | ;; (and (stringp (get condition 'error-message)) |
| @@ -4222,7 +4222,7 @@ binding slots have been popped." | |||
| 4222 | (byte-compile-set-symbol-position 'condition-case) | 4222 | (byte-compile-set-symbol-position 'condition-case) |
| 4223 | (unless (symbolp var) | 4223 | (unless (symbolp var) |
| 4224 | (byte-compile-warn | 4224 | (byte-compile-warn |
| 4225 | "‘%s’ is not a variable-name or nil (in condition-case)" var)) | 4225 | "`%s' is not a variable-name or nil (in condition-case)" var)) |
| 4226 | 4226 | ||
| 4227 | (dolist (clause (reverse clauses)) | 4227 | (dolist (clause (reverse clauses)) |
| 4228 | (let ((condition (nth 1 clause))) | 4228 | (let ((condition (nth 1 clause))) |
| @@ -4230,7 +4230,7 @@ binding slots have been popped." | |||
| 4230 | (dolist (c condition) | 4230 | (dolist (c condition) |
| 4231 | (unless (and c (symbolp c)) | 4231 | (unless (and c (symbolp c)) |
| 4232 | (byte-compile-warn | 4232 | (byte-compile-warn |
| 4233 | "‘%S’ is not a condition name (in condition-case)" c)) | 4233 | "`%S' is not a condition name (in condition-case)" c)) |
| 4234 | ;; In reality, the `error-conditions' property is only required | 4234 | ;; In reality, the `error-conditions' property is only required |
| 4235 | ;; for the argument to `signal', not to `condition-case'. | 4235 | ;; for the argument to `signal', not to `condition-case'. |
| 4236 | ;;(unless (consp (get c 'error-conditions)) | 4236 | ;;(unless (consp (get c 'error-conditions)) |
| @@ -4272,7 +4272,7 @@ binding slots have been popped." | |||
| 4272 | (if (and (eq 'set-buffer (car-safe (car-safe (cdr form)))) | 4272 | (if (and (eq 'set-buffer (car-safe (car-safe (cdr form)))) |
| 4273 | (byte-compile-warning-enabled-p 'suspicious)) | 4273 | (byte-compile-warning-enabled-p 'suspicious)) |
| 4274 | (byte-compile-warn | 4274 | (byte-compile-warn |
| 4275 | "Use ‘with-current-buffer’ rather than save-excursion+set-buffer")) | 4275 | "Use `with-current-buffer' rather than save-excursion+set-buffer")) |
| 4276 | (byte-compile-out 'byte-save-excursion 0) | 4276 | (byte-compile-out 'byte-save-excursion 0) |
| 4277 | (byte-compile-body-do-effect (cdr form)) | 4277 | (byte-compile-body-do-effect (cdr form)) |
| 4278 | (byte-compile-out 'byte-unbind 1)) | 4278 | (byte-compile-out 'byte-unbind 1)) |
| @@ -4312,7 +4312,7 @@ binding slots have been popped." | |||
| 4312 | (when (and (symbolp (nth 1 form)) | 4312 | (when (and (symbolp (nth 1 form)) |
| 4313 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) | 4313 | (not (string-match "[-*/:$]" (symbol-name (nth 1 form)))) |
| 4314 | (byte-compile-warning-enabled-p 'lexical)) | 4314 | (byte-compile-warning-enabled-p 'lexical)) |
| 4315 | (byte-compile-warn "global/dynamic var ‘%s’ lacks a prefix" | 4315 | (byte-compile-warn "global/dynamic var `%s' lacks a prefix" |
| 4316 | (nth 1 form))) | 4316 | (nth 1 form))) |
| 4317 | (let ((fun (nth 0 form)) | 4317 | (let ((fun (nth 0 form)) |
| 4318 | (var (nth 1 form)) | 4318 | (var (nth 1 form)) |
| @@ -4323,7 +4323,7 @@ binding slots have been popped." | |||
| 4323 | (and (eq fun 'defconst) (null (cddr form)))) | 4323 | (and (eq fun 'defconst) (null (cddr form)))) |
| 4324 | (let ((ncall (length (cdr form)))) | 4324 | (let ((ncall (length (cdr form)))) |
| 4325 | (byte-compile-warn | 4325 | (byte-compile-warn |
| 4326 | "‘%s’ called with %d argument%s, but %s %s" | 4326 | "`%s' called with %d argument%s, but %s %s" |
| 4327 | fun ncall | 4327 | fun ncall |
| 4328 | (if (= 1 ncall) "" "s") | 4328 | (if (= 1 ncall) "" "s") |
| 4329 | (if (< ncall 2) "requires" "accepts only") | 4329 | (if (< ncall 2) "requires" "accepts only") |
| @@ -4332,7 +4332,7 @@ binding slots have been popped." | |||
| 4332 | (if (eq fun 'defconst) | 4332 | (if (eq fun 'defconst) |
| 4333 | (push var byte-compile-const-variables)) | 4333 | (push var byte-compile-const-variables)) |
| 4334 | (when (and string (not (stringp string))) | 4334 | (when (and string (not (stringp string))) |
| 4335 | (byte-compile-warn "third arg to ‘%s %s’ is not a string: %s" | 4335 | (byte-compile-warn "third arg to `%s %s' is not a string: %s" |
| 4336 | fun var string)) | 4336 | fun var string)) |
| 4337 | (byte-compile-form-do-effect | 4337 | (byte-compile-form-do-effect |
| 4338 | (if (cddr form) ; `value' provided | 4338 | (if (cddr form) ; `value' provided |
| @@ -4355,7 +4355,7 @@ binding slots have been popped." | |||
| 4355 | (not (fboundp (eval (nth 1 form)))) | 4355 | (not (fboundp (eval (nth 1 form)))) |
| 4356 | (byte-compile-warn | 4356 | (byte-compile-warn |
| 4357 | "The compiler ignores `autoload' except at top level. You should | 4357 | "The compiler ignores `autoload' except at top level. You should |
| 4358 | probably put the autoload of the macro ‘%s’ at top-level." | 4358 | probably put the autoload of the macro `%s' at top-level." |
| 4359 | (eval (nth 1 form)))) | 4359 | (eval (nth 1 form)))) |
| 4360 | (byte-compile-normal-call form)) | 4360 | (byte-compile-normal-call form)) |
| 4361 | 4361 | ||
| @@ -4363,7 +4363,7 @@ binding slots have been popped." | |||
| 4363 | ;; The ones that remain are errors. | 4363 | ;; The ones that remain are errors. |
| 4364 | (defun byte-compile-lambda-form (_form) | 4364 | (defun byte-compile-lambda-form (_form) |
| 4365 | (byte-compile-set-symbol-position 'lambda) | 4365 | (byte-compile-set-symbol-position 'lambda) |
| 4366 | (error "‘lambda’ used as function name is invalid")) | 4366 | (error "`lambda' used as function name is invalid")) |
| 4367 | 4367 | ||
| 4368 | ;; Compile normally, but deal with warnings for the function being defined. | 4368 | ;; Compile normally, but deal with warnings for the function being defined. |
| 4369 | (put 'defalias 'byte-hunk-handler 'byte-compile-file-form-defalias) | 4369 | (put 'defalias 'byte-hunk-handler 'byte-compile-file-form-defalias) |
| @@ -4435,7 +4435,7 @@ binding slots have been popped." | |||
| 4435 | (if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote) | 4435 | (if (and (eq (car-safe (car-safe (cdr-safe form))) 'quote) |
| 4436 | (byte-compile-warning-enabled-p 'make-local)) | 4436 | (byte-compile-warning-enabled-p 'make-local)) |
| 4437 | (byte-compile-warn | 4437 | (byte-compile-warn |
| 4438 | "‘make-variable-buffer-local’ not called at toplevel")) | 4438 | "`make-variable-buffer-local' not called at toplevel")) |
| 4439 | (byte-compile-normal-call form)) | 4439 | (byte-compile-normal-call form)) |
| 4440 | (put 'make-variable-buffer-local | 4440 | (put 'make-variable-buffer-local |
| 4441 | 'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local) | 4441 | 'byte-hunk-handler 'byte-compile-form-make-variable-buffer-local) |
| @@ -4567,7 +4567,7 @@ invoked interactively." | |||
| 4567 | (length (nth 2 y)))))) | 4567 | (length (nth 2 y)))))) |
| 4568 | (`name | 4568 | (`name |
| 4569 | (lambda (x y) (string< (car x) (car y)))) | 4569 | (lambda (x y) (string< (car x) (car y)))) |
| 4570 | (_ (error "‘byte-compile-call-tree-sort’: ‘%s’ - unknown sort mode" | 4570 | (_ (error "`byte-compile-call-tree-sort': `%s' - unknown sort mode" |
| 4571 | byte-compile-call-tree-sort)))))) | 4571 | byte-compile-call-tree-sort)))))) |
| 4572 | (message "Generating call tree...") | 4572 | (message "Generating call tree...") |
| 4573 | (let ((rest byte-compile-call-tree) | 4573 | (let ((rest byte-compile-call-tree) |
| @@ -4680,7 +4680,7 @@ already up-to-date." | |||
| 4680 | ;; startup.el. | 4680 | ;; startup.el. |
| 4681 | (defvar command-line-args-left) ;Avoid 'free variable' warning | 4681 | (defvar command-line-args-left) ;Avoid 'free variable' warning |
| 4682 | (if (not noninteractive) | 4682 | (if (not noninteractive) |
| 4683 | (error "‘batch-byte-compile’ is to be used only with -batch")) | 4683 | (error "`batch-byte-compile' is to be used only with -batch")) |
| 4684 | (let ((error nil)) | 4684 | (let ((error nil)) |
| 4685 | (while command-line-args-left | 4685 | (while command-line-args-left |
| 4686 | (if (file-directory-p (expand-file-name (car command-line-args-left))) | 4686 | (if (file-directory-p (expand-file-name (car command-line-args-left))) |
diff --git a/lisp/emacs-lisp/cconv.el b/lisp/emacs-lisp/cconv.el index a20e201add6..205ae6d711e 100644 --- a/lisp/emacs-lisp/cconv.el +++ b/lisp/emacs-lisp/cconv.el | |||
| @@ -300,7 +300,7 @@ places where they originally did not directly appear." | |||
| 300 | (prog1 binder (setq binder (list binder))) | 300 | (prog1 binder (setq binder (list binder))) |
| 301 | (when (cddr binder) | 301 | (when (cddr binder) |
| 302 | (byte-compile-log-warning | 302 | (byte-compile-log-warning |
| 303 | (format-message "Malformed ‘%S’ binding: %S" | 303 | (format-message "Malformed `%S' binding: %S" |
| 304 | letsym binder))) | 304 | letsym binder))) |
| 305 | (setq value (cadr binder)) | 305 | (setq value (cadr binder)) |
| 306 | (car binder))) | 306 | (car binder))) |
| @@ -546,7 +546,7 @@ FORM is the parent form that binds this var." | |||
| 546 | (`((,(and var (guard (eq ?_ (aref (symbol-name var) 0)))) . ,_) | 546 | (`((,(and var (guard (eq ?_ (aref (symbol-name var) 0)))) . ,_) |
| 547 | ,_ ,_ ,_ ,_) | 547 | ,_ ,_ ,_ ,_) |
| 548 | (byte-compile-log-warning | 548 | (byte-compile-log-warning |
| 549 | (format-message "%s ‘%S’ not left unused" varkind var)))) | 549 | (format-message "%s `%S' not left unused" varkind var)))) |
| 550 | (pcase vardata | 550 | (pcase vardata |
| 551 | (`((,var . ,_) nil ,_ ,_ nil) | 551 | (`((,var . ,_) nil ,_ ,_ nil) |
| 552 | ;; FIXME: This gives warnings in the wrong order, with imprecise line | 552 | ;; FIXME: This gives warnings in the wrong order, with imprecise line |
| @@ -558,7 +558,7 @@ FORM is the parent form that binds this var." | |||
| 558 | (eq ?_ (aref (symbol-name var) 0)) | 558 | (eq ?_ (aref (symbol-name var) 0)) |
| 559 | ;; As a special exception, ignore "ignore". | 559 | ;; As a special exception, ignore "ignore". |
| 560 | (eq var 'ignored)) | 560 | (eq var 'ignored)) |
| 561 | (byte-compile-log-warning (format-message "Unused lexical %s ‘%S’" | 561 | (byte-compile-log-warning (format-message "Unused lexical %s `%S'" |
| 562 | varkind var)))) | 562 | varkind var)))) |
| 563 | ;; If it's unused, there's no point converting it into a cons-cell, even if | 563 | ;; If it's unused, there's no point converting it into a cons-cell, even if |
| 564 | ;; it's captured and mutated. | 564 | ;; it's captured and mutated. |
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index d97287960a8..06601252a4c 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el | |||
| @@ -652,7 +652,7 @@ SORT-PRED if desired." | |||
| 652 | (set-buffer b) | 652 | (set-buffer b) |
| 653 | (erase-buffer) | 653 | (erase-buffer) |
| 654 | (insert "cd " d ";du -sk * \n") | 654 | (insert "cd " d ";du -sk * \n") |
| 655 | (message "Running ‘cd %s;du -sk *’..." d) | 655 | (message "Running `cd %s;du -sk *'..." d) |
| 656 | (call-process-region (point-min) (point-max) shell-file-name t | 656 | (call-process-region (point-min) (point-max) shell-file-name t |
| 657 | (current-buffer) nil) | 657 | (current-buffer) nil) |
| 658 | (goto-char (point-min)) | 658 | (goto-char (point-min)) |
diff --git a/lisp/emacs-lisp/check-declare.el b/lisp/emacs-lisp/check-declare.el index bdcb4ec00a2..3b69e959282 100644 --- a/lisp/emacs-lisp/check-declare.el +++ b/lisp/emacs-lisp/check-declare.el | |||
| @@ -106,7 +106,7 @@ don't know how to recognize (e.g. some macros)." | |||
| 106 | (symbolp (setq fileonly (nth 4 form)))) | 106 | (symbolp (setq fileonly (nth 4 form)))) |
| 107 | (setq alist (cons (list fnfile fn arglist fileonly) alist)) | 107 | (setq alist (cons (list fnfile fn arglist fileonly) alist)) |
| 108 | ;; FIXME make this more noticeable. | 108 | ;; FIXME make this more noticeable. |
| 109 | (if form (message "Malformed declaration for ‘%s’" (cadr form)))))) | 109 | (if form (message "Malformed declaration for `%s'" (cadr form)))))) |
| 110 | (message "%sdone" m) | 110 | (message "%sdone" m) |
| 111 | alist)) | 111 | alist)) |
| 112 | 112 | ||
| @@ -279,7 +279,7 @@ TYPE is a string giving the nature of the error. Warning is displayed in | |||
| 279 | entry)) | 279 | entry)) |
| 280 | (warning-fill-prefix " ")) | 280 | (warning-fill-prefix " ")) |
| 281 | (display-warning 'check-declare | 281 | (display-warning 'check-declare |
| 282 | (format-message "said ‘%s’ was defined in %s: %s" | 282 | (format-message "said `%s' was defined in %s: %s" |
| 283 | fn (file-name-nondirectory fnfile) type) | 283 | fn (file-name-nondirectory fnfile) type) |
| 284 | nil check-declare-warning-buffer))) | 284 | nil check-declare-warning-buffer))) |
| 285 | 285 | ||
| @@ -318,7 +318,7 @@ Return a list of any errors found." | |||
| 318 | See `check-declare-directory' for more information." | 318 | See `check-declare-directory' for more information." |
| 319 | (interactive "fFile to check: ") | 319 | (interactive "fFile to check: ") |
| 320 | (or (file-exists-p file) | 320 | (or (file-exists-p file) |
| 321 | (error "File ‘%s’ not found" file)) | 321 | (error "File `%s' not found" file)) |
| 322 | (let ((m (format "Checking %s..." file)) | 322 | (let ((m (format "Checking %s..." file)) |
| 323 | errlist) | 323 | errlist) |
| 324 | (message "%s" m) | 324 | (message "%s" m) |
| @@ -332,8 +332,8 @@ See `check-declare-directory' for more information." | |||
| 332 | Returns non-nil if any false statements are found." | 332 | Returns non-nil if any false statements are found." |
| 333 | (interactive "DDirectory to check: ") | 333 | (interactive "DDirectory to check: ") |
| 334 | (or (file-directory-p (setq root (expand-file-name root))) | 334 | (or (file-directory-p (setq root (expand-file-name root))) |
| 335 | (error "Directory ‘%s’ not found" root)) | 335 | (error "Directory `%s' not found" root)) |
| 336 | (let ((m "Checking ‘declare-function’ statements...") | 336 | (let ((m "Checking `declare-function' statements...") |
| 337 | (m2 "Finding files with declarations...") | 337 | (m2 "Finding files with declarations...") |
| 338 | errlist files) | 338 | errlist files) |
| 339 | (message "%s" m) | 339 | (message "%s" m) |
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index b2c81197968..4a9e16ae88e 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el | |||
| @@ -1419,7 +1419,7 @@ regexp short cuts work. FP is the function defun information." | |||
| 1419 | (when (re-search-forward "^(" e t) | 1419 | (when (re-search-forward "^(" e t) |
| 1420 | (if (checkdoc-autofix-ask-replace (match-beginning 0) | 1420 | (if (checkdoc-autofix-ask-replace (match-beginning 0) |
| 1421 | (match-end 0) | 1421 | (match-end 0) |
| 1422 | "Escape this ‘(’? " | 1422 | (format-message "Escape this `('? ") |
| 1423 | "\\(") | 1423 | "\\(") |
| 1424 | nil | 1424 | nil |
| 1425 | (checkdoc-create-error | 1425 | (checkdoc-create-error |
| @@ -1715,7 +1715,7 @@ function,command,variable,option or symbol." ms1)))))) | |||
| 1715 | (if (checkdoc-autofix-ask-replace | 1715 | (if (checkdoc-autofix-ask-replace |
| 1716 | (match-beginning 1) (match-end 1) | 1716 | (match-beginning 1) (match-end 1) |
| 1717 | (format-message | 1717 | (format-message |
| 1718 | "If this is the argument ‘%s’, it should appear as %s. Fix? " | 1718 | "If this is the argument `%s', it should appear as %s. Fix? " |
| 1719 | (car args) (upcase (car args))) | 1719 | (car args) (upcase (car args))) |
| 1720 | (upcase (car args)) t) | 1720 | (upcase (car args)) t) |
| 1721 | (setq found (match-beginning 1)))))) | 1721 | (setq found (match-beginning 1)))))) |
| @@ -1741,7 +1741,7 @@ function,command,variable,option or symbol." ms1)))))) | |||
| 1741 | nil) | 1741 | nil) |
| 1742 | (checkdoc-create-error | 1742 | (checkdoc-create-error |
| 1743 | (format-message | 1743 | (format-message |
| 1744 | "Argument ‘%s’ should appear (as %s) in the doc string" | 1744 | "Argument `%s' should appear (as %s) in the doc string" |
| 1745 | (car args) (upcase (car args))) | 1745 | (car args) (upcase (car args))) |
| 1746 | s (marker-position e))) | 1746 | s (marker-position e))) |
| 1747 | (if (or (and order (eq order 'yes)) | 1747 | (if (or (and order (eq order 'yes)) |
| @@ -1825,15 +1825,15 @@ Replace with \"%s\"? " original replace) | |||
| 1825 | (or (boundp found) (fboundp found))) | 1825 | (or (boundp found) (fboundp found))) |
| 1826 | (progn | 1826 | (progn |
| 1827 | (setq msg (format-message | 1827 | (setq msg (format-message |
| 1828 | "Add quotes around Lisp symbol ‘%s’? " ms)) | 1828 | "Add quotes around Lisp symbol `%s'? " ms)) |
| 1829 | (if (checkdoc-autofix-ask-replace | 1829 | (if (checkdoc-autofix-ask-replace |
| 1830 | (match-beginning 1) (+ (match-beginning 1) | 1830 | (match-beginning 1) (+ (match-beginning 1) |
| 1831 | (length ms)) | 1831 | (length ms)) |
| 1832 | msg (concat "‘" ms "’") t) | 1832 | msg (format-message "`%s'" ms) t) |
| 1833 | (setq msg nil) | 1833 | (setq msg nil) |
| 1834 | (setq msg | 1834 | (setq msg |
| 1835 | (format-message | 1835 | (format-message |
| 1836 | "Lisp symbol ‘%s’ should appear in quotes" ms)))))) | 1836 | "Lisp symbol `%s' should appear in quotes" ms)))))) |
| 1837 | (if msg | 1837 | (if msg |
| 1838 | (checkdoc-create-error msg (match-beginning 1) | 1838 | (checkdoc-create-error msg (match-beginning 1) |
| 1839 | (+ (match-beginning 1) | 1839 | (+ (match-beginning 1) |
| @@ -1849,7 +1849,7 @@ Replace with \"%s\"? " original replace) | |||
| 1849 | (match-string 2) t) | 1849 | (match-string 2) t) |
| 1850 | nil | 1850 | nil |
| 1851 | (checkdoc-create-error | 1851 | (checkdoc-create-error |
| 1852 | "Symbols t and nil should not appear in ‘...’ quotes" | 1852 | "Symbols t and nil should not appear in single quotes" |
| 1853 | (match-beginning 1) (match-end 1))))) | 1853 | (match-beginning 1) (match-end 1))))) |
| 1854 | ;; Here is some basic sentence formatting | 1854 | ;; Here is some basic sentence formatting |
| 1855 | (checkdoc-sentencespace-region-engine (point) e) | 1855 | (checkdoc-sentencespace-region-engine (point) e) |
| @@ -2487,22 +2487,24 @@ Argument TYPE specifies the type of question, such as `error' or `y-or-n-p'." | |||
| 2487 | ;; If we see a ?, then replace with "? ". | 2487 | ;; If we see a ?, then replace with "? ". |
| 2488 | (if (checkdoc-autofix-ask-replace | 2488 | (if (checkdoc-autofix-ask-replace |
| 2489 | (match-beginning 0) (match-end 0) | 2489 | (match-beginning 0) (match-end 0) |
| 2490 | "‘y-or-n-p’ argument should end with \"? \". Fix? " | 2490 | (format-message |
| 2491 | "`y-or-n-p' argument should end with \"? \". Fix? ") | ||
| 2491 | "? " t) | 2492 | "? " t) |
| 2492 | nil | 2493 | nil |
| 2493 | (checkdoc-create-error | 2494 | (checkdoc-create-error |
| 2494 | "‘y-or-n-p’ argument should end with \"? \"" | 2495 | "`y-or-n-p' argument should end with \"? \"" |
| 2495 | (match-beginning 0) (match-end 0))) | 2496 | (match-beginning 0) (match-end 0))) |
| 2496 | (if (save-excursion (forward-sexp 1) | 2497 | (if (save-excursion (forward-sexp 1) |
| 2497 | (forward-char -2) | 2498 | (forward-char -2) |
| 2498 | (looking-at " ")) | 2499 | (looking-at " ")) |
| 2499 | (if (checkdoc-autofix-ask-replace | 2500 | (if (checkdoc-autofix-ask-replace |
| 2500 | (match-beginning 0) (match-end 0) | 2501 | (match-beginning 0) (match-end 0) |
| 2501 | "‘y-or-n-p’ argument should end with \"? \". Fix? " | 2502 | (format-message |
| 2503 | "`y-or-n-p' argument should end with \"? \". Fix? ") | ||
| 2502 | "? " t) | 2504 | "? " t) |
| 2503 | nil | 2505 | nil |
| 2504 | (checkdoc-create-error | 2506 | (checkdoc-create-error |
| 2505 | "‘y-or-n-p’ argument should end with \"? \"" | 2507 | "`y-or-n-p' argument should end with \"? \"" |
| 2506 | (match-beginning 0) (match-end 0))) | 2508 | (match-beginning 0) (match-end 0))) |
| 2507 | (if (and ;; if this isn't true, we have a problem. | 2509 | (if (and ;; if this isn't true, we have a problem. |
| 2508 | (save-excursion (forward-sexp 1) | 2510 | (save-excursion (forward-sexp 1) |
| @@ -2510,11 +2512,12 @@ Argument TYPE specifies the type of question, such as `error' or `y-or-n-p'." | |||
| 2510 | (looking-at "\"")) | 2512 | (looking-at "\"")) |
| 2511 | (checkdoc-autofix-ask-replace | 2513 | (checkdoc-autofix-ask-replace |
| 2512 | (match-beginning 0) (match-end 0) | 2514 | (match-beginning 0) (match-end 0) |
| 2513 | "‘y-or-n-p’ argument should end with \"? \". Fix? " | 2515 | (format-message |
| 2516 | "`y-or-n-p' argument should end with \"? \". Fix? ") | ||
| 2514 | "? \"" t)) | 2517 | "? \"" t)) |
| 2515 | nil | 2518 | nil |
| 2516 | (checkdoc-create-error | 2519 | (checkdoc-create-error |
| 2517 | "‘y-or-n-p’ argument should end with \"? \"" | 2520 | "`y-or-n-p' argument should end with \"? \"" |
| 2518 | (match-beginning 0) (match-end 0))))))) | 2521 | (match-beginning 0) (match-end 0))))))) |
| 2519 | ;; Now, let's just run the spell checker on this guy. | 2522 | ;; Now, let's just run the spell checker on this guy. |
| 2520 | (checkdoc-ispell-docstring-engine (save-excursion (forward-sexp 1) | 2523 | (checkdoc-ispell-docstring-engine (save-excursion (forward-sexp 1) |
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index 7a7712ac0d3..dddfca7ae83 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el | |||
| @@ -415,7 +415,7 @@ as an integer unless JUNK-ALLOWED is non-nil." | |||
| 415 | (cond ((and junk-allowed (null sum)) sum) | 415 | (cond ((and junk-allowed (null sum)) sum) |
| 416 | (junk-allowed (* sign sum)) | 416 | (junk-allowed (* sign sum)) |
| 417 | ((or (/= start end) (null sum)) | 417 | ((or (/= start end) (null sum)) |
| 418 | (error "Not an integer string: ‘%s’" string)) | 418 | (error "Not an integer string: `%s'" string)) |
| 419 | (t (* sign sum))))))) | 419 | (t (* sign sum))))))) |
| 420 | 420 | ||
| 421 | 421 | ||
| @@ -774,16 +774,16 @@ including `cl-block' and `cl-eval-when'." | |||
| 774 | ;; FIXME: Add a `cl-class-of' or `cl-typeof' or somesuch. | 774 | ;; FIXME: Add a `cl-class-of' or `cl-typeof' or somesuch. |
| 775 | (metatype (cl--class-name (symbol-value (aref class 0))))) | 775 | (metatype (cl--class-name (symbol-value (aref class 0))))) |
| 776 | (insert (symbol-name type) | 776 | (insert (symbol-name type) |
| 777 | (substitute-command-keys " is a type (of kind ‘")) | 777 | (substitute-command-keys " is a type (of kind `")) |
| 778 | (help-insert-xref-button (symbol-name metatype) | 778 | (help-insert-xref-button (symbol-name metatype) |
| 779 | 'cl-help-type metatype) | 779 | 'cl-help-type metatype) |
| 780 | (insert (substitute-command-keys "’)")) | 780 | (insert (substitute-command-keys "')")) |
| 781 | (when location | 781 | (when location |
| 782 | (insert (substitute-command-keys " in ‘")) | 782 | (insert (substitute-command-keys " in `")) |
| 783 | (help-insert-xref-button | 783 | (help-insert-xref-button |
| 784 | (help-fns-short-filename location) | 784 | (help-fns-short-filename location) |
| 785 | 'cl-type-definition type location 'define-type) | 785 | 'cl-type-definition type location 'define-type) |
| 786 | (insert (substitute-command-keys "’"))) | 786 | (insert (substitute-command-keys "'"))) |
| 787 | (insert ".\n") | 787 | (insert ".\n") |
| 788 | 788 | ||
| 789 | ;; Parents. | 789 | ;; Parents. |
| @@ -793,10 +793,10 @@ including `cl-block' and `cl-eval-when'." | |||
| 793 | (insert " Inherits from ") | 793 | (insert " Inherits from ") |
| 794 | (while (setq cur (pop pl)) | 794 | (while (setq cur (pop pl)) |
| 795 | (setq cur (cl--class-name cur)) | 795 | (setq cur (cl--class-name cur)) |
| 796 | (insert (substitute-command-keys "‘")) | 796 | (insert (substitute-command-keys "`")) |
| 797 | (help-insert-xref-button (symbol-name cur) | 797 | (help-insert-xref-button (symbol-name cur) |
| 798 | 'cl-help-type cur) | 798 | 'cl-help-type cur) |
| 799 | (insert (substitute-command-keys (if pl "’, " "’")))) | 799 | (insert (substitute-command-keys (if pl "', " "'")))) |
| 800 | (insert ".\n"))) | 800 | (insert ".\n"))) |
| 801 | 801 | ||
| 802 | ;; Children, if available. ¡For EIEIO! | 802 | ;; Children, if available. ¡For EIEIO! |
| @@ -807,10 +807,10 @@ including `cl-block' and `cl-eval-when'." | |||
| 807 | (when ch | 807 | (when ch |
| 808 | (insert " Children ") | 808 | (insert " Children ") |
| 809 | (while (setq cur (pop ch)) | 809 | (while (setq cur (pop ch)) |
| 810 | (insert (substitute-command-keys "‘")) | 810 | (insert (substitute-command-keys "`")) |
| 811 | (help-insert-xref-button (symbol-name cur) | 811 | (help-insert-xref-button (symbol-name cur) |
| 812 | 'cl-help-type cur) | 812 | 'cl-help-type cur) |
| 813 | (insert (substitute-command-keys (if ch "’, " "’")))) | 813 | (insert (substitute-command-keys (if ch "', " "'")))) |
| 814 | (insert ".\n"))) | 814 | (insert ".\n"))) |
| 815 | 815 | ||
| 816 | ;; Type's documentation. | 816 | ;; Type's documentation. |
| @@ -826,10 +826,10 @@ including `cl-block' and `cl-eval-when'." | |||
| 826 | (when generics | 826 | (when generics |
| 827 | (insert (propertize "Specialized Methods:\n\n" 'face 'bold)) | 827 | (insert (propertize "Specialized Methods:\n\n" 'face 'bold)) |
| 828 | (dolist (generic generics) | 828 | (dolist (generic generics) |
| 829 | (insert (substitute-command-keys "‘")) | 829 | (insert (substitute-command-keys "`")) |
| 830 | (help-insert-xref-button (symbol-name generic) | 830 | (help-insert-xref-button (symbol-name generic) |
| 831 | 'help-function generic) | 831 | 'help-function generic) |
| 832 | (insert (substitute-command-keys "’")) | 832 | (insert (substitute-command-keys "'")) |
| 833 | (pcase-dolist (`(,qualifiers ,args ,doc) | 833 | (pcase-dolist (`(,qualifiers ,args ,doc) |
| 834 | (cl--generic-method-documentation generic type)) | 834 | (cl--generic-method-documentation generic type)) |
| 835 | (insert (format " %s%S\n" qualifiers args) | 835 | (insert (format " %s%S\n" qualifiers args) |
diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 5d527619d6d..c012a30a41f 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el | |||
| @@ -192,7 +192,7 @@ BODY, if present, is used as the body of a default method. | |||
| 192 | (when doc (error "Multiple doc strings for %S" name)) | 192 | (when doc (error "Multiple doc strings for %S" name)) |
| 193 | (setq doc (cadr (pop options-and-methods)))) | 193 | (setq doc (cadr (pop options-and-methods)))) |
| 194 | (`declare | 194 | (`declare |
| 195 | (when declarations (error "Multiple ‘declare’ for %S" name)) | 195 | (when declarations (error "Multiple `declare' for %S" name)) |
| 196 | (setq declarations (pop options-and-methods))) | 196 | (setq declarations (pop options-and-methods))) |
| 197 | (`:method (push (cdr (pop options-and-methods)) methods)) | 197 | (`:method (push (cdr (pop options-and-methods)) methods)) |
| 198 | (_ (push (pop options-and-methods) options)))) | 198 | (_ (push (pop options-and-methods) options)))) |
| @@ -208,7 +208,7 @@ BODY, if present, is used as the body of a default method. | |||
| 208 | defun-declarations-alist)))) | 208 | defun-declarations-alist)))) |
| 209 | (cond | 209 | (cond |
| 210 | (f (apply (car f) name args (cdr declaration))) | 210 | (f (apply (car f) name args (cdr declaration))) |
| 211 | (t (message "Warning: Unknown defun property ‘%S’ in %S" | 211 | (t (message "Warning: Unknown defun property `%S' in %S" |
| 212 | (car declaration) name) | 212 | (car declaration) name) |
| 213 | nil)))) | 213 | nil)))) |
| 214 | (cdr declarations)) | 214 | (cdr declarations)) |
| @@ -864,11 +864,11 @@ MET-NAME is a cons (SYMBOL . SPECIALIZERS)." | |||
| 864 | (cl--generic-method-specializers method))) | 864 | (cl--generic-method-specializers method))) |
| 865 | (file (find-lisp-object-file-name met-name 'cl-defmethod))) | 865 | (file (find-lisp-object-file-name met-name 'cl-defmethod))) |
| 866 | (when file | 866 | (when file |
| 867 | (insert (substitute-command-keys " in ‘")) | 867 | (insert (substitute-command-keys " in `")) |
| 868 | (help-insert-xref-button (help-fns-short-filename file) | 868 | (help-insert-xref-button (help-fns-short-filename file) |
| 869 | 'help-function-def met-name file | 869 | 'help-function-def met-name file |
| 870 | 'cl-defmethod) | 870 | 'cl-defmethod) |
| 871 | (insert (substitute-command-keys "’.\n")))) | 871 | (insert (substitute-command-keys "'.\n")))) |
| 872 | (insert "\n" (or (nth 2 info) "Undocumented") "\n\n"))))))) | 872 | (insert "\n" (or (nth 2 info) "Undocumented") "\n\n"))))))) |
| 873 | 873 | ||
| 874 | (defun cl--generic-specializers-apply-to-type-p (specializers type) | 874 | (defun cl--generic-specializers-apply-to-type-p (specializers type) |
| @@ -1070,7 +1070,7 @@ The value returned is a list of elements of the form | |||
| 1070 | (and (assq type cl--generic-typeof-types) | 1070 | (and (assq type cl--generic-typeof-types) |
| 1071 | (progn | 1071 | (progn |
| 1072 | (if (memq type '(vector array sequence)) | 1072 | (if (memq type '(vector array sequence)) |
| 1073 | (message "‘%S’ also matches CL structs and EIEIO classes" type)) | 1073 | (message "`%S' also matches CL structs and EIEIO classes" type)) |
| 1074 | (list cl--generic-typeof-generalizer))) | 1074 | (list cl--generic-typeof-generalizer))) |
| 1075 | (cl-call-next-method))) | 1075 | (cl-call-next-method))) |
| 1076 | 1076 | ||
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 30581e37e94..d5d8ef0a8a1 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el | |||
| @@ -1132,7 +1132,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1132 | (cond | 1132 | (cond |
| 1133 | 1133 | ||
| 1134 | ((null cl--loop-args) | 1134 | ((null cl--loop-args) |
| 1135 | (error "Malformed ‘cl-loop’ macro")) | 1135 | (error "Malformed `cl-loop' macro")) |
| 1136 | 1136 | ||
| 1137 | ((eq word 'named) | 1137 | ((eq word 'named) |
| 1138 | (setq cl--loop-name (pop cl--loop-args))) | 1138 | (setq cl--loop-name (pop cl--loop-args))) |
| @@ -1140,7 +1140,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1140 | ((eq word 'initially) | 1140 | ((eq word 'initially) |
| 1141 | (if (memq (car cl--loop-args) '(do doing)) (pop cl--loop-args)) | 1141 | (if (memq (car cl--loop-args) '(do doing)) (pop cl--loop-args)) |
| 1142 | (or (consp (car cl--loop-args)) | 1142 | (or (consp (car cl--loop-args)) |
| 1143 | (error "Syntax error on ‘initially’ clause")) | 1143 | (error "Syntax error on `initially' clause")) |
| 1144 | (while (consp (car cl--loop-args)) | 1144 | (while (consp (car cl--loop-args)) |
| 1145 | (push (pop cl--loop-args) cl--loop-initially))) | 1145 | (push (pop cl--loop-args) cl--loop-initially))) |
| 1146 | 1146 | ||
| @@ -1150,7 +1150,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1150 | (or (cl--pop2 cl--loop-args) '(quote nil))) | 1150 | (or (cl--pop2 cl--loop-args) '(quote nil))) |
| 1151 | (if (memq (car cl--loop-args) '(do doing)) (pop cl--loop-args)) | 1151 | (if (memq (car cl--loop-args) '(do doing)) (pop cl--loop-args)) |
| 1152 | (or (consp (car cl--loop-args)) | 1152 | (or (consp (car cl--loop-args)) |
| 1153 | (error "Syntax error on ‘finally’ clause")) | 1153 | (error "Syntax error on `finally' clause")) |
| 1154 | (if (and (eq (caar cl--loop-args) 'return) (null cl--loop-name)) | 1154 | (if (and (eq (caar cl--loop-args) 'return) (null cl--loop-name)) |
| 1155 | (setq cl--loop-result-explicit | 1155 | (setq cl--loop-result-explicit |
| 1156 | (or (nth 1 (pop cl--loop-args)) '(quote nil))) | 1156 | (or (nth 1 (pop cl--loop-args)) '(quote nil))) |
| @@ -1177,7 +1177,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1177 | above below by)) | 1177 | above below by)) |
| 1178 | (push word cl--loop-args) | 1178 | (push word cl--loop-args) |
| 1179 | (if (memq (car cl--loop-args) '(downto above)) | 1179 | (if (memq (car cl--loop-args) '(downto above)) |
| 1180 | (error "Must specify ‘from’ value for downward cl-loop")) | 1180 | (error "Must specify `from' value for downward cl-loop")) |
| 1181 | (let* ((down (or (eq (car cl--loop-args) 'downfrom) | 1181 | (let* ((down (or (eq (car cl--loop-args) 'downfrom) |
| 1182 | (memq (nth 2 cl--loop-args) | 1182 | (memq (nth 2 cl--loop-args) |
| 1183 | '(downto above)))) | 1183 | '(downto above)))) |
| @@ -1197,7 +1197,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1197 | (step-var (and (not (macroexp-const-p step)) | 1197 | (step-var (and (not (macroexp-const-p step)) |
| 1198 | (make-symbol "--cl-var--")))) | 1198 | (make-symbol "--cl-var--")))) |
| 1199 | (and step (numberp step) (<= step 0) | 1199 | (and step (numberp step) (<= step 0) |
| 1200 | (error "Loop ‘by’ value is not positive: %s" step)) | 1200 | (error "Loop `by' value is not positive: %s" step)) |
| 1201 | (push (list var (or start 0)) loop-for-bindings) | 1201 | (push (list var (or start 0)) loop-for-bindings) |
| 1202 | (if end-var (push (list end-var end) loop-for-bindings)) | 1202 | (if end-var (push (list end-var end) loop-for-bindings)) |
| 1203 | (if step-var (push (list step-var step) | 1203 | (if step-var (push (list step-var step) |
| @@ -1276,7 +1276,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1276 | ((memq word '(element elements)) | 1276 | ((memq word '(element elements)) |
| 1277 | (let ((ref (or (memq (car cl--loop-args) '(in-ref of-ref)) | 1277 | (let ((ref (or (memq (car cl--loop-args) '(in-ref of-ref)) |
| 1278 | (and (not (memq (car cl--loop-args) '(in of))) | 1278 | (and (not (memq (car cl--loop-args) '(in of))) |
| 1279 | (error "Expected ‘of’")))) | 1279 | (error "Expected `of'")))) |
| 1280 | (seq (cl--pop2 cl--loop-args)) | 1280 | (seq (cl--pop2 cl--loop-args)) |
| 1281 | (temp-seq (make-symbol "--cl-seq--")) | 1281 | (temp-seq (make-symbol "--cl-seq--")) |
| 1282 | (temp-idx | 1282 | (temp-idx |
| @@ -1284,7 +1284,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1284 | (if (and (= (length (cadr cl--loop-args)) 2) | 1284 | (if (and (= (length (cadr cl--loop-args)) 2) |
| 1285 | (eq (cl-caadr cl--loop-args) 'index)) | 1285 | (eq (cl-caadr cl--loop-args) 'index)) |
| 1286 | (cadr (cl--pop2 cl--loop-args)) | 1286 | (cadr (cl--pop2 cl--loop-args)) |
| 1287 | (error "Bad ‘using’ clause")) | 1287 | (error "Bad `using' clause")) |
| 1288 | (make-symbol "--cl-idx--")))) | 1288 | (make-symbol "--cl-idx--")))) |
| 1289 | (push (list temp-seq seq) loop-for-bindings) | 1289 | (push (list temp-seq seq) loop-for-bindings) |
| 1290 | (push (list temp-idx 0) loop-for-bindings) | 1290 | (push (list temp-idx 0) loop-for-bindings) |
| @@ -1309,7 +1309,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1309 | 1309 | ||
| 1310 | ((memq word hash-types) | 1310 | ((memq word hash-types) |
| 1311 | (or (memq (car cl--loop-args) '(in of)) | 1311 | (or (memq (car cl--loop-args) '(in of)) |
| 1312 | (error "Expected ‘of’")) | 1312 | (error "Expected `of'")) |
| 1313 | (let* ((table (cl--pop2 cl--loop-args)) | 1313 | (let* ((table (cl--pop2 cl--loop-args)) |
| 1314 | (other | 1314 | (other |
| 1315 | (if (eq (car cl--loop-args) 'using) | 1315 | (if (eq (car cl--loop-args) 'using) |
| @@ -1317,7 +1317,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1317 | (memq (cl-caadr cl--loop-args) hash-types) | 1317 | (memq (cl-caadr cl--loop-args) hash-types) |
| 1318 | (not (eq (cl-caadr cl--loop-args) word))) | 1318 | (not (eq (cl-caadr cl--loop-args) word))) |
| 1319 | (cadr (cl--pop2 cl--loop-args)) | 1319 | (cadr (cl--pop2 cl--loop-args)) |
| 1320 | (error "Bad ‘using’ clause")) | 1320 | (error "Bad `using' clause")) |
| 1321 | (make-symbol "--cl-var--")))) | 1321 | (make-symbol "--cl-var--")))) |
| 1322 | (if (memq word '(hash-value hash-values)) | 1322 | (if (memq word '(hash-value hash-values)) |
| 1323 | (setq var (prog1 other (setq other var)))) | 1323 | (setq var (prog1 other (setq other var)))) |
| @@ -1372,7 +1372,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1372 | 1372 | ||
| 1373 | ((memq word key-types) | 1373 | ((memq word key-types) |
| 1374 | (or (memq (car cl--loop-args) '(in of)) | 1374 | (or (memq (car cl--loop-args) '(in of)) |
| 1375 | (error "Expected ‘of’")) | 1375 | (error "Expected `of'")) |
| 1376 | (let ((cl-map (cl--pop2 cl--loop-args)) | 1376 | (let ((cl-map (cl--pop2 cl--loop-args)) |
| 1377 | (other | 1377 | (other |
| 1378 | (if (eq (car cl--loop-args) 'using) | 1378 | (if (eq (car cl--loop-args) 'using) |
| @@ -1380,7 +1380,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1380 | (memq (cl-caadr cl--loop-args) key-types) | 1380 | (memq (cl-caadr cl--loop-args) key-types) |
| 1381 | (not (eq (cl-caadr cl--loop-args) word))) | 1381 | (not (eq (cl-caadr cl--loop-args) word))) |
| 1382 | (cadr (cl--pop2 cl--loop-args)) | 1382 | (cadr (cl--pop2 cl--loop-args)) |
| 1383 | (error "Bad ‘using’ clause")) | 1383 | (error "Bad `using' clause")) |
| 1384 | (make-symbol "--cl-var--")))) | 1384 | (make-symbol "--cl-var--")))) |
| 1385 | (if (memq word '(key-binding key-bindings)) | 1385 | (if (memq word '(key-binding key-bindings)) |
| 1386 | (setq var (prog1 other (setq other var)))) | 1386 | (setq var (prog1 other (setq other var)))) |
| @@ -1430,7 +1430,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1430 | (get word 'cl-loop-for-handler)))) | 1430 | (get word 'cl-loop-for-handler)))) |
| 1431 | (if handler | 1431 | (if handler |
| 1432 | (funcall handler var) | 1432 | (funcall handler var) |
| 1433 | (error "Expected a ‘for’ preposition, found %s" word))))) | 1433 | (error "Expected a `for' preposition, found %s" word))))) |
| 1434 | (eq (car cl--loop-args) 'and)) | 1434 | (eq (car cl--loop-args) 'and)) |
| 1435 | (setq ands t) | 1435 | (setq ands t) |
| 1436 | (pop cl--loop-args)) | 1436 | (pop cl--loop-args)) |
| @@ -1569,7 +1569,7 @@ For more details, see Info node `(cl)Loop Facility'. | |||
| 1569 | 1569 | ||
| 1570 | ((memq word '(do doing)) | 1570 | ((memq word '(do doing)) |
| 1571 | (let ((body nil)) | 1571 | (let ((body nil)) |
| 1572 | (or (consp (car cl--loop-args)) (error "Syntax error on ‘do’ clause")) | 1572 | (or (consp (car cl--loop-args)) (error "Syntax error on `do' clause")) |
| 1573 | (while (consp (car cl--loop-args)) (push (pop cl--loop-args) body)) | 1573 | (while (consp (car cl--loop-args)) (push (pop cl--loop-args) body)) |
| 1574 | (push (cons 'progn (nreverse (cons t body))) cl--loop-body))) | 1574 | (push (cons 'progn (nreverse (cons t body))) cl--loop-body))) |
| 1575 | 1575 | ||
| @@ -1802,7 +1802,7 @@ Labels have lexical scope and dynamic extent." | |||
| 1802 | `((go . ,(lambda (label) | 1802 | `((go . ,(lambda (label) |
| 1803 | (let ((catch-tag (cdr (assq label cl--tagbody-alist)))) | 1803 | (let ((catch-tag (cdr (assq label cl--tagbody-alist)))) |
| 1804 | (unless catch-tag | 1804 | (unless catch-tag |
| 1805 | (error "Unknown cl-tagbody go label ‘%S’" label)) | 1805 | (error "Unknown cl-tagbody go label `%S'" label)) |
| 1806 | `(throw ',catch-tag ',label)))) | 1806 | `(throw ',catch-tag ',label)))) |
| 1807 | ,@macroexpand-all-environment))))) | 1807 | ,@macroexpand-all-environment))))) |
| 1808 | 1808 | ||
| @@ -2101,7 +2101,7 @@ by EXPANSION, and (setq NAME ...) will act like (setf EXPANSION ...). | |||
| 2101 | macroexpand-all-environment)))) | 2101 | macroexpand-all-environment)))) |
| 2102 | (if (or (null (cdar bindings)) (cl-cddar bindings)) | 2102 | (if (or (null (cdar bindings)) (cl-cddar bindings)) |
| 2103 | (macroexp--warn-and-return | 2103 | (macroexp--warn-and-return |
| 2104 | (format-message "Malformed ‘cl-symbol-macrolet’ binding: %S" | 2104 | (format-message "Malformed `cl-symbol-macrolet' binding: %S" |
| 2105 | (car bindings)) | 2105 | (car bindings)) |
| 2106 | expansion) | 2106 | expansion) |
| 2107 | expansion))) | 2107 | expansion))) |
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index ba50680e8b9..46472ccd257 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | 86 | ||
| 87 | (defun cl-unload-function () | 87 | (defun cl-unload-function () |
| 88 | "Stop unloading of the Common Lisp extensions." | 88 | "Stop unloading of the Common Lisp extensions." |
| 89 | (message "Cannot unload the feature ‘cl’") | 89 | (message "Cannot unload the feature `cl'") |
| 90 | ;; Stop standard unloading! | 90 | ;; Stop standard unloading! |
| 91 | t) | 91 | t) |
| 92 | 92 | ||
| @@ -459,15 +459,15 @@ definitions, or lack thereof). | |||
| 459 | (if (or (and (fboundp (car x)) | 459 | (if (or (and (fboundp (car x)) |
| 460 | (eq (car-safe (symbol-function (car x))) 'macro)) | 460 | (eq (car-safe (symbol-function (car x))) 'macro)) |
| 461 | (cdr (assq (car x) macroexpand-all-environment))) | 461 | (cdr (assq (car x) macroexpand-all-environment))) |
| 462 | (error "Use ‘labels’, not ‘flet’, to rebind macro names")) | 462 | (error "Use `labels', not `flet', to rebind macro names")) |
| 463 | (let ((func `(cl-function | 463 | (let ((func `(cl-function |
| 464 | (lambda ,(cadr x) | 464 | (lambda ,(cadr x) |
| 465 | (cl-block ,(car x) ,@(cddr x)))))) | 465 | (cl-block ,(car x) ,@(cddr x)))))) |
| 466 | (when (cl--compiling-file) | 466 | (when (cl--compiling-file) |
| 467 | ;; Bug#411. It would be nice to fix this. | 467 | ;; Bug#411. It would be nice to fix this. |
| 468 | (and (get (car x) 'byte-compile) | 468 | (and (get (car x) 'byte-compile) |
| 469 | (error "Byte-compiling a redefinition of ‘%s’ \ | 469 | (error "Byte-compiling a redefinition of `%s' \ |
| 470 | will not work - use ‘labels’ instead" (symbol-name (car x)))) | 470 | will not work - use `labels' instead" (symbol-name (car x)))) |
| 471 | ;; FIXME This affects the rest of the file, when it | 471 | ;; FIXME This affects the rest of the file, when it |
| 472 | ;; should be restricted to the flet body. | 472 | ;; should be restricted to the flet body. |
| 473 | (and (boundp 'byte-compile-function-environment) | 473 | (and (boundp 'byte-compile-function-environment) |
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el index ece6883ccbe..1317d699d25 100644 --- a/lisp/emacs-lisp/copyright.el +++ b/lisp/emacs-lisp/copyright.el | |||
| @@ -350,7 +350,7 @@ independently replaces consecutive years with a range." | |||
| 350 | (or (getenv "ORGANIZATION") | 350 | (or (getenv "ORGANIZATION") |
| 351 | str) | 351 | str) |
| 352 | '(if (copyright-offset-too-large-p) | 352 | '(if (copyright-offset-too-large-p) |
| 353 | (message "Copyright extends beyond ‘copyright-limit’ and won't be updated automatically.")) | 353 | (message "Copyright extends beyond `copyright-limit' and won't be updated automatically.")) |
| 354 | comment-end \n) | 354 | comment-end \n) |
| 355 | 355 | ||
| 356 | ;; TODO: recurse, exclude COPYING etc. | 356 | ;; TODO: recurse, exclude COPYING etc. |
| @@ -361,7 +361,7 @@ If FIX is non-nil, run `copyright-fix-years' instead." | |||
| 361 | (interactive "DDirectory: \nMFilenames matching (regexp): ") | 361 | (interactive "DDirectory: \nMFilenames matching (regexp): ") |
| 362 | (dolist (file (directory-files directory t match nil)) | 362 | (dolist (file (directory-files directory t match nil)) |
| 363 | (unless (file-directory-p file) | 363 | (unless (file-directory-p file) |
| 364 | (message "Updating file ‘%s’" file) | 364 | (message "Updating file `%s'" file) |
| 365 | ;; FIXME we should not use find-file+save+kill. | 365 | ;; FIXME we should not use find-file+save+kill. |
| 366 | (let ((enable-local-variables :safe) | 366 | (let ((enable-local-variables :safe) |
| 367 | (enable-local-eval nil)) | 367 | (enable-local-eval nil)) |
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 3ad496ac203..0162a9a230a 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -880,7 +880,7 @@ Maybe clear the markers and delete the symbol's edebug property?" | |||
| 880 | (setq dotted-form (edebug-read-storing-offsets stream)) | 880 | (setq dotted-form (edebug-read-storing-offsets stream)) |
| 881 | elements (nconc elements dotted-form) | 881 | elements (nconc elements dotted-form) |
| 882 | (if (not (eq (edebug-next-token-class) 'rparen)) | 882 | (if (not (eq (edebug-next-token-class) 'rparen)) |
| 883 | (edebug-syntax-error "Expected ‘)’")) | 883 | (edebug-syntax-error "Expected `)'")) |
| 884 | (setq edebug-read-dotted-list (listp dotted-form)) | 884 | (setq edebug-read-dotted-list (listp dotted-form)) |
| 885 | )) | 885 | )) |
| 886 | elements) | 886 | elements) |
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el index e1051b26e16..400bdb95c06 100644 --- a/lisp/emacs-lisp/eieio-base.el +++ b/lisp/emacs-lisp/eieio-base.el | |||
| @@ -218,7 +218,7 @@ for CLASS. Optional ALLOW-SUBCLASS says that it is ok for | |||
| 218 | `eieio-persistent-read' to load in subclasses of class instead of | 218 | `eieio-persistent-read' to load in subclasses of class instead of |
| 219 | being pedantic." | 219 | being pedantic." |
| 220 | (unless class | 220 | (unless class |
| 221 | (message "Unsafe call to ‘eieio-persistent-read’.")) | 221 | (message "Unsafe call to `eieio-persistent-read'.")) |
| 222 | (when class (cl-check-type class class)) | 222 | (when class (cl-check-type class class)) |
| 223 | (let ((ret nil) | 223 | (let ((ret nil) |
| 224 | (buffstr nil)) | 224 | (buffstr nil)) |
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index c47f7f943a2..a2f5f8af8ea 100644 --- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el | |||
| @@ -547,7 +547,7 @@ If SKIPNIL is non-nil, then if default value is nil return t instead." | |||
| 547 | (if (not (eq type t)) | 547 | (if (not (eq type t)) |
| 548 | (if (not (equal type tp)) | 548 | (if (not (equal type tp)) |
| 549 | (error | 549 | (error |
| 550 | "Child slot type ‘%s’ does not match inherited type ‘%s’ for ‘%s’" | 550 | "Child slot type `%s' does not match inherited type `%s' for `%s'" |
| 551 | type tp a)) | 551 | type tp a)) |
| 552 | (setf (cl--slot-descriptor-type new) tp)) | 552 | (setf (cl--slot-descriptor-type new) tp)) |
| 553 | ;; If we have a repeat, only update the initarg... | 553 | ;; If we have a repeat, only update the initarg... |
| @@ -567,7 +567,7 @@ If SKIPNIL is non-nil, then if default value is nil return t instead." | |||
| 567 | (let ((super-prot (alist-get :protection oprops)) | 567 | (let ((super-prot (alist-get :protection oprops)) |
| 568 | (prot (alist-get :protection nprops))) | 568 | (prot (alist-get :protection nprops))) |
| 569 | (if (not (eq prot super-prot)) | 569 | (if (not (eq prot super-prot)) |
| 570 | (error "Child slot protection ‘%s’ does not match inherited protection ‘%s’ for ‘%s’" | 570 | (error "Child slot protection `%s' does not match inherited protection `%s' for `%s'" |
| 571 | prot super-prot a))) | 571 | prot super-prot a))) |
| 572 | ;; End original PLN | 572 | ;; End original PLN |
| 573 | 573 | ||
| @@ -736,7 +736,7 @@ Argument FN is the function calling this verifier." | |||
| 736 | ((and (or `',name (and name (pred keywordp))) | 736 | ((and (or `',name (and name (pred keywordp))) |
| 737 | (guard (not (memq name eieio--known-slot-names)))) | 737 | (guard (not (memq name eieio--known-slot-names)))) |
| 738 | (macroexp--warn-and-return | 738 | (macroexp--warn-and-return |
| 739 | (format-message "Unknown slot ‘%S’" name) exp 'compile-only)) | 739 | (format-message "Unknown slot `%S'" name) exp 'compile-only)) |
| 740 | (_ exp))))) | 740 | (_ exp))))) |
| 741 | (cl-check-type slot symbol) | 741 | (cl-check-type slot symbol) |
| 742 | (cl-check-type obj (or eieio-object class)) | 742 | (cl-check-type obj (or eieio-object class)) |
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el index 0b003360ed5..a5d8b6fcf89 100644 --- a/lisp/emacs-lisp/eieio-opt.el +++ b/lisp/emacs-lisp/eieio-opt.el | |||
| @@ -141,11 +141,11 @@ are not abstract." | |||
| 141 | (setq location | 141 | (setq location |
| 142 | (find-lisp-object-file-name ctr def))) | 142 | (find-lisp-object-file-name ctr def))) |
| 143 | (when location | 143 | (when location |
| 144 | (insert (substitute-command-keys " in ‘")) | 144 | (insert (substitute-command-keys " in `")) |
| 145 | (help-insert-xref-button | 145 | (help-insert-xref-button |
| 146 | (help-fns-short-filename location) | 146 | (help-fns-short-filename location) |
| 147 | 'cl-type-definition ctr location 'define-type) | 147 | 'cl-type-definition ctr location 'define-type) |
| 148 | (insert (substitute-command-keys "’"))) | 148 | (insert (substitute-command-keys "'"))) |
| 149 | (insert ".\nCreates an object of class " (symbol-name ctr) ".") | 149 | (insert ".\nCreates an object of class " (symbol-name ctr) ".") |
| 150 | (goto-char (point-max)) | 150 | (goto-char (point-max)) |
| 151 | (if (autoloadp def) | 151 | (if (autoloadp def) |
diff --git a/lisp/emacs-lisp/eieio-speedbar.el b/lisp/emacs-lisp/eieio-speedbar.el index ac8124a1927..a1eabcf9700 100644 --- a/lisp/emacs-lisp/eieio-speedbar.el +++ b/lisp/emacs-lisp/eieio-speedbar.el | |||
| @@ -323,7 +323,7 @@ Argument DEPTH is the depth at which the tag line is inserted." | |||
| 323 | 323 | ||
| 324 | (cl-defmethod eieio-speedbar-child-make-tag-lines ((object eieio-speedbar) _depth) | 324 | (cl-defmethod eieio-speedbar-child-make-tag-lines ((object eieio-speedbar) _depth) |
| 325 | "Base method for creating tag lines for non-object children." | 325 | "Base method for creating tag lines for non-object children." |
| 326 | (error "You must implement ‘eieio-speedbar-child-make-tag-lines’ for %s" | 326 | (error "You must implement `eieio-speedbar-child-make-tag-lines' for %s" |
| 327 | (eieio-object-name object))) | 327 | (eieio-object-name object))) |
| 328 | 328 | ||
| 329 | (cl-defmethod eieio-speedbar-expand ((object eieio-speedbar) depth) | 329 | (cl-defmethod eieio-speedbar-expand ((object eieio-speedbar) depth) |
| @@ -364,7 +364,7 @@ TOKEN is the object. INDENT is the current indentation level." | |||
| 364 | 364 | ||
| 365 | (cl-defmethod eieio-speedbar-child-description ((obj eieio-speedbar)) | 365 | (cl-defmethod eieio-speedbar-child-description ((obj eieio-speedbar)) |
| 366 | "Return a description for a child of OBJ which is not an object." | 366 | "Return a description for a child of OBJ which is not an object." |
| 367 | (error "You must implement ‘eieio-speedbar-child-description’ for %s" | 367 | (error "You must implement `eieio-speedbar-child-description' for %s" |
| 368 | (eieio-object-name obj))) | 368 | (eieio-object-name obj))) |
| 369 | 369 | ||
| 370 | (defun eieio-speedbar-item-info () | 370 | (defun eieio-speedbar-item-info () |
diff --git a/lisp/emacs-lisp/eieio.el b/lisp/emacs-lisp/eieio.el index d6c27be0567..bf28f8975bc 100644 --- a/lisp/emacs-lisp/eieio.el +++ b/lisp/emacs-lisp/eieio.el | |||
| @@ -114,10 +114,10 @@ and reference them using the function `class-option'." | |||
| 114 | 114 | ||
| 115 | (cond ((and (stringp (car options-and-doc)) | 115 | (cond ((and (stringp (car options-and-doc)) |
| 116 | (/= 1 (% (length options-and-doc) 2))) | 116 | (/= 1 (% (length options-and-doc) 2))) |
| 117 | (error "Too many arguments to ‘defclass’")) | 117 | (error "Too many arguments to `defclass'")) |
| 118 | ((and (symbolp (car options-and-doc)) | 118 | ((and (symbolp (car options-and-doc)) |
| 119 | (/= 0 (% (length options-and-doc) 2))) | 119 | (/= 0 (% (length options-and-doc) 2))) |
| 120 | (error "Too many arguments to ‘defclass’"))) | 120 | (error "Too many arguments to `defclass'"))) |
| 121 | 121 | ||
| 122 | (if (stringp (car options-and-doc)) | 122 | (if (stringp (car options-and-doc)) |
| 123 | (setq options-and-doc | 123 | (setq options-and-doc |
| @@ -942,7 +942,7 @@ this object." | |||
| 942 | "Change the class of OBJ to type CLASS. | 942 | "Change the class of OBJ to type CLASS. |
| 943 | This may create or delete slots, but does not affect the return value | 943 | This may create or delete slots, but does not affect the return value |
| 944 | of `eq'." | 944 | of `eq'." |
| 945 | (error "EIEIO: ‘change-class’ is unimplemented")) | 945 | (error "EIEIO: `change-class' is unimplemented")) |
| 946 | 946 | ||
| 947 | ;; Hook ourselves into help system for describing classes and methods. | 947 | ;; Hook ourselves into help system for describing classes and methods. |
| 948 | ;; FIXME: This is not actually needed any more since we can click on the | 948 | ;; FIXME: This is not actually needed any more since we can click on the |
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index 15eeb49707b..86ac33c2600 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el | |||
| @@ -249,9 +249,9 @@ This environment can be passed to `macroexpand'." | |||
| 249 | (elint-set-mode-line t) | 249 | (elint-set-mode-line t) |
| 250 | (with-current-buffer elint-log-buffer | 250 | (with-current-buffer elint-log-buffer |
| 251 | (unless (string-equal default-directory dir) | 251 | (unless (string-equal default-directory dir) |
| 252 | (elint-log-message (format-message "\nLeaving directory ‘%s’" | 252 | (elint-log-message (format-message "\nLeaving directory `%s'" |
| 253 | default-directory) t) | 253 | default-directory) t) |
| 254 | (elint-log-message (format-message "Entering directory ‘%s’" dir) t) | 254 | (elint-log-message (format-message "Entering directory `%s'" dir) t) |
| 255 | (setq default-directory dir)))) | 255 | (setq default-directory dir)))) |
| 256 | (let ((str (format "Linting file %s" file))) | 256 | (let ((str (format "Linting file %s" file))) |
| 257 | (message "%s..." str) | 257 | (message "%s..." str) |
| @@ -374,7 +374,7 @@ Returns the forms." | |||
| 374 | ;; quoted check cannot be elsewhere, since quotes skipped. | 374 | ;; quoted check cannot be elsewhere, since quotes skipped. |
| 375 | (if (looking-back "'" (1- (point))) | 375 | (if (looking-back "'" (1- (point))) |
| 376 | ;; Eg cust-print.el uses ' as a comment syntax. | 376 | ;; Eg cust-print.el uses ' as a comment syntax. |
| 377 | (elint-warning "Skipping quoted form ‘'%.20s...’" | 377 | (elint-warning "Skipping quoted form `%c%.20s...'" ?\' |
| 378 | (read (current-buffer))) | 378 | (read (current-buffer))) |
| 379 | (condition-case nil | 379 | (condition-case nil |
| 380 | (setq tops (cons | 380 | (setq tops (cons |
| @@ -383,7 +383,7 @@ Returns the forms." | |||
| 383 | tops)) | 383 | tops)) |
| 384 | (end-of-file | 384 | (end-of-file |
| 385 | (goto-char elint-current-pos) | 385 | (goto-char elint-current-pos) |
| 386 | (error "Missing ‘)’ in top form: %s" | 386 | (error "Missing `)' in top form: %s" |
| 387 | (buffer-substring elint-current-pos | 387 | (buffer-substring elint-current-pos |
| 388 | (line-end-position)))))))) | 388 | (line-end-position)))))))) |
| 389 | (nreverse tops)))) | 389 | (nreverse tops)))) |
| @@ -401,7 +401,7 @@ Return nil if there are no more forms, t otherwise." | |||
| 401 | (cond | 401 | (cond |
| 402 | ;; Eg nnmaildir seems to use [] as a form of comment syntax. | 402 | ;; Eg nnmaildir seems to use [] as a form of comment syntax. |
| 403 | ((not (listp form)) | 403 | ((not (listp form)) |
| 404 | (elint-warning "Skipping non-list form ‘%s’" form)) | 404 | (elint-warning "Skipping non-list form `%s'" form)) |
| 405 | ;; Add defined variable | 405 | ;; Add defined variable |
| 406 | ((memq (car form) '(defvar defconst defcustom)) | 406 | ((memq (car form) '(defvar defconst defcustom)) |
| 407 | (setq elint-env (elint-env-add-var elint-env (cadr form)))) | 407 | (setq elint-env (elint-env-add-var elint-env (cadr form)))) |
| @@ -432,7 +432,7 @@ Return nil if there are no more forms, t otherwise." | |||
| 432 | (if (or (< (length form) 4) | 432 | (if (or (< (length form) 4) |
| 433 | (eq (nth 3 form) t) | 433 | (eq (nth 3 form) t) |
| 434 | (unless (stringp (nth 2 form)) | 434 | (unless (stringp (nth 2 form)) |
| 435 | (elint-error "Malformed declaration for ‘%s’" | 435 | (elint-error "Malformed declaration for `%s'" |
| 436 | (cadr form)) | 436 | (cadr form)) |
| 437 | t)) | 437 | t)) |
| 438 | 'unknown | 438 | 'unknown |
| @@ -758,7 +758,7 @@ CODE can be a lambda expression, a macro, or byte-compiled code." | |||
| 758 | (and (eq (car-safe alias) 'quote) | 758 | (and (eq (car-safe alias) 'quote) |
| 759 | (eq (car-safe target) 'quote) | 759 | (eq (car-safe target) 'quote) |
| 760 | (eq (elint-get-args (cadr target) env) 'undefined) | 760 | (eq (elint-get-args (cadr target) env) 'undefined) |
| 761 | (elint-warning "Alias ‘%s’ has unknown target ‘%s’" | 761 | (elint-warning "Alias `%s' has unknown target `%s'" |
| 762 | (cadr alias) (cadr target)))) | 762 | (cadr alias) (cadr target)))) |
| 763 | (elint-form form env t)) | 763 | (elint-form form env t)) |
| 764 | 764 | ||
| @@ -796,7 +796,7 @@ CODE can be a lambda expression, a macro, or byte-compiled code." | |||
| 796 | (setq newenv | 796 | (setq newenv |
| 797 | (elint-env-add-var newenv (car s)))) | 797 | (elint-env-add-var newenv (car s)))) |
| 798 | (t (elint-error | 798 | (t (elint-error |
| 799 | "Malformed ‘let’ declaration: %s" s)))) | 799 | "Malformed `let' declaration: %s" s)))) |
| 800 | varlist) | 800 | varlist) |
| 801 | 801 | ||
| 802 | ;; Lint the body forms | 802 | ;; Lint the body forms |
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 91fc1572d50..d47e5d94b9d 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el | |||
| @@ -121,7 +121,7 @@ Emacs bug 6581 at URL `http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6581'." | |||
| 121 | 121 | ||
| 122 | (defun ert-get-test (symbol) | 122 | (defun ert-get-test (symbol) |
| 123 | "If SYMBOL names a test, return that. Signal an error otherwise." | 123 | "If SYMBOL names a test, return that. Signal an error otherwise." |
| 124 | (unless (ert-test-boundp symbol) (error "No test named ‘%S’" symbol)) | 124 | (unless (ert-test-boundp symbol) (error "No test named `%S'" symbol)) |
| 125 | (get symbol 'ert--test)) | 125 | (get symbol 'ert--test)) |
| 126 | 126 | ||
| 127 | (defun ert-set-test (symbol definition) | 127 | (defun ert-set-test (symbol definition) |
| @@ -2065,7 +2065,7 @@ and how to display message." | |||
| 2065 | "--" | 2065 | "--" |
| 2066 | ["Show backtrace" ert-results-pop-to-backtrace-for-test-at-point] | 2066 | ["Show backtrace" ert-results-pop-to-backtrace-for-test-at-point] |
| 2067 | ["Show messages" ert-results-pop-to-messages-for-test-at-point] | 2067 | ["Show messages" ert-results-pop-to-messages-for-test-at-point] |
| 2068 | ["Show ‘should’ forms" ert-results-pop-to-should-forms-for-test-at-point] | 2068 | ["Show `should' forms" ert-results-pop-to-should-forms-for-test-at-point] |
| 2069 | ["Describe test" ert-results-describe-test-at-point] | 2069 | ["Describe test" ert-results-describe-test-at-point] |
| 2070 | "--" | 2070 | "--" |
| 2071 | ["Delete test" ert-delete-test] | 2071 | ["Delete test" ert-delete-test] |
| @@ -2377,9 +2377,9 @@ To be used in the ERT results buffer." | |||
| 2377 | (ert--print-backtrace backtrace) | 2377 | (ert--print-backtrace backtrace) |
| 2378 | (debugger-make-xrefs) | 2378 | (debugger-make-xrefs) |
| 2379 | (goto-char (point-min)) | 2379 | (goto-char (point-min)) |
| 2380 | (insert "Backtrace for test ‘") | 2380 | (insert (substitute-command-keys "Backtrace for test `")) |
| 2381 | (ert-insert-test-name-button (ert-test-name test)) | 2381 | (ert-insert-test-name-button (ert-test-name test)) |
| 2382 | (insert "’:\n"))))))) | 2382 | (insert (substitute-command-keys "':\n")))))))) |
| 2383 | 2383 | ||
| 2384 | (defun ert-results-pop-to-messages-for-test-at-point () | 2384 | (defun ert-results-pop-to-messages-for-test-at-point () |
| 2385 | "Display the part of the *Messages* buffer generated during the test at point. | 2385 | "Display the part of the *Messages* buffer generated during the test at point. |
| @@ -2398,9 +2398,9 @@ To be used in the ERT results buffer." | |||
| 2398 | (ert-simple-view-mode) | 2398 | (ert-simple-view-mode) |
| 2399 | (insert (ert-test-result-messages result)) | 2399 | (insert (ert-test-result-messages result)) |
| 2400 | (goto-char (point-min)) | 2400 | (goto-char (point-min)) |
| 2401 | (insert "Messages for test ‘") | 2401 | (insert (substitute-command-keys "Messages for test `")) |
| 2402 | (ert-insert-test-name-button (ert-test-name test)) | 2402 | (ert-insert-test-name-button (ert-test-name test)) |
| 2403 | (insert "’:\n"))))) | 2403 | (insert (substitute-command-keys "':\n")))))) |
| 2404 | 2404 | ||
| 2405 | (defun ert-results-pop-to-should-forms-for-test-at-point () | 2405 | (defun ert-results-pop-to-should-forms-for-test-at-point () |
| 2406 | "Display the list of `should' forms executed during the test at point. | 2406 | "Display the list of `should' forms executed during the test at point. |
| @@ -2428,9 +2428,10 @@ To be used in the ERT results buffer." | |||
| 2428 | (ert--pp-with-indentation-and-newline form-description) | 2428 | (ert--pp-with-indentation-and-newline form-description) |
| 2429 | (ert--make-xrefs-region begin (point))))) | 2429 | (ert--make-xrefs-region begin (point))))) |
| 2430 | (goto-char (point-min)) | 2430 | (goto-char (point-min)) |
| 2431 | (insert "‘should’ forms executed during test ‘") | 2431 | (insert (substitute-command-keys |
| 2432 | "`should' forms executed during test `")) | ||
| 2432 | (ert-insert-test-name-button (ert-test-name test)) | 2433 | (ert-insert-test-name-button (ert-test-name test)) |
| 2433 | (insert "’:\n") | 2434 | (insert (substitute-command-keys "':\n")) |
| 2434 | (insert "\n") | 2435 | (insert "\n") |
| 2435 | (insert (concat "(Values are shallow copies and may have " | 2436 | (insert (concat "(Values are shallow copies and may have " |
| 2436 | "looked different during the test if they\n" | 2437 | "looked different during the test if they\n" |
| @@ -2507,9 +2508,11 @@ To be used in the ERT results buffer." | |||
| 2507 | (let ((file-name (and test-name | 2508 | (let ((file-name (and test-name |
| 2508 | (symbol-file test-name 'ert-deftest)))) | 2509 | (symbol-file test-name 'ert-deftest)))) |
| 2509 | (when file-name | 2510 | (when file-name |
| 2510 | (insert " defined in ‘" (file-name-nondirectory file-name) "’") | 2511 | (insert (format-message " defined in `%s'" |
| 2512 | (file-name-nondirectory file-name))) | ||
| 2511 | (save-excursion | 2513 | (save-excursion |
| 2512 | (re-search-backward "‘\\([^‘’]+\\)’" nil t) | 2514 | (re-search-backward (substitute-command-keys "`\\([^`']+\\)'") |
| 2515 | nil t) | ||
| 2513 | (help-xref-button 1 'help-function-def test-name file-name))) | 2516 | (help-xref-button 1 'help-function-def test-name file-name))) |
| 2514 | (insert ".") | 2517 | (insert ".") |
| 2515 | (fill-region-as-paragraph (point-min) (point)) | 2518 | (fill-region-as-paragraph (point-min) (point)) |
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el index 86a1f283238..026a4a749a9 100644 --- a/lisp/emacs-lisp/find-func.el +++ b/lisp/emacs-lisp/find-func.el | |||
| @@ -296,7 +296,7 @@ Otherwise, TYPE specifies the kind of definition, | |||
| 296 | and it is interpreted via `find-function-regexp-alist'. | 296 | and it is interpreted via `find-function-regexp-alist'. |
| 297 | The search is done in the source for library LIBRARY." | 297 | The search is done in the source for library LIBRARY." |
| 298 | (if (null library) | 298 | (if (null library) |
| 299 | (error "Don't know where ‘%s’ is defined" symbol)) | 299 | (error "Don't know where `%s' is defined" symbol)) |
| 300 | ;; Some functions are defined as part of the construct | 300 | ;; Some functions are defined as part of the construct |
| 301 | ;; that defines something else. | 301 | ;; that defines something else. |
| 302 | (while (and (symbolp symbol) (get symbol 'definition-name)) | 302 | (while (and (symbolp symbol) (get symbol 'definition-name)) |
| @@ -368,9 +368,9 @@ message about the whole chain of aliases." | |||
| 368 | (setq aliases (if aliases | 368 | (setq aliases (if aliases |
| 369 | (concat aliases | 369 | (concat aliases |
| 370 | (format-message | 370 | (format-message |
| 371 | ", which is an alias for ‘%s’" | 371 | ", which is an alias for `%s'" |
| 372 | (symbol-name def))) | 372 | (symbol-name def))) |
| 373 | (format-message "‘%s’ is an alias for ‘%s’" | 373 | (format-message "`%s' is an alias for `%s'" |
| 374 | function (symbol-name def))))) | 374 | function (symbol-name def))))) |
| 375 | (setq function (find-function-advised-original function) | 375 | (setq function (find-function-advised-original function) |
| 376 | def (find-function-advised-original function))) | 376 | def (find-function-advised-original function))) |
diff --git a/lisp/emacs-lisp/generator.el b/lisp/emacs-lisp/generator.el index 79e760d511c..123f64b9660 100644 --- a/lisp/emacs-lisp/generator.el +++ b/lisp/emacs-lisp/generator.el | |||
| @@ -661,7 +661,7 @@ The caller of `iter-next' receives VALUE, and the next call to | |||
| 661 | `iter-next' resumes execution at the previous | 661 | `iter-next' resumes execution at the previous |
| 662 | `iter-yield' point." | 662 | `iter-yield' point." |
| 663 | (identity value) | 663 | (identity value) |
| 664 | (error "‘iter-yield’ used outside a generator")) | 664 | (error "`iter-yield' used outside a generator")) |
| 665 | 665 | ||
| 666 | (defmacro iter-yield-from (value) | 666 | (defmacro iter-yield-from (value) |
| 667 | "When used inside a generator function, delegate to a sub-iterator. | 667 | "When used inside a generator function, delegate to a sub-iterator. |
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el index 67609820a33..bbe6b36ab9a 100644 --- a/lisp/emacs-lisp/gv.el +++ b/lisp/emacs-lisp/gv.el | |||
| @@ -239,7 +239,7 @@ instead the assignment is turned into something equivalent to | |||
| 239 | so as to preserve the semantics of `setf'." | 239 | so as to preserve the semantics of `setf'." |
| 240 | (declare (debug (sexp (&or symbolp lambda-expr) &optional sexp))) | 240 | (declare (debug (sexp (&or symbolp lambda-expr) &optional sexp))) |
| 241 | (when (eq 'lambda (car-safe setter)) | 241 | (when (eq 'lambda (car-safe setter)) |
| 242 | (message "Use ‘gv-define-setter’ or name %s's setter function" name)) | 242 | (message "Use `gv-define-setter' or name %s's setter function" name)) |
| 243 | `(gv-define-setter ,name (val &rest args) | 243 | `(gv-define-setter ,name (val &rest args) |
| 244 | ,(if fix-return | 244 | ,(if fix-return |
| 245 | `(macroexp-let2 nil v val | 245 | `(macroexp-let2 nil v val |
diff --git a/lisp/emacs-lisp/lisp-mnt.el b/lisp/emacs-lisp/lisp-mnt.el index 6fdd348caab..393f0dd99e8 100644 --- a/lisp/emacs-lisp/lisp-mnt.el +++ b/lisp/emacs-lisp/lisp-mnt.el | |||
| @@ -542,21 +542,21 @@ copyright notice is allowed." | |||
| 542 | ((null name) | 542 | ((null name) |
| 543 | "Can't find package name") | 543 | "Can't find package name") |
| 544 | ((not (lm-authors)) | 544 | ((not (lm-authors)) |
| 545 | "‘Author:’ tag missing") | 545 | "`Author:' tag missing") |
| 546 | ((not (lm-maintainer)) | 546 | ((not (lm-maintainer)) |
| 547 | "‘Maintainer:’ tag missing") | 547 | "`Maintainer:' tag missing") |
| 548 | ((not (lm-summary)) | 548 | ((not (lm-summary)) |
| 549 | "Can't find the one-line summary description") | 549 | "Can't find the one-line summary description") |
| 550 | ((not (lm-keywords)) | 550 | ((not (lm-keywords)) |
| 551 | "‘Keywords:’ tag missing") | 551 | "`Keywords:' tag missing") |
| 552 | ((not (lm-keywords-finder-p)) | 552 | ((not (lm-keywords-finder-p)) |
| 553 | "‘Keywords:’ has no valid finder keywords (see ‘finder-known-keywords’)") | 553 | "`Keywords:' has no valid finder keywords (see `finder-known-keywords')") |
| 554 | ((not (lm-commentary-mark)) | 554 | ((not (lm-commentary-mark)) |
| 555 | "Can't find a ‘Commentary’ section marker") | 555 | "Can't find a `Commentary' section marker") |
| 556 | ((not (lm-history-mark)) | 556 | ((not (lm-history-mark)) |
| 557 | "Can't find a ‘History’ section marker") | 557 | "Can't find a `History' section marker") |
| 558 | ((not (lm-code-mark)) | 558 | ((not (lm-code-mark)) |
| 559 | "Can't find a ‘Code’ section marker") | 559 | "Can't find a `Code' section marker") |
| 560 | ((progn | 560 | ((progn |
| 561 | (goto-char (point-max)) | 561 | (goto-char (point-max)) |
| 562 | (not | 562 | (not |
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el index 6189976e866..2c33d39c32f 100644 --- a/lisp/emacs-lisp/macroexp.el +++ b/lisp/emacs-lisp/macroexp.el | |||
| @@ -147,10 +147,10 @@ and also to avoid outputting the warning during normal execution." | |||
| 147 | (let ((instead (car obsolescence-data)) | 147 | (let ((instead (car obsolescence-data)) |
| 148 | (asof (nth 2 obsolescence-data))) | 148 | (asof (nth 2 obsolescence-data))) |
| 149 | (format-message | 149 | (format-message |
| 150 | "‘%s’ is an obsolete %s%s%s" fun type | 150 | "`%s' is an obsolete %s%s%s" fun type |
| 151 | (if asof (concat " (as of " asof ")") "") | 151 | (if asof (concat " (as of " asof ")") "") |
| 152 | (cond ((stringp instead) (concat "; " (substitute-command-keys instead))) | 152 | (cond ((stringp instead) (concat "; " (substitute-command-keys instead))) |
| 153 | (instead (format-message "; use ‘%s’ instead." instead)) | 153 | (instead (format-message "; use `%s' instead." instead)) |
| 154 | (t "."))))) | 154 | (t "."))))) |
| 155 | 155 | ||
| 156 | (defun macroexpand-1 (form &optional environment) | 156 | (defun macroexpand-1 (form &optional environment) |
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index 3ac7094990d..43fd4ef57a6 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el | |||
| @@ -199,9 +199,9 @@ Returns the number of actions taken." | |||
| 199 | (action (if help (nth 2 help) "act on"))) | 199 | (action (if help (nth 2 help) "act on"))) |
| 200 | (concat | 200 | (concat |
| 201 | (format-message "\ | 201 | (format-message "\ |
| 202 | Type SPC or ‘y’ to %s the current %s; | 202 | Type SPC or `y' to %s the current %s; |
| 203 | DEL or ‘n’ to skip the current %s; | 203 | DEL or `n' to skip the current %s; |
| 204 | RET or ‘q’ to give up on the %s (skip all remaining %s); | 204 | RET or `q' to give up on the %s (skip all remaining %s); |
| 205 | C-g to quit (cancel the whole command); | 205 | C-g to quit (cancel the whole command); |
| 206 | ! to %s all remaining %s;\n" | 206 | ! to %s all remaining %s;\n" |
| 207 | action object object action objects action | 207 | action object object action objects action |
diff --git a/lisp/emacs-lisp/nadvice.el b/lisp/emacs-lisp/nadvice.el index 7eebb5ebaf8..2cd34e12810 100644 --- a/lisp/emacs-lisp/nadvice.el +++ b/lisp/emacs-lisp/nadvice.el | |||
| @@ -95,7 +95,7 @@ Each element has the form (WHERE BYTECODE STACK) where: | |||
| 95 | (propertize (format "%s advice: " where) | 95 | (propertize (format "%s advice: " where) |
| 96 | 'face 'warning) | 96 | 'face 'warning) |
| 97 | (let ((fun (advice--car flist))) | 97 | (let ((fun (advice--car flist))) |
| 98 | (if (symbolp fun) (format-message "‘%S’" fun) | 98 | (if (symbolp fun) (format-message "`%S'" fun) |
| 99 | (let* ((name (cdr (assq 'name (advice--props flist)))) | 99 | (let* ((name (cdr (assq 'name (advice--props flist)))) |
| 100 | (doc (documentation fun t)) | 100 | (doc (documentation fun t)) |
| 101 | (usage (help-split-fundoc doc function))) | 101 | (usage (help-split-fundoc doc function))) |
| @@ -176,7 +176,7 @@ WHERE is a symbol to select an entry in `advice--where-alist'." | |||
| 176 | (advice--make-1 (aref main 1) (aref main 3) | 176 | (advice--make-1 (aref main 1) (aref main 3) |
| 177 | (advice--car main) rest (advice--props main))) | 177 | (advice--car main) rest (advice--props main))) |
| 178 | (let ((desc (assq where advice--where-alist))) | 178 | (let ((desc (assq where advice--where-alist))) |
| 179 | (unless desc (error "Unknown add-function location ‘%S’" where)) | 179 | (unless desc (error "Unknown add-function location `%S'" where)) |
| 180 | (advice--make-1 (nth 1 desc) (nth 2 desc) | 180 | (advice--make-1 (nth 1 desc) (nth 2 desc) |
| 181 | function main props))))) | 181 | function main props))))) |
| 182 | 182 | ||
| @@ -461,7 +461,7 @@ otherwise it is named `SYMBOL@NAME'. | |||
| 461 | (advice (cond ((null name) `(lambda ,lambda-list ,@body)) | 461 | (advice (cond ((null name) `(lambda ,lambda-list ,@body)) |
| 462 | ((or (stringp name) (symbolp name)) | 462 | ((or (stringp name) (symbolp name)) |
| 463 | (intern (format "%s@%s" symbol name))) | 463 | (intern (format "%s@%s" symbol name))) |
| 464 | (t (error "Unrecognized name spec ‘%S’" name))))) | 464 | (t (error "Unrecognized name spec `%S'" name))))) |
| 465 | `(prog1 ,@(and (symbolp advice) `((defun ,advice ,lambda-list ,@body))) | 465 | `(prog1 ,@(and (symbolp advice) `((defun ,advice ,lambda-list ,@body))) |
| 466 | (advice-add ',symbol ,where #',advice ,@(and props `(',props)))))) | 466 | (advice-add ',symbol ,where #',advice ,@(and props `(',props)))))) |
| 467 | 467 | ||
diff --git a/lisp/emacs-lisp/package-x.el b/lisp/emacs-lisp/package-x.el index 608bf734bef..81d0b834722 100644 --- a/lisp/emacs-lisp/package-x.el +++ b/lisp/emacs-lisp/package-x.el | |||
| @@ -296,7 +296,7 @@ destination, prompt for one." | |||
| 296 | ((string-match "\\.tar\\'" file) | 296 | ((string-match "\\.tar\\'" file) |
| 297 | (tar-mode) (package-tar-file-info)) | 297 | (tar-mode) (package-tar-file-info)) |
| 298 | ((string-match "\\.el\\'" file) (package-buffer-info)) | 298 | ((string-match "\\.el\\'" file) (package-buffer-info)) |
| 299 | (t (error "Unrecognized extension ‘%s’" | 299 | (t (error "Unrecognized extension `%s'" |
| 300 | (file-name-extension file)))))) | 300 | (file-name-extension file)))))) |
| 301 | (package-upload-buffer-internal pkg-desc (file-name-extension file))))) | 301 | (package-upload-buffer-internal pkg-desc (file-name-extension file))))) |
| 302 | 302 | ||
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index f6583bba487..b0d2ff96629 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -456,13 +456,13 @@ This is, approximately, the inverse of `version-to-list'. | |||
| 456 | (push (int-to-string num) str-list) | 456 | (push (int-to-string num) str-list) |
| 457 | (push "." str-list)) | 457 | (push "." str-list)) |
| 458 | ((< num -4) | 458 | ((< num -4) |
| 459 | (error "Invalid version list ‘%s’" vlist)) | 459 | (error "Invalid version list `%s'" vlist)) |
| 460 | (t | 460 | (t |
| 461 | ;; pre, or beta, or alpha | 461 | ;; pre, or beta, or alpha |
| 462 | (cond ((equal "." (car str-list)) | 462 | (cond ((equal "." (car str-list)) |
| 463 | (pop str-list)) | 463 | (pop str-list)) |
| 464 | ((not (string-match "[0-9]+" (car str-list))) | 464 | ((not (string-match "[0-9]+" (car str-list))) |
| 465 | (error "Invalid version list ‘%s’" vlist))) | 465 | (error "Invalid version list `%s'" vlist))) |
| 466 | (push (cond ((= num -1) "pre") | 466 | (push (cond ((= num -1) "pre") |
| 467 | ((= num -2) "beta") | 467 | ((= num -2) "beta") |
| 468 | ((= num -3) "alpha") | 468 | ((= num -3) "alpha") |
| @@ -623,7 +623,7 @@ Return the max version (as a string) if the package is held at a lower version." | |||
| 623 | ((stringp force) ; held | 623 | ((stringp force) ; held |
| 624 | (unless (version-list-= version (version-to-list force)) | 624 | (unless (version-list-= version (version-to-list force)) |
| 625 | force)) | 625 | force)) |
| 626 | (t (error "Invalid element in ‘package-load-list’"))))) | 626 | (t (error "Invalid element in `package-load-list'"))))) |
| 627 | 627 | ||
| 628 | (defun package-built-in-p (package &optional min-version) | 628 | (defun package-built-in-p (package &optional min-version) |
| 629 | "Return true if PACKAGE is built-in to Emacs. | 629 | "Return true if PACKAGE is built-in to Emacs. |
| @@ -672,7 +672,7 @@ correspond to previously loaded files (those returned by | |||
| 672 | (let* ((name (package-desc-name pkg-desc)) | 672 | (let* ((name (package-desc-name pkg-desc)) |
| 673 | (pkg-dir (package-desc-dir pkg-desc))) | 673 | (pkg-dir (package-desc-dir pkg-desc))) |
| 674 | (unless pkg-dir | 674 | (unless pkg-dir |
| 675 | (error "Internal error: unable to find directory for ‘%s’" | 675 | (error "Internal error: unable to find directory for `%s'" |
| 676 | (package-desc-full-name pkg-desc))) | 676 | (package-desc-full-name pkg-desc))) |
| 677 | (let* ((loaded-files-list (when reload | 677 | (let* ((loaded-files-list (when reload |
| 678 | (package--list-loaded-files pkg-dir)))) | 678 | (package--list-loaded-files pkg-dir)))) |
| @@ -767,8 +767,8 @@ Newer versions are always activated, regardless of FORCE." | |||
| 767 | (unless (package-activate (car req)) | 767 | (unless (package-activate (car req)) |
| 768 | (throw 'dep-failure req)))))) | 768 | (throw 'dep-failure req)))))) |
| 769 | (if fail | 769 | (if fail |
| 770 | (warn "Unable to activate package ‘%s’. | 770 | (warn "Unable to activate package `%s'. |
| 771 | Required package ‘%s-%s’ is unavailable" | 771 | Required package `%s-%s' is unavailable" |
| 772 | package (car fail) (package-version-join (cadr fail))) | 772 | package (car fail) (package-version-join (cadr fail))) |
| 773 | ;; If all goes well, activate the package itself. | 773 | ;; If all goes well, activate the package itself. |
| 774 | (package-activate-1 pkg-vec force))))))) | 774 | (package-activate-1 pkg-vec force))))))) |
| @@ -1484,7 +1484,7 @@ similar to an entry in `package-alist'. Save the cached copy to | |||
| 1484 | ;; Even if the sig fails, this download is done, so | 1484 | ;; Even if the sig fails, this download is done, so |
| 1485 | ;; remove it from the in-progress list. | 1485 | ;; remove it from the in-progress list. |
| 1486 | (package--update-downloads-in-progress archive) | 1486 | (package--update-downloads-in-progress archive) |
| 1487 | (error "Unsigned archive ‘%s’" name)) | 1487 | (error "Unsigned archive `%s'" name)) |
| 1488 | ;; Write out the archives file. | 1488 | ;; Write out the archives file. |
| 1489 | (write-region content nil local-file nil 'silent) | 1489 | (write-region content nil local-file nil 'silent) |
| 1490 | ;; Write out good signatures into archive-contents.signed file. | 1490 | ;; Write out good signatures into archive-contents.signed file. |
| @@ -1514,7 +1514,7 @@ perform the downloads asynchronously." | |||
| 1514 | (when async | 1514 | (when async |
| 1515 | ;; The t at the end means to propagate connection errors. | 1515 | ;; The t at the end means to propagate connection errors. |
| 1516 | (lambda () (package--update-downloads-in-progress archive) t))) | 1516 | (lambda () (package--update-downloads-in-progress archive) t))) |
| 1517 | (error (message "Failed to download ‘%s’ archive." | 1517 | (error (message "Failed to download `%s' archive." |
| 1518 | (car archive)))))) | 1518 | (car archive)))))) |
| 1519 | 1519 | ||
| 1520 | ;;;###autoload | 1520 | ;;;###autoload |
| @@ -1583,7 +1583,7 @@ SEEN is used internally to detect infinite recursion." | |||
| 1583 | (package-desc-full-name already)) | 1583 | (package-desc-full-name already)) |
| 1584 | (setq packages (delq already packages)) | 1584 | (setq packages (delq already packages)) |
| 1585 | (setq already nil)) | 1585 | (setq already nil)) |
| 1586 | (error "Need package ‘%s-%s’, but only %s is being installed" | 1586 | (error "Need package `%s-%s', but only %s is being installed" |
| 1587 | next-pkg (package-version-join next-version) | 1587 | next-pkg (package-version-join next-version) |
| 1588 | (package-version-join (package-desc-version already))))) | 1588 | (package-version-join (package-desc-version already))))) |
| 1589 | (cond | 1589 | (cond |
| @@ -1612,20 +1612,20 @@ SEEN is used internally to detect infinite recursion." | |||
| 1612 | (setq problem | 1612 | (setq problem |
| 1613 | (if (stringp disabled) | 1613 | (if (stringp disabled) |
| 1614 | (format-message | 1614 | (format-message |
| 1615 | "Package ‘%s’ held at version %s, but version %s required" | 1615 | "Package `%s' held at version %s, but version %s required" |
| 1616 | next-pkg disabled | 1616 | next-pkg disabled |
| 1617 | (package-version-join next-version)) | 1617 | (package-version-join next-version)) |
| 1618 | (format-message "Required package ‘%s’ is disabled" | 1618 | (format-message "Required package `%s' is disabled" |
| 1619 | next-pkg))))) | 1619 | next-pkg))))) |
| 1620 | (t (setq found pkg-desc))))) | 1620 | (t (setq found pkg-desc))))) |
| 1621 | (unless found | 1621 | (unless found |
| 1622 | (cond | 1622 | (cond |
| 1623 | (problem (error "%s" problem)) | 1623 | (problem (error "%s" problem)) |
| 1624 | (found-something | 1624 | (found-something |
| 1625 | (error "Need package ‘%s-%s’, but only %s is available" | 1625 | (error "Need package `%s-%s', but only %s is available" |
| 1626 | next-pkg (package-version-join next-version) | 1626 | next-pkg (package-version-join next-version) |
| 1627 | found-something)) | 1627 | found-something)) |
| 1628 | (t (error "Package ‘%s-%s’ is unavailable" | 1628 | (t (error "Package `%s-%s' is unavailable" |
| 1629 | next-pkg (package-version-join next-version))))) | 1629 | next-pkg (package-version-join next-version))))) |
| 1630 | (setq packages | 1630 | (setq packages |
| 1631 | (package-compute-transaction (cons found packages) | 1631 | (package-compute-transaction (cons found packages) |
| @@ -1785,7 +1785,7 @@ if all the in-between dependencies are also in PACKAGE-LIST." | |||
| 1785 | (unless (or good-sigs (eq package-check-signature 'allow-unsigned)) | 1785 | (unless (or good-sigs (eq package-check-signature 'allow-unsigned)) |
| 1786 | ;; Even if the sig fails, this download is done, so | 1786 | ;; Even if the sig fails, this download is done, so |
| 1787 | ;; remove it from the in-progress list. | 1787 | ;; remove it from the in-progress list. |
| 1788 | (error "Unsigned package: ‘%s’" | 1788 | (error "Unsigned package: `%s'" |
| 1789 | (package-desc-name pkg-desc))) | 1789 | (package-desc-name pkg-desc))) |
| 1790 | ;; Signature checked, unpack now. | 1790 | ;; Signature checked, unpack now. |
| 1791 | (with-temp-buffer (insert content) | 1791 | (with-temp-buffer (insert content) |
| @@ -1926,7 +1926,7 @@ to install it but still mark it as selected." | |||
| 1926 | (package-desc-reqs pkg))) | 1926 | (package-desc-reqs pkg))) |
| 1927 | (package-compute-transaction () (list (list pkg)))))) | 1927 | (package-compute-transaction () (list (list pkg)))))) |
| 1928 | (package-download-transaction transaction) | 1928 | (package-download-transaction transaction) |
| 1929 | (message "‘%s’ is already installed" (package-desc-full-name pkg)))) | 1929 | (message "`%s' is already installed" (package-desc-full-name pkg)))) |
| 1930 | 1930 | ||
| 1931 | (defun package-strip-rcs-id (str) | 1931 | (defun package-strip-rcs-id (str) |
| 1932 | "Strip RCS version ID from the version string STR. | 1932 | "Strip RCS version ID from the version string STR. |
| @@ -2001,7 +2001,7 @@ If some packages are not installed propose to install them." | |||
| 2001 | ;; using here, because the outcome is the same either way (nothing | 2001 | ;; using here, because the outcome is the same either way (nothing |
| 2002 | ;; gets installed). | 2002 | ;; gets installed). |
| 2003 | (if (not package-selected-packages) | 2003 | (if (not package-selected-packages) |
| 2004 | (message "‘package-selected-packages’ is empty, nothing to install") | 2004 | (message "`package-selected-packages' is empty, nothing to install") |
| 2005 | (cl-loop for p in package-selected-packages | 2005 | (cl-loop for p in package-selected-packages |
| 2006 | unless (package-installed-p p) | 2006 | unless (package-installed-p p) |
| 2007 | collect p into lst | 2007 | collect p into lst |
| @@ -2066,13 +2066,13 @@ If NOSAVE is non-nil, the package is not removed from | |||
| 2066 | (expand-file-name package-user-dir)) | 2066 | (expand-file-name package-user-dir)) |
| 2067 | (expand-file-name dir))) | 2067 | (expand-file-name dir))) |
| 2068 | ;; Don't delete "system" packages. | 2068 | ;; Don't delete "system" packages. |
| 2069 | (error "Package ‘%s’ is a system package, not deleting" | 2069 | (error "Package `%s' is a system package, not deleting" |
| 2070 | (package-desc-full-name pkg-desc))) | 2070 | (package-desc-full-name pkg-desc))) |
| 2071 | ((and (null force) | 2071 | ((and (null force) |
| 2072 | (setq pkg-used-elsewhere-by | 2072 | (setq pkg-used-elsewhere-by |
| 2073 | (package--used-elsewhere-p pkg-desc))) | 2073 | (package--used-elsewhere-p pkg-desc))) |
| 2074 | ;; Don't delete packages used as dependency elsewhere. | 2074 | ;; Don't delete packages used as dependency elsewhere. |
| 2075 | (error "Package ‘%s’ is used by ‘%s’ as dependency, not deleting" | 2075 | (error "Package `%s' is used by `%s' as dependency, not deleting" |
| 2076 | (package-desc-full-name pkg-desc) | 2076 | (package-desc-full-name pkg-desc) |
| 2077 | (package-desc-name pkg-used-elsewhere-by))) | 2077 | (package-desc-name pkg-used-elsewhere-by))) |
| 2078 | (t | 2078 | (t |
| @@ -2087,7 +2087,7 @@ If NOSAVE is non-nil, the package is not removed from | |||
| 2087 | (delete pkg-desc pkgs) | 2087 | (delete pkg-desc pkgs) |
| 2088 | (unless (cdr pkgs) | 2088 | (unless (cdr pkgs) |
| 2089 | (setq package-alist (delq pkgs package-alist)))) | 2089 | (setq package-alist (delq pkgs package-alist)))) |
| 2090 | (message "Package ‘%s’ deleted." (package-desc-full-name pkg-desc)))))) | 2090 | (message "Package `%s' deleted." (package-desc-full-name pkg-desc)))))) |
| 2091 | 2091 | ||
| 2092 | ;;;###autoload | 2092 | ;;;###autoload |
| 2093 | (defun package-reinstall (pkg) | 2093 | (defun package-reinstall (pkg) |
| @@ -2116,7 +2116,8 @@ will be deleted." | |||
| 2116 | ;; do absolutely nothing. | 2116 | ;; do absolutely nothing. |
| 2117 | (when (or package-selected-packages | 2117 | (when (or package-selected-packages |
| 2118 | (yes-or-no-p | 2118 | (yes-or-no-p |
| 2119 | "‘package-selected-packages’ is empty! Really remove ALL packages? ")) | 2119 | (format-message |
| 2120 | "`package-selected-packages' is empty! Really remove ALL packages? "))) | ||
| 2120 | (let ((removable (package--removable-packages))) | 2121 | (let ((removable (package--removable-packages))) |
| 2121 | (if removable | 2122 | (if removable |
| 2122 | (when (y-or-n-p | 2123 | (when (y-or-n-p |
| @@ -2224,7 +2225,7 @@ Otherwise no newline is inserted." | |||
| 2224 | "Installed" | 2225 | "Installed" |
| 2225 | (capitalize status)) | 2226 | (capitalize status)) |
| 2226 | 'font-lock-face 'package-status-builtin-face)) | 2227 | 'font-lock-face 'package-status-builtin-face)) |
| 2227 | (insert (substitute-command-keys " in ‘")) | 2228 | (insert (substitute-command-keys " in `")) |
| 2228 | (let ((dir (abbreviate-file-name | 2229 | (let ((dir (abbreviate-file-name |
| 2229 | (file-name-as-directory | 2230 | (file-name-as-directory |
| 2230 | (if (file-in-directory-p pkg-dir package-user-dir) | 2231 | (if (file-in-directory-p pkg-dir package-user-dir) |
| @@ -2234,10 +2235,10 @@ Otherwise no newline is inserted." | |||
| 2234 | (if (and (package-built-in-p name) | 2235 | (if (and (package-built-in-p name) |
| 2235 | (not (package-built-in-p name version))) | 2236 | (not (package-built-in-p name version))) |
| 2236 | (insert (substitute-command-keys | 2237 | (insert (substitute-command-keys |
| 2237 | "’,\n shadowing a ") | 2238 | "',\n shadowing a ") |
| 2238 | (propertize "built-in package" | 2239 | (propertize "built-in package" |
| 2239 | 'font-lock-face 'package-status-builtin-face)) | 2240 | 'font-lock-face 'package-status-builtin-face)) |
| 2240 | (insert (substitute-command-keys "’"))) | 2241 | (insert (substitute-command-keys "'"))) |
| 2241 | (if signed | 2242 | (if signed |
| 2242 | (insert ".") | 2243 | (insert ".") |
| 2243 | (insert " (unsigned).")) | 2244 | (insert " (unsigned).")) |
| @@ -2385,7 +2386,7 @@ Otherwise no newline is inserted." | |||
| 2385 | 2386 | ||
| 2386 | (defun package-install-button-action (button) | 2387 | (defun package-install-button-action (button) |
| 2387 | (let ((pkg-desc (button-get button 'package-desc))) | 2388 | (let ((pkg-desc (button-get button 'package-desc))) |
| 2388 | (when (y-or-n-p (format-message "Install package ‘%s’? " | 2389 | (when (y-or-n-p (format-message "Install package `%s'? " |
| 2389 | (package-desc-full-name pkg-desc))) | 2390 | (package-desc-full-name pkg-desc))) |
| 2390 | (package-install pkg-desc nil) | 2391 | (package-install pkg-desc nil) |
| 2391 | (revert-buffer nil t) | 2392 | (revert-buffer nil t) |
| @@ -2393,7 +2394,7 @@ Otherwise no newline is inserted." | |||
| 2393 | 2394 | ||
| 2394 | (defun package-delete-button-action (button) | 2395 | (defun package-delete-button-action (button) |
| 2395 | (let ((pkg-desc (button-get button 'package-desc))) | 2396 | (let ((pkg-desc (button-get button 'package-desc))) |
| 2396 | (when (y-or-n-p (format-message "Delete package ‘%s’? " | 2397 | (when (y-or-n-p (format-message "Delete package `%s'? " |
| 2397 | (package-desc-full-name pkg-desc))) | 2398 | (package-desc-full-name pkg-desc))) |
| 2398 | (package-delete pkg-desc) | 2399 | (package-delete pkg-desc) |
| 2399 | (revert-buffer nil t) | 2400 | (revert-buffer nil t) |
| @@ -2912,8 +2913,8 @@ If optional arg BUTTON is non-nil, describe its associated package." | |||
| 2912 | (cl-remove-if-not (lambda (e) (string-match re (symbol-name (car e)))) | 2913 | (cl-remove-if-not (lambda (e) (string-match re (symbol-name (car e)))) |
| 2913 | package-archive-contents))) | 2914 | package-archive-contents))) |
| 2914 | (message (substitute-command-keys | 2915 | (message (substitute-command-keys |
| 2915 | (concat "Hiding %s packages, type ‘\\[package-menu-toggle-hiding]’" | 2916 | (concat "Hiding %s packages, type `\\[package-menu-toggle-hiding]'" |
| 2916 | " to toggle or ‘\\[customize-variable] RET package-hidden-regexps’" | 2917 | " to toggle or `\\[customize-variable] RET package-hidden-regexps'" |
| 2917 | " to customize it")) | 2918 | " to customize it")) |
| 2918 | (length hidden))))) | 2919 | (length hidden))))) |
| 2919 | 2920 | ||
| @@ -3097,7 +3098,7 @@ prompt (see `package-menu--prompt-transaction-p')." | |||
| 3097 | (length packages) | 3098 | (length packages) |
| 3098 | (mapconcat #'package-desc-full-name packages ", "))) | 3099 | (mapconcat #'package-desc-full-name packages ", "))) |
| 3099 | ;; Exactly 1 | 3100 | ;; Exactly 1 |
| 3100 | (t (format-message "package ‘%s’" | 3101 | (t (format-message "package `%s'" |
| 3101 | (package-desc-full-name (car packages)))))) | 3102 | (package-desc-full-name (car packages)))))) |
| 3102 | 3103 | ||
| 3103 | (defun package-menu--prompt-transaction-p (delete install upgrade) | 3104 | (defun package-menu--prompt-transaction-p (delete install upgrade) |
| @@ -3153,7 +3154,7 @@ objects removed." | |||
| 3153 | (condition-case-unless-debug err | 3154 | (condition-case-unless-debug err |
| 3154 | (let ((inhibit-message package-menu-async)) | 3155 | (let ((inhibit-message package-menu-async)) |
| 3155 | (package-delete elt nil 'nosave)) | 3156 | (package-delete elt nil 'nosave)) |
| 3156 | (error (message "Error trying to delete ‘%s’: %S" | 3157 | (error (message "Error trying to delete `%s': %S" |
| 3157 | (package-desc-full-name elt) | 3158 | (package-desc-full-name elt) |
| 3158 | err)))))) | 3159 | err)))))) |
| 3159 | 3160 | ||
| @@ -3284,7 +3285,7 @@ Store this list in `package-menu--new-package-list'." | |||
| 3284 | (defun package-menu--find-and-notify-upgrades () | 3285 | (defun package-menu--find-and-notify-upgrades () |
| 3285 | "Notify the user of upgradable packages." | 3286 | "Notify the user of upgradable packages." |
| 3286 | (when-let ((upgrades (package-menu--find-upgrades))) | 3287 | (when-let ((upgrades (package-menu--find-upgrades))) |
| 3287 | (message "%d package%s can be upgraded; type ‘%s’ to mark %s for upgrading." | 3288 | (message "%d package%s can be upgraded; type `%s' to mark %s for upgrading." |
| 3288 | (length upgrades) | 3289 | (length upgrades) |
| 3289 | (if (= (length upgrades) 1) "" "s") | 3290 | (if (= (length upgrades) 1) "" "s") |
| 3290 | (substitute-command-keys "\\[package-menu-mark-upgrades]") | 3291 | (substitute-command-keys "\\[package-menu-mark-upgrades]") |
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el index c7f07846618..ea4f38add76 100644 --- a/lisp/emacs-lisp/pcase.el +++ b/lisp/emacs-lisp/pcase.el | |||
| @@ -197,7 +197,7 @@ Currently, the following patterns are provided this way:" | |||
| 197 | (pcase--dontwarn-upats (cons x pcase--dontwarn-upats))) | 197 | (pcase--dontwarn-upats (cons x pcase--dontwarn-upats))) |
| 198 | (pcase--expand | 198 | (pcase--expand |
| 199 | ;; FIXME: Could we add the FILE:LINE data in the error message? | 199 | ;; FIXME: Could we add the FILE:LINE data in the error message? |
| 200 | exp (append cases `((,x (error "No clause matching ‘%S’" ,x))))))) | 200 | exp (append cases `((,x (error "No clause matching `%S'" ,x))))))) |
| 201 | 201 | ||
| 202 | ;;;###autoload | 202 | ;;;###autoload |
| 203 | (defmacro pcase-lambda (lambda-list &rest body) | 203 | (defmacro pcase-lambda (lambda-list &rest body) |
| @@ -775,7 +775,7 @@ Otherwise, it defers to REST which is a list of branches of the form | |||
| 775 | (let ((code (pcase--u1 matches code vars rest))) | 775 | (let ((code (pcase--u1 matches code vars rest))) |
| 776 | (if (eq upat '_) code | 776 | (if (eq upat '_) code |
| 777 | (macroexp--warn-and-return | 777 | (macroexp--warn-and-return |
| 778 | "Pattern t is deprecated. Use ‘_’ instead" | 778 | "Pattern t is deprecated. Use `_' instead" |
| 779 | code)))) | 779 | code)))) |
| 780 | ((eq upat 'pcase--dontcare) :pcase--dontcare) | 780 | ((eq upat 'pcase--dontcare) :pcase--dontcare) |
| 781 | ((memq (car-safe upat) '(guard pred)) | 781 | ((memq (car-safe upat) '(guard pred)) |
| @@ -860,7 +860,7 @@ Otherwise, it defers to REST which is a list of branches of the form | |||
| 860 | (pcase--u rest)) | 860 | (pcase--u rest)) |
| 861 | vars | 861 | vars |
| 862 | (list `((and . ,matches) ,code . ,vars)))) | 862 | (list `((and . ,matches) ,code . ,vars)))) |
| 863 | (t (error "Unknown pattern ‘%S’" upat))))) | 863 | (t (error "Unknown pattern `%S'" upat))))) |
| 864 | (t (error "Incorrect MATCH %S" (car matches))))) | 864 | (t (error "Incorrect MATCH %S" (car matches))))) |
| 865 | 865 | ||
| 866 | (def-edebug-spec | 866 | (def-edebug-spec |
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el index de1f6d15a75..a499b038b93 100644 --- a/lisp/emacs-lisp/re-builder.el +++ b/lisp/emacs-lisp/re-builder.el | |||
| @@ -458,7 +458,7 @@ matching parts of the target buffer will be highlighted." | |||
| 458 | (setq reb-subexp-mode t) | 458 | (setq reb-subexp-mode t) |
| 459 | (reb-update-modestring) | 459 | (reb-update-modestring) |
| 460 | (use-local-map reb-subexp-mode-map) | 460 | (use-local-map reb-subexp-mode-map) |
| 461 | (message "‘0’-‘9’ to display subexpressions ‘q’ to quit subexp mode")) | 461 | (message "`0'-`9' to display subexpressions `q' to quit subexp mode")) |
| 462 | 462 | ||
| 463 | (defun reb-show-subexp (subexp &optional pause) | 463 | (defun reb-show-subexp (subexp &optional pause) |
| 464 | "Visually show limit of subexpression SUBEXP of recent search. | 464 | "Visually show limit of subexpression SUBEXP of recent search. |
diff --git a/lisp/emacs-lisp/ring.el b/lisp/emacs-lisp/ring.el index 8badac391c7..2447dfa8e38 100644 --- a/lisp/emacs-lisp/ring.el +++ b/lisp/emacs-lisp/ring.el | |||
| @@ -175,14 +175,14 @@ Comparison is done via `equal'. The index is 0-based." | |||
| 175 | "Return the next item in the RING, after ITEM. | 175 | "Return the next item in the RING, after ITEM. |
| 176 | Raise error if ITEM is not in the RING." | 176 | Raise error if ITEM is not in the RING." |
| 177 | (let ((curr-index (ring-member ring item))) | 177 | (let ((curr-index (ring-member ring item))) |
| 178 | (unless curr-index (error "Item is not in the ring: ‘%s’" item)) | 178 | (unless curr-index (error "Item is not in the ring: `%s'" item)) |
| 179 | (ring-ref ring (ring-plus1 curr-index (ring-length ring))))) | 179 | (ring-ref ring (ring-plus1 curr-index (ring-length ring))))) |
| 180 | 180 | ||
| 181 | (defun ring-previous (ring item) | 181 | (defun ring-previous (ring item) |
| 182 | "Return the previous item in the RING, before ITEM. | 182 | "Return the previous item in the RING, before ITEM. |
| 183 | Raise error if ITEM is not in the RING." | 183 | Raise error if ITEM is not in the RING." |
| 184 | (let ((curr-index (ring-member ring item))) | 184 | (let ((curr-index (ring-member ring item))) |
| 185 | (unless curr-index (error "Item is not in the ring: ‘%s’" item)) | 185 | (unless curr-index (error "Item is not in the ring: `%s'" item)) |
| 186 | (ring-ref ring (ring-minus1 curr-index (ring-length ring))))) | 186 | (ring-ref ring (ring-minus1 curr-index (ring-length ring))))) |
| 187 | 187 | ||
| 188 | (defun ring-extend (ring x) | 188 | (defun ring-extend (ring x) |
diff --git a/lisp/emacs-lisp/rx.el b/lisp/emacs-lisp/rx.el index 7b0de6edb69..a21ac7a2835 100644 --- a/lisp/emacs-lisp/rx.el +++ b/lisp/emacs-lisp/rx.el | |||
| @@ -324,7 +324,7 @@ a standalone symbol." | |||
| 324 | (defun rx-check (form) | 324 | (defun rx-check (form) |
| 325 | "Check FORM according to its car's parsing info." | 325 | "Check FORM according to its car's parsing info." |
| 326 | (unless (listp form) | 326 | (unless (listp form) |
| 327 | (error "rx ‘%s’ needs argument(s)" form)) | 327 | (error "rx `%s' needs argument(s)" form)) |
| 328 | (let* ((rx (rx-info (car form) 'head)) | 328 | (let* ((rx (rx-info (car form) 'head)) |
| 329 | (nargs (1- (length form))) | 329 | (nargs (1- (length form))) |
| 330 | (min-args (nth 1 rx)) | 330 | (min-args (nth 1 rx)) |
| @@ -332,16 +332,16 @@ a standalone symbol." | |||
| 332 | (type-pred (nth 3 rx))) | 332 | (type-pred (nth 3 rx))) |
| 333 | (when (and (not (null min-args)) | 333 | (when (and (not (null min-args)) |
| 334 | (< nargs min-args)) | 334 | (< nargs min-args)) |
| 335 | (error "rx form ‘%s’ requires at least %d args" | 335 | (error "rx form `%s' requires at least %d args" |
| 336 | (car form) min-args)) | 336 | (car form) min-args)) |
| 337 | (when (and (not (null max-args)) | 337 | (when (and (not (null max-args)) |
| 338 | (> nargs max-args)) | 338 | (> nargs max-args)) |
| 339 | (error "rx form ‘%s’ accepts at most %d args" | 339 | (error "rx form `%s' accepts at most %d args" |
| 340 | (car form) max-args)) | 340 | (car form) max-args)) |
| 341 | (when (not (null type-pred)) | 341 | (when (not (null type-pred)) |
| 342 | (dolist (sub-form (cdr form)) | 342 | (dolist (sub-form (cdr form)) |
| 343 | (unless (funcall type-pred sub-form) | 343 | (unless (funcall type-pred sub-form) |
| 344 | (error "rx form ‘%s’ requires args satisfying ‘%s’" | 344 | (error "rx form `%s' requires args satisfying `%s'" |
| 345 | (car form) type-pred)))))) | 345 | (car form) type-pred)))))) |
| 346 | 346 | ||
| 347 | 347 | ||
| @@ -395,7 +395,7 @@ FORM is of the form `(and FORM1 ...)'." | |||
| 395 | (defun rx-anything (form) | 395 | (defun rx-anything (form) |
| 396 | "Match any character." | 396 | "Match any character." |
| 397 | (if (consp form) | 397 | (if (consp form) |
| 398 | (error "rx ‘anything’ syntax error: %s" form)) | 398 | (error "rx `anything' syntax error: %s" form)) |
| 399 | (rx-or (list 'or 'not-newline ?\n))) | 399 | (rx-or (list 'or 'not-newline ?\n))) |
| 400 | 400 | ||
| 401 | 401 | ||
| @@ -452,7 +452,7 @@ Only both edges of each range is checked." | |||
| 452 | (let ((i 0) | 452 | (let ((i 0) |
| 453 | c1 c2 l) | 453 | c1 c2 l) |
| 454 | (if (= 0 (length str)) | 454 | (if (= 0 (length str)) |
| 455 | (error "String arg for Rx ‘any’ must not be empty")) | 455 | (error "String arg for Rx `any' must not be empty")) |
| 456 | (while (string-match ".-." str i) | 456 | (while (string-match ".-." str i) |
| 457 | ;; string before range: convert it to characters | 457 | ;; string before range: convert it to characters |
| 458 | (if (< i (match-beginning 0)) | 458 | (if (< i (match-beginning 0)) |
| @@ -482,13 +482,13 @@ Only both edges of each range is checked." | |||
| 482 | (error nil)))) | 482 | (error nil)))) |
| 483 | (if (or (null translation) | 483 | (if (or (null translation) |
| 484 | (null (string-match "\\`\\[\\[:[-a-z]+:\\]\\]\\'" translation))) | 484 | (null (string-match "\\`\\[\\[:[-a-z]+:\\]\\]\\'" translation))) |
| 485 | (error "Invalid char class ‘%s’ in Rx ‘any’" arg)) | 485 | (error "Invalid char class `%s' in Rx `any'" arg)) |
| 486 | (list (substring translation 1 -1)))) ; strip outer brackets | 486 | (list (substring translation 1 -1)))) ; strip outer brackets |
| 487 | ((and (integerp (car-safe arg)) (integerp (cdr-safe arg))) | 487 | ((and (integerp (car-safe arg)) (integerp (cdr-safe arg))) |
| 488 | (list arg)) | 488 | (list arg)) |
| 489 | ((stringp arg) (rx-check-any-string arg)) | 489 | ((stringp arg) (rx-check-any-string arg)) |
| 490 | ((error | 490 | ((error |
| 491 | "rx ‘any’ requires string, character, char pair or char class args")))) | 491 | "rx `any' requires string, character, char pair or char class args")))) |
| 492 | 492 | ||
| 493 | 493 | ||
| 494 | (defun rx-any (form) | 494 | (defun rx-any (form) |
| @@ -581,7 +581,7 @@ ARG is optional." | |||
| 581 | (eq arg 'word-boundary) | 581 | (eq arg 'word-boundary) |
| 582 | (and (consp arg) | 582 | (and (consp arg) |
| 583 | (memq (car arg) '(not any in syntax category)))) | 583 | (memq (car arg) '(not any in syntax category)))) |
| 584 | (error "rx ‘not’ syntax error: %s" arg)) | 584 | (error "rx `not' syntax error: %s" arg)) |
| 585 | t) | 585 | t) |
| 586 | 586 | ||
| 587 | 587 | ||
| @@ -640,7 +640,7 @@ If SKIP is non-nil, allow that number of items after the head, i.e. | |||
| 640 | (setq form (rx-trans-forms form 1)) | 640 | (setq form (rx-trans-forms form 1)) |
| 641 | (unless (and (integerp (nth 1 form)) | 641 | (unless (and (integerp (nth 1 form)) |
| 642 | (> (nth 1 form) 0)) | 642 | (> (nth 1 form) 0)) |
| 643 | (error "rx ‘=’ requires positive integer first arg")) | 643 | (error "rx `=' requires positive integer first arg")) |
| 644 | (format "%s\\{%d\\}" (rx-form (nth 2 form) '*) (nth 1 form))) | 644 | (format "%s\\{%d\\}" (rx-form (nth 2 form) '*) (nth 1 form))) |
| 645 | 645 | ||
| 646 | 646 | ||
| @@ -650,7 +650,7 @@ If SKIP is non-nil, allow that number of items after the head, i.e. | |||
| 650 | (setq form (rx-trans-forms form 1)) | 650 | (setq form (rx-trans-forms form 1)) |
| 651 | (unless (and (integerp (nth 1 form)) | 651 | (unless (and (integerp (nth 1 form)) |
| 652 | (> (nth 1 form) 0)) | 652 | (> (nth 1 form) 0)) |
| 653 | (error "rx ‘>=’ requires positive integer first arg")) | 653 | (error "rx `>=' requires positive integer first arg")) |
| 654 | (format "%s\\{%d,\\}" (rx-form (nth 2 form) '*) (nth 1 form))) | 654 | (format "%s\\{%d,\\}" (rx-form (nth 2 form) '*) (nth 1 form))) |
| 655 | 655 | ||
| 656 | 656 | ||
| @@ -671,14 +671,14 @@ FORM is either `(repeat N FORM1)' or `(repeat N M FORMS...)'." | |||
| 671 | (cond ((= (length form) 3) | 671 | (cond ((= (length form) 3) |
| 672 | (unless (and (integerp (nth 1 form)) | 672 | (unless (and (integerp (nth 1 form)) |
| 673 | (> (nth 1 form) 0)) | 673 | (> (nth 1 form) 0)) |
| 674 | (error "rx ‘repeat’ requires positive integer first arg")) | 674 | (error "rx `repeat' requires positive integer first arg")) |
| 675 | (format "%s\\{%d\\}" (rx-form (nth 2 form) '*) (nth 1 form))) | 675 | (format "%s\\{%d\\}" (rx-form (nth 2 form) '*) (nth 1 form))) |
| 676 | ((or (not (integerp (nth 2 form))) | 676 | ((or (not (integerp (nth 2 form))) |
| 677 | (< (nth 2 form) 0) | 677 | (< (nth 2 form) 0) |
| 678 | (not (integerp (nth 1 form))) | 678 | (not (integerp (nth 1 form))) |
| 679 | (< (nth 1 form) 0) | 679 | (< (nth 1 form) 0) |
| 680 | (< (nth 2 form) (nth 1 form))) | 680 | (< (nth 2 form) (nth 1 form))) |
| 681 | (error "rx ‘repeat’ range error")) | 681 | (error "rx `repeat' range error")) |
| 682 | (t | 682 | (t |
| 683 | (format "%s\\{%d,%d\\}" (rx-form (nth 3 form) '*) | 683 | (format "%s\\{%d,%d\\}" (rx-form (nth 3 form) '*) |
| 684 | (nth 1 form) (nth 2 form))))) | 684 | (nth 1 form) (nth 2 form))))) |
| @@ -713,7 +713,7 @@ FORM is either `(repeat N FORM1)' or `(repeat N M FORMS...)'." | |||
| 713 | (defun rx-check-backref (arg) | 713 | (defun rx-check-backref (arg) |
| 714 | "Check arg ARG for Rx `backref'." | 714 | "Check arg ARG for Rx `backref'." |
| 715 | (or (and (integerp arg) (>= arg 1) (<= arg 9)) | 715 | (or (and (integerp arg) (>= arg 1) (<= arg 9)) |
| 716 | (error "rx ‘backref’ requires numeric 1<=arg<=9: %s" arg))) | 716 | (error "rx `backref' requires numeric 1<=arg<=9: %s" arg))) |
| 717 | 717 | ||
| 718 | (defun rx-kleene (form) | 718 | (defun rx-kleene (form) |
| 719 | "Parse and produce code from FORM. | 719 | "Parse and produce code from FORM. |
| @@ -786,7 +786,7 @@ of all atomic regexps." | |||
| 786 | (if (= 1 (length name)) | 786 | (if (= 1 (length name)) |
| 787 | (setq syntax (aref name 0)))))) | 787 | (setq syntax (aref name 0)))))) |
| 788 | (unless syntax | 788 | (unless syntax |
| 789 | (error "Unknown rx syntax ‘%s’" sym))) | 789 | (error "Unknown rx syntax `%s'" sym))) |
| 790 | (format "\\s%c" syntax))) | 790 | (format "\\s%c" syntax))) |
| 791 | 791 | ||
| 792 | 792 | ||
| @@ -794,7 +794,7 @@ of all atomic regexps." | |||
| 794 | "Check the argument FORM of a `(category FORM)'." | 794 | "Check the argument FORM of a `(category FORM)'." |
| 795 | (unless (or (integerp form) | 795 | (unless (or (integerp form) |
| 796 | (cdr (assq form rx-categories))) | 796 | (cdr (assq form rx-categories))) |
| 797 | (error "Unknown category ‘%s’" form)) | 797 | (error "Unknown category `%s'" form)) |
| 798 | t) | 798 | t) |
| 799 | 799 | ||
| 800 | 800 | ||
| @@ -846,16 +846,16 @@ shy groups around the result and some more in other functions." | |||
| 846 | (cond ((stringp info) | 846 | (cond ((stringp info) |
| 847 | info) | 847 | info) |
| 848 | ((null info) | 848 | ((null info) |
| 849 | (error "Unknown rx form ‘%s’" form)) | 849 | (error "Unknown rx form `%s'" form)) |
| 850 | (t | 850 | (t |
| 851 | (funcall (nth 0 info) form))))) | 851 | (funcall (nth 0 info) form))))) |
| 852 | ((consp form) | 852 | ((consp form) |
| 853 | (let ((info (rx-info (car form) 'head))) | 853 | (let ((info (rx-info (car form) 'head))) |
| 854 | (unless (consp info) | 854 | (unless (consp info) |
| 855 | (error "Unknown rx form ‘%s’" (car form))) | 855 | (error "Unknown rx form `%s'" (car form))) |
| 856 | (funcall (nth 0 info) form))) | 856 | (funcall (nth 0 info) form))) |
| 857 | (t | 857 | (t |
| 858 | (error "rx syntax error at ‘%s’" form)))) | 858 | (error "rx syntax error at `%s'" form)))) |
| 859 | 859 | ||
| 860 | 860 | ||
| 861 | ;;;###autoload | 861 | ;;;###autoload |
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 9678cfa39b6..0c24f796d19 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el | |||
| @@ -2213,13 +2213,13 @@ One way to generate local rules is the command `smie-config-guess'." | |||
| 2213 | (let* ((existing (assq major-mode smie-config)) | 2213 | (let* ((existing (assq major-mode smie-config)) |
| 2214 | (config | 2214 | (config |
| 2215 | (cond ((null existing) | 2215 | (cond ((null existing) |
| 2216 | (message "Local rules saved in ‘smie-config’") | 2216 | (message "Local rules saved in `smie-config'") |
| 2217 | smie-config--buffer-local) | 2217 | smie-config--buffer-local) |
| 2218 | ((y-or-n-p "Replace the existing mode's config? ") | 2218 | ((y-or-n-p "Replace the existing mode's config? ") |
| 2219 | (message "Mode rules replaced in ‘smie-config’") | 2219 | (message "Mode rules replaced in `smie-config'") |
| 2220 | smie-config--buffer-local) | 2220 | smie-config--buffer-local) |
| 2221 | ((y-or-n-p "Merge with existing mode's config? ") | 2221 | ((y-or-n-p "Merge with existing mode's config? ") |
| 2222 | (message "Mode rules adjusted in ‘smie-config’") | 2222 | (message "Mode rules adjusted in `smie-config'") |
| 2223 | (append smie-config--buffer-local (cdr existing))) | 2223 | (append smie-config--buffer-local (cdr existing))) |
| 2224 | (t (error "Abort"))))) | 2224 | (t (error "Abort"))))) |
| 2225 | (if existing | 2225 | (if existing |
diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el index 9637e42c879..e6d451ac62e 100644 --- a/lisp/emacs-lisp/subr-x.el +++ b/lisp/emacs-lisp/subr-x.el | |||
| @@ -90,7 +90,7 @@ threading." | |||
| 90 | (when (> (length binding) 2) | 90 | (when (> (length binding) 2) |
| 91 | (signal | 91 | (signal |
| 92 | 'error | 92 | 'error |
| 93 | (cons "‘let’ bindings can have only one value-form" binding))) | 93 | (cons "`let' bindings can have only one value-form" binding))) |
| 94 | binding) | 94 | binding) |
| 95 | 95 | ||
| 96 | (defsubst internal--build-binding-value-form (binding prev-var) | 96 | (defsubst internal--build-binding-value-form (binding prev-var) |
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index 404dbd1dc17..cd61eb9ae56 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el | |||
| @@ -129,7 +129,7 @@ no entry at POS. POS, if omitted or nil, defaults to point." | |||
| 129 | TAG should be a string, with length <= `tabulated-list-padding'. | 129 | TAG should be a string, with length <= `tabulated-list-padding'. |
| 130 | If ADVANCE is non-nil, move forward by one line afterwards." | 130 | If ADVANCE is non-nil, move forward by one line afterwards." |
| 131 | (unless (stringp tag) | 131 | (unless (stringp tag) |
| 132 | (error "Invalid argument to ‘tabulated-list-put-tag’")) | 132 | (error "Invalid argument to `tabulated-list-put-tag'")) |
| 133 | (unless (> tabulated-list-padding 0) | 133 | (unless (> tabulated-list-padding 0) |
| 134 | (error "Unable to tag the current line")) | 134 | (error "Unable to tag the current line")) |
| 135 | (save-excursion | 135 | (save-excursion |
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el index 3e6039ee9fd..110c63f777a 100644 --- a/lisp/emacs-lisp/testcover.el +++ b/lisp/emacs-lisp/testcover.el | |||
| @@ -475,7 +475,7 @@ same value during coverage testing." | |||
| 475 | (aset testcover-vector idx (cons '1value val))) | 475 | (aset testcover-vector idx (cons '1value val))) |
| 476 | ((not (and (eq (car-safe (aref testcover-vector idx)) '1value) | 476 | ((not (and (eq (car-safe (aref testcover-vector idx)) '1value) |
| 477 | (equal (cdr (aref testcover-vector idx)) val))) | 477 | (equal (cdr (aref testcover-vector idx)) val))) |
| 478 | (error "Value of form marked with ‘1value’ does vary: %s" val))) | 478 | (error "Value of form marked with `1value' does vary: %s" val))) |
| 479 | val) | 479 | val) |
| 480 | 480 | ||
| 481 | 481 | ||
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el index 0a0296fc9fb..dca459f2bf6 100644 --- a/lisp/emacs-lisp/timer.el +++ b/lisp/emacs-lisp/timer.el | |||
| @@ -324,7 +324,7 @@ This function is called, by name, directly by the C code." | |||
| 324 | (apply (timer--function timer) (timer--args timer))) | 324 | (apply (timer--function timer) (timer--args timer))) |
| 325 | (error (message "Error running timer%s: %S" | 325 | (error (message "Error running timer%s: %S" |
| 326 | (if (symbolp (timer--function timer)) | 326 | (if (symbolp (timer--function timer)) |
| 327 | (format-message " ‘%s’" (timer--function timer)) | 327 | (format-message " `%s'" (timer--function timer)) |
| 328 | "") | 328 | "") |
| 329 | err))) | 329 | err))) |
| 330 | (when (and retrigger | 330 | (when (and retrigger |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 8b3f6b46507..93fcec865a7 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -3449,7 +3449,7 @@ controlled by the sign of prefix numeric value." | |||
| 3449 | (setq viper-parse-sexp-ignore-comments | 3449 | (setq viper-parse-sexp-ignore-comments |
| 3450 | (not viper-parse-sexp-ignore-comments)) | 3450 | (not viper-parse-sexp-ignore-comments)) |
| 3451 | (princ (format-message | 3451 | (princ (format-message |
| 3452 | "From now on, ‘%%’ will %signore parentheses inside comment fields" | 3452 | "From now on, `%%' will %signore parentheses inside comment fields" |
| 3453 | (if viper-parse-sexp-ignore-comments "" "NOT ")))) | 3453 | (if viper-parse-sexp-ignore-comments "" "NOT ")))) |
| 3454 | 3454 | ||
| 3455 | 3455 | ||
| @@ -3641,7 +3641,7 @@ the Emacs binding of `/'." | |||
| 3641 | (cond ((or (eq arg 1) | 3641 | (cond ((or (eq arg 1) |
| 3642 | (and (null arg) | 3642 | (and (null arg) |
| 3643 | (y-or-n-p (format-message | 3643 | (y-or-n-p (format-message |
| 3644 | "Search style: ‘%s’. Want ‘%s’? " | 3644 | "Search style: `%s'. Want `%s'? " |
| 3645 | (if viper-case-fold-search | 3645 | (if viper-case-fold-search |
| 3646 | "case-insensitive" "case-sensitive") | 3646 | "case-insensitive" "case-sensitive") |
| 3647 | (if viper-case-fold-search | 3647 | (if viper-case-fold-search |
| @@ -3654,7 +3654,7 @@ the Emacs binding of `/'." | |||
| 3654 | ((or (eq arg 2) | 3654 | ((or (eq arg 2) |
| 3655 | (and (null arg) | 3655 | (and (null arg) |
| 3656 | (y-or-n-p (format-message | 3656 | (y-or-n-p (format-message |
| 3657 | "Search style: ‘%s’. Want ‘%s’? " | 3657 | "Search style: `%s'. Want `%s'? " |
| 3658 | (if viper-re-search | 3658 | (if viper-re-search |
| 3659 | "regexp-search" "vanilla-search") | 3659 | "regexp-search" "vanilla-search") |
| 3660 | (if viper-re-search | 3660 | (if viper-re-search |
| @@ -3990,7 +3990,7 @@ Null string will repeat previous search." | |||
| 3990 | (if (or (not (buffer-modified-p buffer)) | 3990 | (if (or (not (buffer-modified-p buffer)) |
| 3991 | (y-or-n-p | 3991 | (y-or-n-p |
| 3992 | (format-message | 3992 | (format-message |
| 3993 | "Buffer ‘%s’ is modified, are you sure you want to kill it? " | 3993 | "Buffer `%s' is modified, are you sure you want to kill it? " |
| 3994 | buffer-name))) | 3994 | buffer-name))) |
| 3995 | (kill-buffer buffer) | 3995 | (kill-buffer buffer) |
| 3996 | (error "Buffer not killed")))) | 3996 | (error "Buffer not killed")))) |
| @@ -4640,7 +4640,7 @@ One can use \\=`\\=` and \\='\\=' to temporarily jump 1 step back." | |||
| 4640 | reg (substring text (- pos s))))) | 4640 | reg (substring text (- pos s))))) |
| 4641 | (princ | 4641 | (princ |
| 4642 | (format-message | 4642 | (format-message |
| 4643 | "Textmarker ‘%c’ is in buffer ‘%s’ at line %d.\n" | 4643 | "Textmarker `%c' is in buffer `%s' at line %d.\n" |
| 4644 | reg (buffer-name buf) line-no)) | 4644 | reg (buffer-name buf) line-no)) |
| 4645 | (princ (format "Here is some text around %c:\n\n %s" | 4645 | (princ (format "Here is some text around %c:\n\n %s" |
| 4646 | reg text))) | 4646 | reg text))) |
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index e28c67a5315..092de55e70e 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el | |||
| @@ -583,7 +583,7 @@ the Insert state." | |||
| 583 | 583 | ||
| 584 | (defcustom viper-keep-point-on-repeat t | 584 | (defcustom viper-keep-point-on-repeat t |
| 585 | "If t, don't move point when repeating previous command. | 585 | "If t, don't move point when repeating previous command. |
| 586 | This is useful for doing repeated changes with the ‘.’ key. | 586 | This is useful for doing repeated changes with the `.' key. |
| 587 | The user can change this to nil, if she likes when the cursor moves | 587 | The user can change this to nil, if she likes when the cursor moves |
| 588 | to a new place after repeating previous Vi command." | 588 | to a new place after repeating previous Vi command." |
| 589 | :type 'boolean | 589 | :type 'boolean |
diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el index 4b33b423740..4fa07792334 100644 --- a/lisp/emulation/viper-macs.el +++ b/lisp/emulation/viper-macs.el | |||
| @@ -370,11 +370,11 @@ If SCOPE is nil, the user is asked to specify the scope." | |||
| 370 | (cond | 370 | (cond |
| 371 | ((y-or-n-p | 371 | ((y-or-n-p |
| 372 | (format-message | 372 | (format-message |
| 373 | "Map this macro for buffer ‘%s’ only? " | 373 | "Map this macro for buffer `%s' only? " |
| 374 | (buffer-name))) | 374 | (buffer-name))) |
| 375 | (setq msg | 375 | (setq msg |
| 376 | (format-message | 376 | (format-message |
| 377 | "%S is mapped to %s for %s in ‘%s’" | 377 | "%S is mapped to %s for %s in `%s'" |
| 378 | (viper-display-macro macro-name) | 378 | (viper-display-macro macro-name) |
| 379 | (viper-abbreviate-string | 379 | (viper-abbreviate-string |
| 380 | (format | 380 | (format |
| @@ -386,11 +386,11 @@ If SCOPE is nil, the user is asked to specify the scope." | |||
| 386 | (buffer-name)) | 386 | (buffer-name)) |
| 387 | ((y-or-n-p | 387 | ((y-or-n-p |
| 388 | (format-message | 388 | (format-message |
| 389 | "Map this macro for the major mode ‘%S’ only? " | 389 | "Map this macro for the major mode `%S' only? " |
| 390 | major-mode)) | 390 | major-mode)) |
| 391 | (setq msg | 391 | (setq msg |
| 392 | (format-message | 392 | (format-message |
| 393 | "%S is mapped to %s for %s in ‘%S’" | 393 | "%S is mapped to %s for %s in `%S'" |
| 394 | (viper-display-macro macro-name) | 394 | (viper-display-macro macro-name) |
| 395 | (viper-abbreviate-string | 395 | (viper-abbreviate-string |
| 396 | (format | 396 | (format |
diff --git a/lisp/env.el b/lisp/env.el index f50ed12398e..3966ab14f7e 100644 --- a/lisp/env.el +++ b/lisp/env.el | |||
| @@ -175,7 +175,7 @@ a side-effect." | |||
| 175 | (let ((codings (find-coding-systems-string (concat variable value)))) | 175 | (let ((codings (find-coding-systems-string (concat variable value)))) |
| 176 | (unless (or (eq 'undecided (car codings)) | 176 | (unless (or (eq 'undecided (car codings)) |
| 177 | (memq (coding-system-base locale-coding-system) codings)) | 177 | (memq (coding-system-base locale-coding-system) codings)) |
| 178 | (error "Can't encode ‘%s=%s’ with ‘locale-coding-system’" | 178 | (error "Can't encode `%s=%s' with `locale-coding-system'" |
| 179 | variable (or value ""))))) | 179 | variable (or value ""))))) |
| 180 | (and value | 180 | (and value |
| 181 | substitute-env-vars | 181 | substitute-env-vars |
| @@ -185,7 +185,7 @@ a side-effect." | |||
| 185 | (if (and value (multibyte-string-p value)) | 185 | (if (and value (multibyte-string-p value)) |
| 186 | (setq value (encode-coding-string value locale-coding-system))) | 186 | (setq value (encode-coding-string value locale-coding-system))) |
| 187 | (if (string-match "=" variable) | 187 | (if (string-match "=" variable) |
| 188 | (error "Environment variable name ‘%s’ contains ‘=’" variable)) | 188 | (error "Environment variable name `%s' contains `='" variable)) |
| 189 | (if (string-equal "TZ" variable) | 189 | (if (string-equal "TZ" variable) |
| 190 | (set-time-zone-rule value)) | 190 | (set-time-zone-rule value)) |
| 191 | (setq process-environment (setenv-internal process-environment | 191 | (setq process-environment (setenv-internal process-environment |
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index 6139e939924..0e4c70944bb 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -512,7 +512,7 @@ Examples: | |||
| 512 | (defun erc-nick-popup (nick) | 512 | (defun erc-nick-popup (nick) |
| 513 | (let* ((completion-ignore-case t) | 513 | (let* ((completion-ignore-case t) |
| 514 | (action (completing-read (format-message | 514 | (action (completing-read (format-message |
| 515 | "What action to take on ‘%s’? " nick) | 515 | "What action to take on `%s'? " nick) |
| 516 | erc-nick-popup-alist)) | 516 | erc-nick-popup-alist)) |
| 517 | (code (cdr (assoc action erc-nick-popup-alist)))) | 517 | (code (cdr (assoc action erc-nick-popup-alist)))) |
| 518 | (when code | 518 | (when code |
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el index bb6e3115b49..0a9932ddc95 100644 --- a/lisp/erc/erc-dcc.el +++ b/lisp/erc/erc-dcc.el | |||
| @@ -166,7 +166,7 @@ All values of the list must be uppercase strings.") | |||
| 166 | "Return the first matching entry in `erc-dcc-list' which satisfies the | 166 | "Return the first matching entry in `erc-dcc-list' which satisfies the |
| 167 | constraints given as a plist in ARGS. Returns nil on no match. | 167 | constraints given as a plist in ARGS. Returns nil on no match. |
| 168 | 168 | ||
| 169 | The property :nick is treated specially, if it contains a ‘!’ character, | 169 | The property :nick is treated specially, if it contains a `!' character, |
| 170 | it is treated as a nick!user@host string, and compared with the :nick property | 170 | it is treated as a nick!user@host string, and compared with the :nick property |
| 171 | value of the individual elements using string-equal. Otherwise it is | 171 | value of the individual elements using string-equal. Otherwise it is |
| 172 | compared with `erc-nick-equal-p' which is IRC case-insensitive." | 172 | compared with `erc-nick-equal-p' which is IRC case-insensitive." |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index b051645fe9b..62be63e9aa4 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -230,7 +230,7 @@ prompt you for it.") | |||
| 230 | (defcustom erc-hide-prompt nil | 230 | (defcustom erc-hide-prompt nil |
| 231 | "If non-nil, do not display the prompt for commands. | 231 | "If non-nil, do not display the prompt for commands. |
| 232 | 232 | ||
| 233 | \(A command is any input starting with a ‘/’). | 233 | \(A command is any input starting with a `/'). |
| 234 | 234 | ||
| 235 | See also the variables `erc-prompt' and `erc-command-indicator'." | 235 | See also the variables `erc-prompt' and `erc-command-indicator'." |
| 236 | :group 'erc-display | 236 | :group 'erc-display |
| @@ -667,7 +667,7 @@ See also the variable `erc-prompt'." | |||
| 667 | "Indicator used by ERC for showing commands. | 667 | "Indicator used by ERC for showing commands. |
| 668 | 668 | ||
| 669 | If non-nil, this will be used in the ERC buffer to indicate | 669 | If non-nil, this will be used in the ERC buffer to indicate |
| 670 | commands (i.e., input starting with a ‘/’). | 670 | commands (i.e., input starting with a `/'). |
| 671 | 671 | ||
| 672 | If nil, the prompt will be constructed from the variable `erc-prompt'." | 672 | If nil, the prompt will be constructed from the variable `erc-prompt'." |
| 673 | :group 'erc-display | 673 | :group 'erc-display |
| @@ -2789,7 +2789,7 @@ this function from interpreting the line as a command." | |||
| 2789 | (defun erc-cmd-SAY (line) | 2789 | (defun erc-cmd-SAY (line) |
| 2790 | "Send LINE to the current query or channel as a message, not a command. | 2790 | "Send LINE to the current query or channel as a message, not a command. |
| 2791 | 2791 | ||
| 2792 | Use this when you want to send a message with a leading ‘/’. Note | 2792 | Use this when you want to send a message with a leading `/'. Note |
| 2793 | that since multi-line messages are never a command, you don't | 2793 | that since multi-line messages are never a command, you don't |
| 2794 | need this when pasting multiple lines of text." | 2794 | need this when pasting multiple lines of text." |
| 2795 | (if (string-match "^\\s-*$" line) | 2795 | (if (string-match "^\\s-*$" line) |
| @@ -3119,9 +3119,9 @@ a script after exceeding the flood threshold." | |||
| 3119 | (erc-display-message nil 'error (current-buffer) | 3119 | (erc-display-message nil 'error (current-buffer) |
| 3120 | 'cannot-read-file ?f file)) | 3120 | 'cannot-read-file ?f file)) |
| 3121 | (t | 3121 | (t |
| 3122 | (message "Loading ‘%s’..." file) | 3122 | (message "Loading `%s'..." file) |
| 3123 | (erc-load-script file) | 3123 | (erc-load-script file) |
| 3124 | (message "Loading ‘%s’...done" file)))) | 3124 | (message "Loading `%s'...done" file)))) |
| 3125 | t) | 3125 | t) |
| 3126 | (t nil))) | 3126 | (t nil))) |
| 3127 | 3127 | ||
| @@ -3259,7 +3259,7 @@ The lines are shown in a buffer named `*Occur*'. | |||
| 3259 | It serves as a menu to find any of the occurrences in this buffer. | 3259 | It serves as a menu to find any of the occurrences in this buffer. |
| 3260 | \\[describe-mode] in that buffer will explain how. | 3260 | \\[describe-mode] in that buffer will explain how. |
| 3261 | 3261 | ||
| 3262 | If LINE contains upper case characters (excluding those preceded by ‘\\’), | 3262 | If LINE contains upper case characters (excluding those preceded by `\\'), |
| 3263 | the matching is case-sensitive." | 3263 | the matching is case-sensitive." |
| 3264 | (occur line) | 3264 | (occur line) |
| 3265 | t) | 3265 | t) |
| @@ -4466,7 +4466,7 @@ See also: `erc-echo-notice-in-user-buffers', | |||
| 4466 | "Handle the logging in process of connection." | 4466 | "Handle the logging in process of connection." |
| 4467 | (unless erc-logged-in | 4467 | (unless erc-logged-in |
| 4468 | (setq erc-logged-in t) | 4468 | (setq erc-logged-in t) |
| 4469 | (message "Logging in as ‘%s’... done" (erc-current-nick)) | 4469 | (message "Logging in as `%s'... done" (erc-current-nick)) |
| 4470 | ;; execute a startup script | 4470 | ;; execute a startup script |
| 4471 | (let ((f (erc-select-startup-file))) | 4471 | (let ((f (erc-select-startup-file))) |
| 4472 | (when f | 4472 | (when f |
| @@ -6512,7 +6512,7 @@ All windows are opened in the current frame." | |||
| 6512 | . "\n\nConnection failed! Not re-establishing connection.\n") | 6512 | . "\n\nConnection failed! Not re-establishing connection.\n") |
| 6513 | (finished . "\n\n*** ERC finished ***\n") | 6513 | (finished . "\n\n*** ERC finished ***\n") |
| 6514 | (terminated . "\n\n*** ERC terminated: %e\n") | 6514 | (terminated . "\n\n*** ERC terminated: %e\n") |
| 6515 | (login . "Logging in as ‘%n’...") | 6515 | (login . "Logging in as `%n'...") |
| 6516 | (nick-in-use . "%n is in use. Choose new nickname: ") | 6516 | (nick-in-use . "%n is in use. Choose new nickname: ") |
| 6517 | (nick-too-long | 6517 | (nick-too-long |
| 6518 | . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server") | 6518 | . "WARNING: Nick length (%i) exceeds max NICKLEN(%l) defined by server") |
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." |
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index a90794f6c7b..3d5894309df 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -797,10 +797,10 @@ This is called whenever you create a new face, and at other times." | |||
| 797 | symbol (intern name))) | 797 | symbol (intern name))) |
| 798 | (setq menu 'facemenu-face-menu) | 798 | (setq menu 'facemenu-face-menu) |
| 799 | (setq docstring | 799 | (setq docstring |
| 800 | (purecopy (format-message "Select face ‘%s’ for subsequent insertion. | 800 | (purecopy (format "Select face `%s' for subsequent insertion. |
| 801 | If the mark is active and there is no prefix argument, | 801 | If the mark is active and there is no prefix argument, |
| 802 | apply face ‘%s’ to the region instead. | 802 | apply face `%s' to the region instead. |
| 803 | This command was defined by ‘facemenu-add-new-face’." | 803 | This command was defined by `facemenu-add-new-face'." |
| 804 | name name))) | 804 | name name))) |
| 805 | (cond ((facemenu-iterate ; check if equivalent face is already in the menu | 805 | (cond ((facemenu-iterate ; check if equivalent face is already in the menu |
| 806 | (lambda (m) (and (listp m) | 806 | (lambda (m) (and (listp m) |
| @@ -846,12 +846,12 @@ Return the event type (a symbol) of the added menu entry. | |||
| 846 | This is called whenever you use a new color." | 846 | This is called whenever you use a new color." |
| 847 | (let (symbol) | 847 | (let (symbol) |
| 848 | (unless (color-defined-p color) | 848 | (unless (color-defined-p color) |
| 849 | (error "Color ‘%s’ undefined" color)) | 849 | (error "Color `%s' undefined" color)) |
| 850 | (cond ((eq menu 'facemenu-foreground-menu) | 850 | (cond ((eq menu 'facemenu-foreground-menu) |
| 851 | (setq symbol (intern (concat "fg:" color)))) | 851 | (setq symbol (intern (concat "fg:" color)))) |
| 852 | ((eq menu 'facemenu-background-menu) | 852 | ((eq menu 'facemenu-background-menu) |
| 853 | (setq symbol (intern (concat "bg:" color)))) | 853 | (setq symbol (intern (concat "bg:" color)))) |
| 854 | (t (error "MENU should be ‘facemenu-foreground-menu’ or ‘facemenu-background-menu’"))) | 854 | (t (error "MENU should be `facemenu-foreground-menu' or `facemenu-background-menu'"))) |
| 855 | (unless (facemenu-iterate ; Check if color is already in the menu. | 855 | (unless (facemenu-iterate ; Check if color is already in the menu. |
| 856 | (lambda (m) (and (listp m) | 856 | (lambda (m) (and (listp m) |
| 857 | (eq (car m) symbol))) | 857 | (eq (car m) symbol))) |
diff --git a/lisp/faces.el b/lisp/faces.el index 9e879c1e188..5485d80c926 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -574,7 +574,7 @@ If FACE is a face-alias, get the documentation for the target face." | |||
| 574 | (let ((alias (get face 'face-alias))) | 574 | (let ((alias (get face 'face-alias))) |
| 575 | (if alias | 575 | (if alias |
| 576 | (let ((doc (get alias 'face-documentation))) | 576 | (let ((doc (get alias 'face-documentation))) |
| 577 | (format-message "%s is an alias for the face ‘%s’.%s" face alias | 577 | (format "%s is an alias for the face `%s'.%s" face alias |
| 578 | (if doc (format "\n%s" doc) | 578 | (if doc (format "\n%s" doc) |
| 579 | ""))) | 579 | ""))) |
| 580 | (get face 'face-documentation)))) | 580 | (get face 'face-documentation)))) |
| @@ -1005,7 +1005,7 @@ a single face name." | |||
| 1005 | (setq default (car (split-string default crm-separator t)))) | 1005 | (setq default (car (split-string default crm-separator t)))) |
| 1006 | 1006 | ||
| 1007 | (let ((prompt (if default | 1007 | (let ((prompt (if default |
| 1008 | (format-message "%s (default ‘%s’): " prompt default) | 1008 | (format-message "%s (default `%s'): " prompt default) |
| 1009 | (format "%s: " prompt))) | 1009 | (format "%s: " prompt))) |
| 1010 | aliasfaces nonaliasfaces faces) | 1010 | aliasfaces nonaliasfaces faces) |
| 1011 | ;; Build up the completion tables. | 1011 | ;; Build up the completion tables. |
| @@ -1137,8 +1137,8 @@ Value is the new attribute value." | |||
| 1137 | (let* ((completion-ignore-case t) | 1137 | (let* ((completion-ignore-case t) |
| 1138 | (value (completing-read | 1138 | (value (completing-read |
| 1139 | (format-message (if default | 1139 | (format-message (if default |
| 1140 | "%s for face ‘%s’ (default %s): " | 1140 | "%s for face `%s' (default %s): " |
| 1141 | "%s for face ‘%s’: ") | 1141 | "%s for face `%s': ") |
| 1142 | name face default) | 1142 | name face default) |
| 1143 | completion-alist nil nil nil nil default))) | 1143 | completion-alist nil nil nil nil default))) |
| 1144 | (if (equal value "") default value))) | 1144 | (if (equal value "") default value))) |
| @@ -1225,7 +1225,7 @@ of a global face. Value is the new attribute value." | |||
| 1225 | If optional argument FRAME is nil or omitted, use the selected frame." | 1225 | If optional argument FRAME is nil or omitted, use the selected frame." |
| 1226 | (let ((completion-ignore-case t)) | 1226 | (let ((completion-ignore-case t)) |
| 1227 | (completing-read (format-message | 1227 | (completing-read (format-message |
| 1228 | "Set font attributes of face ‘%s’ from font: " face) | 1228 | "Set font attributes of face `%s' from font: " face) |
| 1229 | (append (fontset-list) (x-list-fonts "*" nil frame))))) | 1229 | (append (fontset-list) (x-list-fonts "*" nil frame))))) |
| 1230 | 1230 | ||
| 1231 | 1231 | ||
| @@ -1437,11 +1437,11 @@ If FRAME is omitted or nil, use the selected frame." | |||
| 1437 | (setq face alias) | 1437 | (setq face alias) |
| 1438 | (insert | 1438 | (insert |
| 1439 | (format-message | 1439 | (format-message |
| 1440 | "\n %s is an alias for the face ‘%s’.\n%s" | 1440 | "\n %s is an alias for the face `%s'.\n%s" |
| 1441 | f alias | 1441 | f alias |
| 1442 | (if (setq obsolete (get f 'obsolete-face)) | 1442 | (if (setq obsolete (get f 'obsolete-face)) |
| 1443 | (format-message | 1443 | (format-message |
| 1444 | " This face is obsolete%s; use ‘%s’ instead.\n" | 1444 | " This face is obsolete%s; use `%s' instead.\n" |
| 1445 | (if (stringp obsolete) | 1445 | (if (stringp obsolete) |
| 1446 | (format " since %s" obsolete) | 1446 | (format " since %s" obsolete) |
| 1447 | "") | 1447 | "") |
| @@ -1459,13 +1459,13 @@ If FRAME is omitted or nil, use the selected frame." | |||
| 1459 | (help-xref-button 1 'help-customize-face f))) | 1459 | (help-xref-button 1 'help-customize-face f))) |
| 1460 | (setq file-name (find-lisp-object-file-name f 'defface)) | 1460 | (setq file-name (find-lisp-object-file-name f 'defface)) |
| 1461 | (when file-name | 1461 | (when file-name |
| 1462 | (princ (substitute-command-keys "Defined in ‘")) | 1462 | (princ (substitute-command-keys "Defined in `")) |
| 1463 | (princ (file-name-nondirectory file-name)) | 1463 | (princ (file-name-nondirectory file-name)) |
| 1464 | (princ (substitute-command-keys "’")) | 1464 | (princ (substitute-command-keys "'")) |
| 1465 | ;; Make a hyperlink to the library. | 1465 | ;; Make a hyperlink to the library. |
| 1466 | (save-excursion | 1466 | (save-excursion |
| 1467 | (re-search-backward | 1467 | (re-search-backward |
| 1468 | (substitute-command-keys "‘\\([^‘’]+\\)’") nil t) | 1468 | (substitute-command-keys "`\\([^`']+\\)'") nil t) |
| 1469 | (help-xref-button 1 'help-face-def f file-name)) | 1469 | (help-xref-button 1 'help-face-def f file-name)) |
| 1470 | (princ ".") | 1470 | (princ ".") |
| 1471 | (terpri) | 1471 | (terpri) |
| @@ -1552,7 +1552,7 @@ If FRAME is nil, the current FRAME is used." | |||
| 1552 | options)) | 1552 | options)) |
| 1553 | ((eq req 'supports) | 1553 | ((eq req 'supports) |
| 1554 | (display-supports-face-attributes-p options frame)) | 1554 | (display-supports-face-attributes-p options frame)) |
| 1555 | (t (error "Unknown req ‘%S’ with options ‘%S’" | 1555 | (t (error "Unknown req `%S' with options `%S'" |
| 1556 | req options))))) | 1556 | req options))))) |
| 1557 | match)) | 1557 | match)) |
| 1558 | 1558 | ||
| @@ -1925,7 +1925,7 @@ resulting color name in the echo area." | |||
| 1925 | (logand 65535 (nth 0 components)) | 1925 | (logand 65535 (nth 0 components)) |
| 1926 | (logand 65535 (nth 1 components)) | 1926 | (logand 65535 (nth 1 components)) |
| 1927 | (logand 65535 (nth 2 components)))))))) | 1927 | (logand 65535 (nth 2 components)))))))) |
| 1928 | (when msg (message "Color: ‘%s’" color)) | 1928 | (when msg (message "Color: `%s'" color)) |
| 1929 | color)) | 1929 | color)) |
| 1930 | 1930 | ||
| 1931 | (defun face-at-point (&optional thing multiple) | 1931 | (defun face-at-point (&optional thing multiple) |
| @@ -2778,13 +2778,13 @@ also the same size as FACE on FRAME, or fail." | |||
| 2778 | (if (string-match-p "\\*" pattern) | 2778 | (if (string-match-p "\\*" pattern) |
| 2779 | (if (null (face-font face)) | 2779 | (if (null (face-font face)) |
| 2780 | (error "No matching fonts are the same height as the frame default font") | 2780 | (error "No matching fonts are the same height as the frame default font") |
| 2781 | (error "No matching fonts are the same height as face ‘%s’" face)) | 2781 | (error "No matching fonts are the same height as face `%s'" face)) |
| 2782 | (if (null (face-font face)) | 2782 | (if (null (face-font face)) |
| 2783 | (error "Height of font ‘%s’ doesn't match the frame default font" | 2783 | (error "Height of font `%s' doesn't match the frame default font" |
| 2784 | pattern) | 2784 | pattern) |
| 2785 | (error "Height of font ‘%s’ doesn't match face ‘%s’" | 2785 | (error "Height of font `%s' doesn't match face `%s'" |
| 2786 | pattern face))) | 2786 | pattern face))) |
| 2787 | (error "No fonts match ‘%s’" pattern))) | 2787 | (error "No fonts match `%s'" pattern))) |
| 2788 | (car fonts)) | 2788 | (car fonts)) |
| 2789 | (cdr (assq 'font (frame-parameters (selected-frame)))))) | 2789 | (cdr (assq 'font (frame-parameters (selected-frame)))))) |
| 2790 | 2790 | ||
diff --git a/lisp/files-x.el b/lisp/files-x.el index 524ad492174..a130ffcf928 100644 --- a/lisp/files-x.el +++ b/lisp/files-x.el | |||
| @@ -189,7 +189,7 @@ from the Local Variables list ignoring the input argument VALUE." | |||
| 189 | (unless (let ((case-fold-search t)) | 189 | (unless (let ((case-fold-search t)) |
| 190 | (goto-char beg) | 190 | (goto-char beg) |
| 191 | (search-forward "Local Variables:" nil t)) | 191 | (search-forward "Local Variables:" nil t)) |
| 192 | (throw 'exit (message "Can’t add file-local variables")))) | 192 | (throw 'exit (message "Can't add file-local variables")))) |
| 193 | 193 | ||
| 194 | ;; prefix is what comes before "local variables:" in its line. | 194 | ;; prefix is what comes before "local variables:" in its line. |
| 195 | ;; suffix is what comes after "local variables:" in its line. | 195 | ;; suffix is what comes after "local variables:" in its line. |
diff --git a/lisp/files.el b/lisp/files.el index f96ac09f5e6..c309f86f85b 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -995,10 +995,10 @@ directory if it does not exist." | |||
| 995 | (put 'user-emacs-directory-warning 'this-session t) | 995 | (put 'user-emacs-directory-warning 'this-session t) |
| 996 | (display-warning 'initialization | 996 | (display-warning 'initialization |
| 997 | (format "\ | 997 | (format "\ |
| 998 | Unable to %s ‘user-emacs-directory’ (%s). | 998 | Unable to %s `user-emacs-directory' (%s). |
| 999 | Any data that would normally be written there may be lost! | 999 | Any data that would normally be written there may be lost! |
| 1000 | If you never want to see this message again, | 1000 | If you never want to see this message again, |
| 1001 | customize the variable ‘user-emacs-directory-warning’." | 1001 | customize the variable `user-emacs-directory-warning'." |
| 1002 | errtype user-emacs-directory))))) | 1002 | errtype user-emacs-directory))))) |
| 1003 | bestname)))) | 1003 | bestname)))) |
| 1004 | 1004 | ||
| @@ -1641,7 +1641,7 @@ killed." | |||
| 1641 | (user-error "Aborted")) | 1641 | (user-error "Aborted")) |
| 1642 | (and (buffer-modified-p) buffer-file-name | 1642 | (and (buffer-modified-p) buffer-file-name |
| 1643 | (not (yes-or-no-p | 1643 | (not (yes-or-no-p |
| 1644 | (format-message "Kill and replace buffer ‘%s’ without saving it? " | 1644 | (format-message "Kill and replace buffer `%s' without saving it? " |
| 1645 | (buffer-name)))) | 1645 | (buffer-name)))) |
| 1646 | (user-error "Aborted")) | 1646 | (user-error "Aborted")) |
| 1647 | (let ((obuf (current-buffer)) | 1647 | (let ((obuf (current-buffer)) |
| @@ -2789,7 +2789,7 @@ we don't actually set it to the same mode the buffer already has." | |||
| 2789 | (catch 'nop | 2789 | (catch 'nop |
| 2790 | (dolist (mode (nreverse modes)) | 2790 | (dolist (mode (nreverse modes)) |
| 2791 | (if (not (functionp mode)) | 2791 | (if (not (functionp mode)) |
| 2792 | (message "Ignoring unknown mode ‘%s’" mode) | 2792 | (message "Ignoring unknown mode `%s'" mode) |
| 2793 | (setq done t) | 2793 | (setq done t) |
| 2794 | (or (set-auto-mode-0 mode keep-mode-if-same) | 2794 | (or (set-auto-mode-0 mode keep-mode-if-same) |
| 2795 | ;; continuing would call minor modes again, toggling them off | 2795 | ;; continuing would call minor modes again, toggling them off |
| @@ -2803,7 +2803,7 @@ we don't actually set it to the same mode the buffer already has." | |||
| 2803 | (setq mode (hack-local-variables t)) | 2803 | (setq mode (hack-local-variables t)) |
| 2804 | (not (memq mode modes)) ; already tried and failed | 2804 | (not (memq mode modes)) ; already tried and failed |
| 2805 | (if (not (functionp mode)) | 2805 | (if (not (functionp mode)) |
| 2806 | (message "Ignoring unknown mode ‘%s’" mode) | 2806 | (message "Ignoring unknown mode `%s'" mode) |
| 2807 | (setq done t) | 2807 | (setq done t) |
| 2808 | (set-auto-mode-0 mode keep-mode-if-same))) | 2808 | (set-auto-mode-0 mode keep-mode-if-same))) |
| 2809 | ;; If we didn't, look for an interpreter specified in the first line. | 2809 | ;; If we didn't, look for an interpreter specified in the first line. |
| @@ -3420,7 +3420,7 @@ local variables, but directory-local variables may still be applied." | |||
| 3420 | (display-warning | 3420 | (display-warning |
| 3421 | :warning | 3421 | :warning |
| 3422 | (format-message | 3422 | (format-message |
| 3423 | "%s: ‘lexical-binding’ at end of file unreliable" | 3423 | "%s: `lexical-binding' at end of file unreliable" |
| 3424 | (file-name-nondirectory | 3424 | (file-name-nondirectory |
| 3425 | (or buffer-file-name "")))))) | 3425 | (or buffer-file-name "")))))) |
| 3426 | (t | 3426 | (t |
| @@ -3557,7 +3557,7 @@ It is dangerous if either of these conditions are met: | |||
| 3557 | var (if since (format " (since %s)" since)) | 3557 | var (if since (format " (since %s)" since)) |
| 3558 | (if (stringp instead) | 3558 | (if (stringp instead) |
| 3559 | (substitute-command-keys instead) | 3559 | (substitute-command-keys instead) |
| 3560 | (format-message "use ‘%s’ instead" instead))))))) | 3560 | (format-message "use `%s' instead" instead))))))) |
| 3561 | 3561 | ||
| 3562 | (defun hack-one-local-variable (var val) | 3562 | (defun hack-one-local-variable (var val) |
| 3563 | "Set local variable VAR with value VAL. | 3563 | "Set local variable VAR with value VAL. |
| @@ -3674,7 +3674,7 @@ variables from CLASS are applied to the buffer. The variables | |||
| 3674 | for a class are defined using `dir-locals-set-class-variables'." | 3674 | for a class are defined using `dir-locals-set-class-variables'." |
| 3675 | (setq directory (file-name-as-directory (expand-file-name directory))) | 3675 | (setq directory (file-name-as-directory (expand-file-name directory))) |
| 3676 | (unless (assq class dir-locals-class-alist) | 3676 | (unless (assq class dir-locals-class-alist) |
| 3677 | (error "No such class ‘%s’" (symbol-name class))) | 3677 | (error "No such class `%s'" (symbol-name class))) |
| 3678 | (push (list directory class mtime) dir-locals-directory-cache)) | 3678 | (push (list directory class mtime) dir-locals-directory-cache)) |
| 3679 | 3679 | ||
| 3680 | (defun dir-locals-set-class-variables (class variables) | 3680 | (defun dir-locals-set-class-variables (class variables) |
| @@ -4030,7 +4030,7 @@ Interactively, confirmation is required unless you supply a prefix argument." | |||
| 4030 | (listp last-nonmenu-event) | 4030 | (listp last-nonmenu-event) |
| 4031 | use-dialog-box)) | 4031 | use-dialog-box)) |
| 4032 | (or (y-or-n-p (format-message | 4032 | (or (y-or-n-p (format-message |
| 4033 | "File ‘%s’ exists; overwrite? " filename)) | 4033 | "File `%s' exists; overwrite? " filename)) |
| 4034 | (user-error "Canceled"))) | 4034 | (user-error "Canceled"))) |
| 4035 | (set-visited-file-name filename (not confirm)))) | 4035 | (set-visited-file-name filename (not confirm)))) |
| 4036 | (set-buffer-modified-p t) | 4036 | (set-buffer-modified-p t) |
| @@ -4736,7 +4736,7 @@ Before and after saving the buffer, this function runs | |||
| 4736 | ;; existing directory. | 4736 | ;; existing directory. |
| 4737 | (error "%s is a directory" filename) | 4737 | (error "%s is a directory" filename) |
| 4738 | (unless (y-or-n-p (format-message | 4738 | (unless (y-or-n-p (format-message |
| 4739 | "File ‘%s’ exists; overwrite? " | 4739 | "File `%s' exists; overwrite? " |
| 4740 | filename)) | 4740 | filename)) |
| 4741 | (error "Canceled")))) | 4741 | (error "Canceled")))) |
| 4742 | (set-visited-file-name filename))) | 4742 | (set-visited-file-name filename))) |
| @@ -4778,7 +4778,7 @@ Before and after saving the buffer, this function runs | |||
| 4778 | (unless (file-exists-p dir) | 4778 | (unless (file-exists-p dir) |
| 4779 | (if (y-or-n-p | 4779 | (if (y-or-n-p |
| 4780 | (format-message | 4780 | (format-message |
| 4781 | "Directory ‘%s’ does not exist; create? " dir)) | 4781 | "Directory `%s' does not exist; create? " dir)) |
| 4782 | (make-directory dir t) | 4782 | (make-directory dir t) |
| 4783 | (error "Canceled"))) | 4783 | (error "Canceled"))) |
| 4784 | (setq setmodes (basic-save-buffer-1)))) | 4784 | (setq setmodes (basic-save-buffer-1)))) |
| @@ -5221,7 +5221,7 @@ given. With a prefix argument, TRASH is nil." | |||
| 5221 | (list dir | 5221 | (list dir |
| 5222 | (if (directory-files dir nil directory-files-no-dot-files-regexp) | 5222 | (if (directory-files dir nil directory-files-no-dot-files-regexp) |
| 5223 | (y-or-n-p | 5223 | (y-or-n-p |
| 5224 | (format-message "Directory ‘%s’ is not empty, really %s? " | 5224 | (format-message "Directory `%s' is not empty, really %s? " |
| 5225 | dir (if trashing "trash" "delete"))) | 5225 | dir (if trashing "trash" "delete"))) |
| 5226 | nil) | 5226 | nil) |
| 5227 | (null current-prefix-arg)))) | 5227 | (null current-prefix-arg)))) |
| @@ -5327,7 +5327,7 @@ directly into NEWNAME instead." | |||
| 5327 | default-directory default-directory nil nil) | 5327 | default-directory default-directory nil nil) |
| 5328 | current-prefix-arg t nil))) | 5328 | current-prefix-arg t nil))) |
| 5329 | (when (file-in-directory-p newname directory) | 5329 | (when (file-in-directory-p newname directory) |
| 5330 | (error "Cannot copy ‘%s’ into its subdirectory ‘%s’" | 5330 | (error "Cannot copy `%s' into its subdirectory `%s'" |
| 5331 | directory newname)) | 5331 | directory newname)) |
| 5332 | ;; If default-directory is a remote directory, make sure we find its | 5332 | ;; If default-directory is a remote directory, make sure we find its |
| 5333 | ;; copy-directory handler. | 5333 | ;; copy-directory handler. |
| @@ -5699,7 +5699,7 @@ To choose one, move point to the proper line and then type C-c C-c. | |||
| 5699 | Then you'll be asked about a number of files to recover." | 5699 | Then you'll be asked about a number of files to recover." |
| 5700 | (interactive) | 5700 | (interactive) |
| 5701 | (if (null auto-save-list-file-prefix) | 5701 | (if (null auto-save-list-file-prefix) |
| 5702 | (error "You set ‘auto-save-list-file-prefix’ to disable making session files")) | 5702 | (error "You set `auto-save-list-file-prefix' to disable making session files")) |
| 5703 | (let ((dir (file-name-directory auto-save-list-file-prefix)) | 5703 | (let ((dir (file-name-directory auto-save-list-file-prefix)) |
| 5704 | (nd (file-name-nondirectory auto-save-list-file-prefix))) | 5704 | (nd (file-name-nondirectory auto-save-list-file-prefix))) |
| 5705 | (unless (file-directory-p dir) | 5705 | (unless (file-directory-p dir) |
| @@ -5793,7 +5793,7 @@ This command is used in the special Dired buffer created by | |||
| 5793 | (condition-case nil | 5793 | (condition-case nil |
| 5794 | (save-excursion (recover-file file)) | 5794 | (save-excursion (recover-file file)) |
| 5795 | (error | 5795 | (error |
| 5796 | "Failed to recover ‘%s’" file))) | 5796 | "Failed to recover `%s'" file))) |
| 5797 | files | 5797 | files |
| 5798 | '("file" "files" "recover")) | 5798 | '("file" "files" "recover")) |
| 5799 | (message "No files can be recovered from this session now"))) | 5799 | (message "No files can be recovered from this session now"))) |
| @@ -6478,7 +6478,7 @@ normally equivalent short `-D' option is just passed on to | |||
| 6478 | file result) | 6478 | file result) |
| 6479 | ;; Unix. Access the file to get a suitable error. | 6479 | ;; Unix. Access the file to get a suitable error. |
| 6480 | (access-file file "Reading directory") | 6480 | (access-file file "Reading directory") |
| 6481 | (error "Listing directory failed but ‘access-file’ worked"))) | 6481 | (error "Listing directory failed but `access-file' worked"))) |
| 6482 | 6482 | ||
| 6483 | (when (if (stringp switches) | 6483 | (when (if (stringp switches) |
| 6484 | (string-match "--dired\\>" switches) | 6484 | (string-match "--dired\\>" switches) |
| @@ -6771,7 +6771,7 @@ for the specified category of users." | |||
| 6771 | ((= char ?g) #o2070) | 6771 | ((= char ?g) #o2070) |
| 6772 | ((= char ?o) #o1007) | 6772 | ((= char ?o) #o1007) |
| 6773 | ((= char ?a) #o7777) | 6773 | ((= char ?a) #o7777) |
| 6774 | (t (error "%c: bad ‘who’ character" char)))) | 6774 | (t (error "%c: bad `who' character" char)))) |
| 6775 | 6775 | ||
| 6776 | (defun file-modes-char-to-right (char &optional from) | 6776 | (defun file-modes-char-to-right (char &optional from) |
| 6777 | "Convert CHAR to a numeric value of mode bits. | 6777 | "Convert CHAR to a numeric value of mode bits. |
| @@ -6843,7 +6843,7 @@ as in \"og+rX-w\"." | |||
| 6843 | (file-modes-rights-to-number (substring modes (match-end 1)) | 6843 | (file-modes-rights-to-number (substring modes (match-end 1)) |
| 6844 | num-who num-modes) | 6844 | num-who num-modes) |
| 6845 | modes (substring modes (match-end 3)))) | 6845 | modes (substring modes (match-end 3)))) |
| 6846 | (error "Parse error in modes near ‘%s’" (substring modes 0)))) | 6846 | (error "Parse error in modes near `%s'" (substring modes 0)))) |
| 6847 | num-modes))) | 6847 | num-modes))) |
| 6848 | 6848 | ||
| 6849 | (defun read-file-modes (&optional prompt orig-file) | 6849 | (defun read-file-modes (&optional prompt orig-file) |
| @@ -6912,7 +6912,7 @@ Otherwise, trash FILENAME using the freedesktop.org conventions, | |||
| 6912 | trash-dir))) | 6912 | trash-dir))) |
| 6913 | ;; We can't trash a parent directory of trash-directory. | 6913 | ;; We can't trash a parent directory of trash-directory. |
| 6914 | (if (string-prefix-p fn trash-dir) | 6914 | (if (string-prefix-p fn trash-dir) |
| 6915 | (error "Trash directory ‘%s’ is a subdirectory of ‘%s’" | 6915 | (error "Trash directory `%s' is a subdirectory of `%s'" |
| 6916 | trash-dir filename)) | 6916 | trash-dir filename)) |
| 6917 | (unless (file-directory-p trash-dir) | 6917 | (unless (file-directory-p trash-dir) |
| 6918 | (make-directory trash-dir t)) | 6918 | (make-directory trash-dir t)) |
diff --git a/lisp/filesets.el b/lisp/filesets.el index 887d1383a69..464c7c3eec5 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el | |||
| @@ -1799,7 +1799,7 @@ User will be queried, if no fileset name is provided." | |||
| 1799 | (current-buffer))) | 1799 | (current-buffer))) |
| 1800 | (name (or name | 1800 | (name (or name |
| 1801 | (completing-read | 1801 | (completing-read |
| 1802 | (format-message "Add ‘%s’ to fileset: " buffer) | 1802 | (format-message "Add `%s' to fileset: " buffer) |
| 1803 | filesets-data nil))) | 1803 | filesets-data nil))) |
| 1804 | (entry (or (assoc name filesets-data) | 1804 | (entry (or (assoc name filesets-data) |
| 1805 | (when (y-or-n-p | 1805 | (when (y-or-n-p |
| @@ -1819,13 +1819,13 @@ User will be queried, if no fileset name is provided." | |||
| 1819 | :test 'filesets-files-equalp))) | 1819 | :test 'filesets-files-equalp))) |
| 1820 | (cond | 1820 | (cond |
| 1821 | (inlist | 1821 | (inlist |
| 1822 | (message "Filesets: ‘%s’ is already in ‘%s’" this name)) | 1822 | (message "Filesets: `%s' is already in `%s'" this name)) |
| 1823 | ((and (equal (filesets-entry-mode entry) ':files) | 1823 | ((and (equal (filesets-entry-mode entry) ':files) |
| 1824 | this) | 1824 | this) |
| 1825 | (filesets-entry-set-files entry (cons this files) t) | 1825 | (filesets-entry-set-files entry (cons this files) t) |
| 1826 | (filesets-set-config name 'filesets-data filesets-data)) | 1826 | (filesets-set-config name 'filesets-data filesets-data)) |
| 1827 | (t | 1827 | (t |
| 1828 | (message "Filesets: Can't add ‘%s’ to fileset ‘%s’" this name))))))) | 1828 | (message "Filesets: Can't add `%s' to fileset `%s'" this name))))))) |
| 1829 | 1829 | ||
| 1830 | (defun filesets-remove-buffer (&optional name buffer) | 1830 | (defun filesets-remove-buffer (&optional name buffer) |
| 1831 | "Remove BUFFER (or current buffer) to fileset NAME. | 1831 | "Remove BUFFER (or current buffer) to fileset NAME. |
| @@ -1835,7 +1835,7 @@ User will be queried, if no fileset name is provided." | |||
| 1835 | (current-buffer))) | 1835 | (current-buffer))) |
| 1836 | (name (or name | 1836 | (name (or name |
| 1837 | (completing-read | 1837 | (completing-read |
| 1838 | (format-message "Remove ‘%s’ from fileset: " buffer) | 1838 | (format-message "Remove `%s' from fileset: " buffer) |
| 1839 | filesets-data nil t))) | 1839 | filesets-data nil t))) |
| 1840 | (entry (assoc name filesets-data))) | 1840 | (entry (assoc name filesets-data))) |
| 1841 | (if entry | 1841 | (if entry |
| @@ -1848,7 +1848,7 @@ User will be queried, if no fileset name is provided." | |||
| 1848 | (let ((new (list (cons ':files (delete (car inlist) files))))) | 1848 | (let ((new (list (cons ':files (delete (car inlist) files))))) |
| 1849 | (setcdr entry new) | 1849 | (setcdr entry new) |
| 1850 | (filesets-set-config name 'filesets-data filesets-data)) | 1850 | (filesets-set-config name 'filesets-data filesets-data)) |
| 1851 | (message "Filesets: Can't remove ‘%s’ from fileset ‘%s’" | 1851 | (message "Filesets: Can't remove `%s' from fileset `%s'" |
| 1852 | this | 1852 | this |
| 1853 | name)))))) | 1853 | name)))))) |
| 1854 | 1854 | ||
| @@ -2441,30 +2441,30 @@ fileset thinks this is necessary or not." | |||
| 2441 | "Filesets: manual editing of user data required! | 2441 | "Filesets: manual editing of user data required! |
| 2442 | 2442 | ||
| 2443 | Filesets has detected that you were using an older version before, | 2443 | Filesets has detected that you were using an older version before, |
| 2444 | which requires some manual updating. Type ‘y’ for editing the startup | 2444 | which requires some manual updating. Type `y' for editing the startup |
| 2445 | file now. | 2445 | file now. |
| 2446 | 2446 | ||
| 2447 | The layout of ‘filesets-data’ has changed. Please delete your cache file | 2447 | The layout of `filesets-data' has changed. Please delete your cache file |
| 2448 | and edit your startup file as shown below: | 2448 | and edit your startup file as shown below: |
| 2449 | 2449 | ||
| 2450 | 1. ‘filesets-data’: Edit all :pattern filesets in your startup file and | 2450 | 1. `filesets-data': Edit all :pattern filesets in your startup file and |
| 2451 | transform all entries as shown in this example: | 2451 | transform all entries as shown in this example: |
| 2452 | 2452 | ||
| 2453 | \(\"Test\" (:pattern \"~/dir/^pattern$\")) | 2453 | \(\"Test\" (:pattern \"~/dir/^pattern$\")) |
| 2454 | --> \(\"Test\" (:pattern \"~/dir/\" \"^pattern$\")) | 2454 | --> \(\"Test\" (:pattern \"~/dir/\" \"^pattern$\")) |
| 2455 | 2455 | ||
| 2456 | 2. ‘filesets-data’: Change all occurrences of \":document\" to \":ingroup\": | 2456 | 2. `filesets-data': Change all occurrences of \":document\" to \":ingroup\": |
| 2457 | 2457 | ||
| 2458 | \(\(\"Test\" \(:document \"~/dir/file\")) | 2458 | \(\(\"Test\" \(:document \"~/dir/file\")) |
| 2459 | --> \(\(\"Test\" \(:ingroup \"~/dir/file\")) | 2459 | --> \(\(\"Test\" \(:ingroup \"~/dir/file\")) |
| 2460 | 2460 | ||
| 2461 | 3. ‘filesets-subdocument-patterns’: If you already modified the variable | 2461 | 3. `filesets-subdocument-patterns': If you already modified the variable |
| 2462 | previously called ‘filesets-subdocument-patterns’, change its name to | 2462 | previously called `filesets-subdocument-patterns', change its name to |
| 2463 | ‘filesets-ingroup-patterns’. | 2463 | `filesets-ingroup-patterns'. |
| 2464 | 2464 | ||
| 2465 | 4. ‘filesets-menu-cache-contents’: If you already modified this | 2465 | 4. `filesets-menu-cache-contents': If you already modified this |
| 2466 | variable, change the entry ‘filesets-subdocument--cache’ to | 2466 | variable, change the entry `filesets-subdocument--cache' to |
| 2467 | ‘filesets-ingroup-cache’. | 2467 | `filesets-ingroup-cache'. |
| 2468 | 2468 | ||
| 2469 | 5. Type M-x filesets-update-cleanup and restart Emacs. | 2469 | 5. Type M-x filesets-update-cleanup and restart Emacs. |
| 2470 | 2470 | ||
diff --git a/lisp/find-cmd.el b/lisp/find-cmd.el index 8e419064c1b..d78a0b35fab 100644 --- a/lisp/find-cmd.el +++ b/lisp/find-cmd.el | |||
| @@ -209,7 +209,7 @@ args that OPTION can receive and ARGS are the arguments for OPTION. | |||
| 209 | If DONT-QUOTE is non-nil, arguments are quoted for passing them to | 209 | If DONT-QUOTE is non-nil, arguments are quoted for passing them to |
| 210 | the shell." | 210 | the shell." |
| 211 | (when (and (numberp argcount) (< (length args) argcount)) | 211 | (when (and (numberp argcount) (< (length args) argcount)) |
| 212 | (error "‘%s’ needs at least %d arguments" option argcount)) | 212 | (error "`%s' needs at least %d arguments" option argcount)) |
| 213 | (let ((oper (or oper 'find-or))) | 213 | (let ((oper (or oper 'find-or))) |
| 214 | (if (and args (length args)) | 214 | (if (and args (length args)) |
| 215 | (funcall oper (mapcar (lambda (x) | 215 | (funcall oper (mapcar (lambda (x) |
| @@ -247,7 +247,7 @@ them into valid switches. The result is -and(ed) together." | |||
| 247 | (find-to-string | 247 | (find-to-string |
| 248 | (find-generic option oper argcnt (cdr form) dont-quote)))) | 248 | (find-generic option oper argcnt (cdr form) dont-quote)))) |
| 249 | (t | 249 | (t |
| 250 | (error "Sorry I don't know how to handle ‘%s’" (car form)))))))) | 250 | (error "Sorry I don't know how to handle `%s'" (car form)))))))) |
| 251 | 251 | ||
| 252 | (provide 'find-cmd) | 252 | (provide 'find-cmd) |
| 253 | 253 | ||
diff --git a/lisp/finder.el b/lisp/finder.el index 51226aebb50..715dd9499fa 100644 --- a/lisp/finder.el +++ b/lisp/finder.el | |||
| @@ -393,7 +393,7 @@ FILE should be in a form suitable for passing to `locate-library'." | |||
| 393 | (if (locate-library (match-string 1)) | 393 | (if (locate-library (match-string 1)) |
| 394 | (make-text-button (match-beginning 1) (match-end 1) | 394 | (make-text-button (match-beginning 1) (match-end 1) |
| 395 | 'xref (match-string-no-properties 1) | 395 | 'xref (match-string-no-properties 1) |
| 396 | 'help-echo "Read this file’s commentary" | 396 | 'help-echo "Read this file's commentary" |
| 397 | :type 'finder-xref))) | 397 | :type 'finder-xref))) |
| 398 | (goto-char (point-min)) | 398 | (goto-char (point-min)) |
| 399 | (setq buffer-read-only t) | 399 | (setq buffer-read-only t) |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 8e8c6eb3845..cec95bf259c 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1052,7 +1052,7 @@ The region it returns may start or end in the middle of a line.") | |||
| 1052 | ;; Of course, this function doesn't do all of the above in all situations | 1052 | ;; Of course, this function doesn't do all of the above in all situations |
| 1053 | ;; (e.g. depending on whether jit-lock is in use) and it can't guess what | 1053 | ;; (e.g. depending on whether jit-lock is in use) and it can't guess what |
| 1054 | ;; the caller wants. | 1054 | ;; the caller wants. |
| 1055 | (interactive-only "use ‘font-lock-ensure’ or ‘font-lock-flush’ instead.")) | 1055 | (interactive-only "use `font-lock-ensure' or `font-lock-flush' instead.")) |
| 1056 | (interactive "p") | 1056 | (interactive "p") |
| 1057 | (font-lock-set-defaults) | 1057 | (font-lock-set-defaults) |
| 1058 | (let ((font-lock-verbose (or font-lock-verbose interactively))) | 1058 | (let ((font-lock-verbose (or font-lock-verbose interactively))) |
diff --git a/lisp/format.el b/lisp/format.el index 7ab68c8a04e..dbc814e5b01 100644 --- a/lisp/format.el +++ b/lisp/format.el | |||
| @@ -395,7 +395,7 @@ unless you supply a prefix argument." | |||
| 395 | (cdr (assq 'default-directory | 395 | (cdr (assq 'default-directory |
| 396 | (buffer-local-variables))) | 396 | (buffer-local-variables))) |
| 397 | nil nil (buffer-name)))) | 397 | nil nil (buffer-name)))) |
| 398 | (fmt (format-read (format-message "Write file ‘%s’ in format: " | 398 | (fmt (format-read (format-message "Write file `%s' in format: " |
| 399 | (file-name-nondirectory file))))) | 399 | (file-name-nondirectory file))))) |
| 400 | (list file fmt (not current-prefix-arg)))) | 400 | (list file fmt (not current-prefix-arg)))) |
| 401 | (let ((old-formats buffer-file-format) | 401 | (let ((old-formats buffer-file-format) |
| @@ -416,7 +416,7 @@ If FORMAT is nil then do not do any format conversion." | |||
| 416 | (interactive | 416 | (interactive |
| 417 | ;; Same interactive spec as write-file, plus format question. | 417 | ;; Same interactive spec as write-file, plus format question. |
| 418 | (let* ((file (read-file-name "Find file: ")) | 418 | (let* ((file (read-file-name "Find file: ")) |
| 419 | (fmt (format-read (format-message "Read file ‘%s’ in format: " | 419 | (fmt (format-read (format-message "Read file `%s' in format: " |
| 420 | (file-name-nondirectory file))))) | 420 | (file-name-nondirectory file))))) |
| 421 | (list file fmt))) | 421 | (list file fmt))) |
| 422 | (let ((format-alist nil)) | 422 | (let ((format-alist nil)) |
| @@ -435,7 +435,7 @@ a list (ABSOLUTE-FILE-NAME SIZE)." | |||
| 435 | (interactive | 435 | (interactive |
| 436 | ;; Same interactive spec as write-file, plus format question. | 436 | ;; Same interactive spec as write-file, plus format question. |
| 437 | (let* ((file (read-file-name "Find file: ")) | 437 | (let* ((file (read-file-name "Find file: ")) |
| 438 | (fmt (format-read (format-message "Read file ‘%s’ in format: " | 438 | (fmt (format-read (format-message "Read file `%s' in format: " |
| 439 | (file-name-nondirectory file))))) | 439 | (file-name-nondirectory file))))) |
| 440 | (list file fmt))) | 440 | (list file fmt))) |
| 441 | (let (value size old-undo) | 441 | (let (value size old-undo) |
diff --git a/lisp/frame.el b/lisp/frame.el index 3abb72cb859..bbf0a63c057 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -743,7 +743,7 @@ the name of an X display device (HOST.SERVER.SCREEN) or a tty device file." | |||
| 743 | (frame-terminal f))) | 743 | (frame-terminal f))) |
| 744 | ((terminal-live-p device) device) | 744 | ((terminal-live-p device) device) |
| 745 | (t | 745 | (t |
| 746 | (error "Invalid argument %s in ‘get-device-terminal’" device)))) | 746 | (error "Invalid argument %s in `get-device-terminal'" device)))) |
| 747 | 747 | ||
| 748 | (defun frames-on-display-list (&optional device) | 748 | (defun frames-on-display-list (&optional device) |
| 749 | "Return a list of all frames on DEVICE. | 749 | "Return a list of all frames on DEVICE. |
| @@ -894,7 +894,7 @@ If there is no frame by that name, signal an error." | |||
| 894 | (frame (cdr (assoc name frame-names-alist)))) | 894 | (frame (cdr (assoc name frame-names-alist)))) |
| 895 | (if frame | 895 | (if frame |
| 896 | (select-frame-set-input-focus frame) | 896 | (select-frame-set-input-focus frame) |
| 897 | (error "There is no frame named ‘%s’" name)))) | 897 | (error "There is no frame named `%s'" name)))) |
| 898 | 898 | ||
| 899 | 899 | ||
| 900 | ;;;; Background mode. | 900 | ;;;; Background mode. |
diff --git a/lisp/fringe.el b/lisp/fringe.el index f982b3557e6..8f40c46c3d3 100644 --- a/lisp/fringe.el +++ b/lisp/fringe.el | |||
| @@ -122,7 +122,7 @@ See `fringe-mode' for possible values and their effect." | |||
| 122 | (and (consp style) | 122 | (and (consp style) |
| 123 | (or (null (car style)) (integerp (car style))) | 123 | (or (null (car style)) (integerp (car style))) |
| 124 | (or (null (cdr style)) (integerp (cdr style)))) | 124 | (or (null (cdr style)) (integerp (cdr style)))) |
| 125 | (error "Invalid fringe style ‘%s’" style))) | 125 | (error "Invalid fringe style `%s'" style))) |
| 126 | 126 | ||
| 127 | ;; For initialization of fringe-mode, take account of changes | 127 | ;; For initialization of fringe-mode, take account of changes |
| 128 | ;; made explicitly to default-frame-alist. | 128 | ;; made explicitly to default-frame-alist. |
diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el index e34b708a29c..ccfc5996e79 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el | |||
| @@ -1943,7 +1943,9 @@ Fill in VALUES if based on an article." | |||
| 1943 | (kill-all-local-variables) | 1943 | (kill-all-local-variables) |
| 1944 | (erase-buffer) | 1944 | (erase-buffer) |
| 1945 | (widget-insert "Specify your query for Mairix (check boxes for activating fields):\n\n") | 1945 | (widget-insert "Specify your query for Mairix (check boxes for activating fields):\n\n") |
| 1946 | (widget-insert "(Whitespaces will be converted to ‘,’ (i.e. AND). Use ‘/’ for OR.)\n\n") | 1946 | (widget-insert |
| 1947 | (substitute-command-keys | ||
| 1948 | "(Whitespaces will be converted to `,' (i.e. AND). Use `/' for OR.)\n\n")) | ||
| 1947 | ; (make-local-variable 'nnmairix-widgets) | 1949 | ; (make-local-variable 'nnmairix-widgets) |
| 1948 | (setq nnmairix-widgets (nnmairix-widget-build-editable-fields values)) | 1950 | (setq nnmairix-widgets (nnmairix-widget-build-editable-fields values)) |
| 1949 | (when (member 'flags nnmairix-widget-other) | 1951 | (when (member 'flags nnmairix-widget-other) |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index b247c5bf30f..77ef21d4af1 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -319,7 +319,7 @@ suitable file is found, return nil." | |||
| 319 | (when remapped | 319 | (when remapped |
| 320 | (princ "Its keys are remapped to ") | 320 | (princ "Its keys are remapped to ") |
| 321 | (princ (if (symbolp remapped) | 321 | (princ (if (symbolp remapped) |
| 322 | (format-message "‘%s’" remapped) | 322 | (format-message "`%s'" remapped) |
| 323 | "an anonymous command")) | 323 | "an anonymous command")) |
| 324 | (princ ".\n")) | 324 | (princ ".\n")) |
| 325 | 325 | ||
| @@ -353,17 +353,17 @@ suitable file is found, return nil." | |||
| 353 | (insert "\nThis function has a compiler macro") | 353 | (insert "\nThis function has a compiler macro") |
| 354 | (if (symbolp handler) | 354 | (if (symbolp handler) |
| 355 | (progn | 355 | (progn |
| 356 | (insert (format-message " ‘%s’" handler)) | 356 | (insert (format-message " `%s'" handler)) |
| 357 | (save-excursion | 357 | (save-excursion |
| 358 | (re-search-backward (substitute-command-keys "‘\\([^‘’]+\\)’") | 358 | (re-search-backward (substitute-command-keys "`\\([^`']+\\)'") |
| 359 | nil t) | 359 | nil t) |
| 360 | (help-xref-button 1 'help-function handler))) | 360 | (help-xref-button 1 'help-function handler))) |
| 361 | ;; FIXME: Obsolete since 24.4. | 361 | ;; FIXME: Obsolete since 24.4. |
| 362 | (let ((lib (get function 'compiler-macro-file))) | 362 | (let ((lib (get function 'compiler-macro-file))) |
| 363 | (when (stringp lib) | 363 | (when (stringp lib) |
| 364 | (insert (format-message " in ‘%s’" lib)) | 364 | (insert (format-message " in `%s'" lib)) |
| 365 | (save-excursion | 365 | (save-excursion |
| 366 | (re-search-backward (substitute-command-keys "‘\\([^‘’]+\\)’") | 366 | (re-search-backward (substitute-command-keys "`\\([^`']+\\)'") |
| 367 | nil t) | 367 | nil t) |
| 368 | (help-xref-button 1 'help-function-cmacro function lib))))) | 368 | (help-xref-button 1 'help-function-cmacro function lib))))) |
| 369 | (insert ".\n")))) | 369 | (insert ".\n")))) |
| @@ -422,13 +422,13 @@ suitable file is found, return nil." | |||
| 422 | (get function | 422 | (get function |
| 423 | 'derived-mode-parent)))) | 423 | 'derived-mode-parent)))) |
| 424 | (when parent-mode | 424 | (when parent-mode |
| 425 | (insert (substitute-command-keys "\nParent mode: ‘")) | 425 | (insert (substitute-command-keys "\nParent mode: `")) |
| 426 | (let ((beg (point))) | 426 | (let ((beg (point))) |
| 427 | (insert (format "%s" parent-mode)) | 427 | (insert (format "%s" parent-mode)) |
| 428 | (make-text-button beg (point) | 428 | (make-text-button beg (point) |
| 429 | 'type 'help-function | 429 | 'type 'help-function |
| 430 | 'help-args (list parent-mode))) | 430 | 'help-args (list parent-mode))) |
| 431 | (insert (substitute-command-keys "’.\n"))))) | 431 | (insert (substitute-command-keys "'.\n"))))) |
| 432 | 432 | ||
| 433 | (defun help-fns--obsolete (function) | 433 | (defun help-fns--obsolete (function) |
| 434 | ;; Ignore lambda constructs, keyboard macros, etc. | 434 | ;; Ignore lambda constructs, keyboard macros, etc. |
| @@ -444,7 +444,7 @@ suitable file is found, return nil." | |||
| 444 | (when (nth 2 obsolete) | 444 | (when (nth 2 obsolete) |
| 445 | (insert (format " since %s" (nth 2 obsolete)))) | 445 | (insert (format " since %s" (nth 2 obsolete)))) |
| 446 | (insert (cond ((stringp use) (concat ";\n" use)) | 446 | (insert (cond ((stringp use) (concat ";\n" use)) |
| 447 | (use (format-message ";\nuse ‘%s’ instead." use)) | 447 | (use (format-message ";\nuse `%s' instead." use)) |
| 448 | (t ".")) | 448 | (t ".")) |
| 449 | "\n")))) | 449 | "\n")))) |
| 450 | 450 | ||
| @@ -480,7 +480,7 @@ FILE is the file where FUNCTION was probably defined." | |||
| 480 | (format ";\nin Lisp code %s" interactive-only)) | 480 | (format ";\nin Lisp code %s" interactive-only)) |
| 481 | ((and (symbolp 'interactive-only) | 481 | ((and (symbolp 'interactive-only) |
| 482 | (not (eq interactive-only t))) | 482 | (not (eq interactive-only t))) |
| 483 | (format-message ";\nin Lisp code use ‘%s’ instead." | 483 | (format-message ";\nin Lisp code use `%s' instead." |
| 484 | interactive-only)) | 484 | interactive-only)) |
| 485 | (t ".")) | 485 | (t ".")) |
| 486 | "\n"))))) | 486 | "\n"))))) |
| @@ -549,7 +549,7 @@ FILE is the file where FUNCTION was probably defined." | |||
| 549 | ;; Aliases are Lisp functions, so we need to check | 549 | ;; Aliases are Lisp functions, so we need to check |
| 550 | ;; aliases before functions. | 550 | ;; aliases before functions. |
| 551 | (aliased | 551 | (aliased |
| 552 | (format-message "an alias for ‘%s’" real-def)) | 552 | (format-message "an alias for `%s'" real-def)) |
| 553 | ((autoloadp def) | 553 | ((autoloadp def) |
| 554 | (format "%s autoloaded %s" | 554 | (format "%s autoloaded %s" |
| 555 | (if (commandp def) "an interactive" "an") | 555 | (if (commandp def) "an interactive" "an") |
| @@ -584,21 +584,21 @@ FILE is the file where FUNCTION was probably defined." | |||
| 584 | (save-excursion | 584 | (save-excursion |
| 585 | (save-match-data | 585 | (save-match-data |
| 586 | (when (re-search-backward (substitute-command-keys | 586 | (when (re-search-backward (substitute-command-keys |
| 587 | "alias for ‘\\([^‘’]+\\)’") | 587 | "alias for `\\([^`']+\\)'") |
| 588 | nil t) | 588 | nil t) |
| 589 | (help-xref-button 1 'help-function real-def))))) | 589 | (help-xref-button 1 'help-function real-def))))) |
| 590 | 590 | ||
| 591 | (when file-name | 591 | (when file-name |
| 592 | ;; We used to add .el to the file name, | 592 | ;; We used to add .el to the file name, |
| 593 | ;; but that's completely wrong when the user used load-file. | 593 | ;; but that's completely wrong when the user used load-file. |
| 594 | (princ (format-message " in ‘%s’" | 594 | (princ (format-message " in `%s'" |
| 595 | (if (eq file-name 'C-source) | 595 | (if (eq file-name 'C-source) |
| 596 | "C source code" | 596 | "C source code" |
| 597 | (help-fns-short-filename file-name)))) | 597 | (help-fns-short-filename file-name)))) |
| 598 | ;; Make a hyperlink to the library. | 598 | ;; Make a hyperlink to the library. |
| 599 | (with-current-buffer standard-output | 599 | (with-current-buffer standard-output |
| 600 | (save-excursion | 600 | (save-excursion |
| 601 | (re-search-backward (substitute-command-keys "‘\\([^‘’]+\\)’") | 601 | (re-search-backward (substitute-command-keys "`\\([^`']+\\)'") |
| 602 | nil t) | 602 | nil t) |
| 603 | (help-xref-button 1 'help-function-def function file-name)))) | 603 | (help-xref-button 1 'help-function-def function file-name)))) |
| 604 | (princ ".") | 604 | (princ ".") |
| @@ -734,14 +734,14 @@ it is displayed along with the global value." | |||
| 734 | (if file-name | 734 | (if file-name |
| 735 | (progn | 735 | (progn |
| 736 | (princ (format-message | 736 | (princ (format-message |
| 737 | " is a variable defined in ‘%s’.\n" | 737 | " is a variable defined in `%s'.\n" |
| 738 | (if (eq file-name 'C-source) | 738 | (if (eq file-name 'C-source) |
| 739 | "C source code" | 739 | "C source code" |
| 740 | (file-name-nondirectory file-name)))) | 740 | (file-name-nondirectory file-name)))) |
| 741 | (with-current-buffer standard-output | 741 | (with-current-buffer standard-output |
| 742 | (save-excursion | 742 | (save-excursion |
| 743 | (re-search-backward (substitute-command-keys | 743 | (re-search-backward (substitute-command-keys |
| 744 | "‘\\([^‘’]+\\)’") | 744 | "`\\([^`']+\\)'") |
| 745 | nil t) | 745 | nil t) |
| 746 | (help-xref-button 1 'help-variable-def | 746 | (help-xref-button 1 'help-variable-def |
| 747 | variable file-name))) | 747 | variable file-name))) |
| @@ -750,7 +750,7 @@ it is displayed along with the global value." | |||
| 750 | (princ "Its "))) | 750 | (princ "Its "))) |
| 751 | (if valvoid | 751 | (if valvoid |
| 752 | (princ " is void as a variable.") | 752 | (princ " is void as a variable.") |
| 753 | (princ (substitute-command-keys "’s "))))) | 753 | (princ (substitute-command-keys "'s "))))) |
| 754 | (unless valvoid | 754 | (unless valvoid |
| 755 | (with-current-buffer standard-output | 755 | (with-current-buffer standard-output |
| 756 | (setq val-start-pos (point)) | 756 | (setq val-start-pos (point)) |
| @@ -876,7 +876,7 @@ if it is given a local binding.\n")))) | |||
| 876 | (unless (eq alias variable) | 876 | (unless (eq alias variable) |
| 877 | (setq extra-line t) | 877 | (setq extra-line t) |
| 878 | (princ (format-message | 878 | (princ (format-message |
| 879 | " This variable is an alias for ‘%s’.\n" | 879 | " This variable is an alias for `%s'.\n" |
| 880 | alias))) | 880 | alias))) |
| 881 | 881 | ||
| 882 | (when obsolete | 882 | (when obsolete |
| @@ -885,7 +885,7 @@ if it is given a local binding.\n")))) | |||
| 885 | (if (nth 2 obsolete) | 885 | (if (nth 2 obsolete) |
| 886 | (princ (format " since %s" (nth 2 obsolete)))) | 886 | (princ (format " since %s" (nth 2 obsolete)))) |
| 887 | (princ (cond ((stringp use) (concat ";\n " use)) | 887 | (princ (cond ((stringp use) (concat ";\n " use)) |
| 888 | (use (format-message ";\n use ‘%s’ instead." | 888 | (use (format-message ";\n use `%s' instead." |
| 889 | (car obsolete))) | 889 | (car obsolete))) |
| 890 | (t "."))) | 890 | (t "."))) |
| 891 | (terpri)) | 891 | (terpri)) |
| @@ -919,13 +919,13 @@ if it is given a local binding.\n")))) | |||
| 919 | dir-file nil))) | 919 | dir-file nil))) |
| 920 | (princ (substitute-command-keys | 920 | (princ (substitute-command-keys |
| 921 | (if dir-file | 921 | (if dir-file |
| 922 | "by the file\n ‘" | 922 | "by the file\n `" |
| 923 | "for the directory\n ‘"))) | 923 | "for the directory\n `"))) |
| 924 | (with-current-buffer standard-output | 924 | (with-current-buffer standard-output |
| 925 | (insert-text-button | 925 | (insert-text-button |
| 926 | file 'type 'help-dir-local-var-def | 926 | file 'type 'help-dir-local-var-def |
| 927 | 'help-args (list variable file))) | 927 | 'help-args (list variable file))) |
| 928 | (princ (substitute-command-keys "’.\n")))) | 928 | (princ (substitute-command-keys "'.\n")))) |
| 929 | (princ (substitute-command-keys | 929 | (princ (substitute-command-keys |
| 930 | " This variable's value is file-local.\n")))) | 930 | " This variable's value is file-local.\n")))) |
| 931 | 931 | ||
| @@ -942,7 +942,7 @@ file-local variable.\n") | |||
| 942 | (when (assq variable safe-local-variable-values) | 942 | (when (assq variable safe-local-variable-values) |
| 943 | (princ (substitute-command-keys | 943 | (princ (substitute-command-keys |
| 944 | " However, you have added it to \ | 944 | " However, you have added it to \ |
| 945 | ‘safe-local-variable-values’.\n")))) | 945 | `safe-local-variable-values'.\n")))) |
| 946 | 946 | ||
| 947 | (when safe-var | 947 | (when safe-var |
| 948 | (setq extra-line t) | 948 | (setq extra-line t) |
| @@ -950,7 +950,7 @@ file-local variable.\n") | |||
| 950 | (princ "if its value\n satisfies the predicate ") | 950 | (princ "if its value\n satisfies the predicate ") |
| 951 | (princ (if (byte-code-function-p safe-var) | 951 | (princ (if (byte-code-function-p safe-var) |
| 952 | "which is a byte-compiled expression.\n" | 952 | "which is a byte-compiled expression.\n" |
| 953 | (format-message "‘%s’.\n" safe-var)))) | 953 | (format-message "`%s'.\n" safe-var)))) |
| 954 | 954 | ||
| 955 | (if extra-line (terpri)) | 955 | (if extra-line (terpri)) |
| 956 | (princ "Documentation:\n") | 956 | (princ "Documentation:\n") |
diff --git a/lisp/help.el b/lisp/help.el index d9b0e187f79..66df6b08037 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -964,12 +964,12 @@ documentation for the major and minor modes of that buffer." | |||
| 964 | (let* ((mode major-mode) | 964 | (let* ((mode major-mode) |
| 965 | (file-name (find-lisp-object-file-name mode nil))) | 965 | (file-name (find-lisp-object-file-name mode nil))) |
| 966 | (when file-name | 966 | (when file-name |
| 967 | (princ (format-message " defined in ‘%s’" | 967 | (princ (format-message " defined in `%s'" |
| 968 | (file-name-nondirectory file-name))) | 968 | (file-name-nondirectory file-name))) |
| 969 | ;; Make a hyperlink to the library. | 969 | ;; Make a hyperlink to the library. |
| 970 | (with-current-buffer standard-output | 970 | (with-current-buffer standard-output |
| 971 | (save-excursion | 971 | (save-excursion |
| 972 | (re-search-backward (substitute-command-keys "‘\\([^‘’]+\\)’") | 972 | (re-search-backward (substitute-command-keys "`\\([^`']+\\)'") |
| 973 | nil t) | 973 | nil t) |
| 974 | (help-xref-button 1 'help-function-def mode file-name))))) | 974 | (help-xref-button 1 'help-function-def mode file-name))))) |
| 975 | (princ ":\n") | 975 | (princ ":\n") |
| @@ -1041,7 +1041,7 @@ is currently activated with completion." | |||
| 1041 | (let ((minor-mode (lookup-minor-mode-from-indicator indicator))) | 1041 | (let ((minor-mode (lookup-minor-mode-from-indicator indicator))) |
| 1042 | (if minor-mode | 1042 | (if minor-mode |
| 1043 | (describe-minor-mode-from-symbol minor-mode) | 1043 | (describe-minor-mode-from-symbol minor-mode) |
| 1044 | (error "Cannot find minor mode for ‘%s’" indicator)))) | 1044 | (error "Cannot find minor mode for `%s'" indicator)))) |
| 1045 | 1045 | ||
| 1046 | (defun lookup-minor-mode-from-indicator (indicator) | 1046 | (defun lookup-minor-mode-from-indicator (indicator) |
| 1047 | "Return a minor mode symbol from its indicator on the mode line." | 1047 | "Return a minor mode symbol from its indicator on the mode line." |
| @@ -1352,7 +1352,7 @@ the help window if the current value of the user option | |||
| 1352 | 1352 | ||
| 1353 | (defun help--docstring-quote (string) | 1353 | (defun help--docstring-quote (string) |
| 1354 | "Return a doc string that represents STRING. | 1354 | "Return a doc string that represents STRING. |
| 1355 | The result, when formatted by ‘substitute-command-keys’, should equal STRING." | 1355 | The result, when formatted by `substitute-command-keys', should equal STRING." |
| 1356 | (replace-regexp-in-string "['\\`‘’]" "\\\\=\\&" string)) | 1356 | (replace-regexp-in-string "['\\`‘’]" "\\\\=\\&" string)) |
| 1357 | 1357 | ||
| 1358 | ;; The following functions used to be in help-fns.el, which is not preloaded. | 1358 | ;; The following functions used to be in help-fns.el, which is not preloaded. |
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 24160a68066..74cdfe13f58 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el | |||
| @@ -187,13 +187,13 @@ It takes only one argument, the filename." | |||
| 187 | :type '(string)) | 187 | :type '(string)) |
| 188 | 188 | ||
| 189 | (defcustom hfy-src-doc-link-style "text-decoration: underline;" | 189 | (defcustom hfy-src-doc-link-style "text-decoration: underline;" |
| 190 | "String to add to the ‘<style> a’ variant of an htmlfontify CSS class." | 190 | "String to add to the `<style> a' variant of an htmlfontify CSS class." |
| 191 | :group 'htmlfontify | 191 | :group 'htmlfontify |
| 192 | :tag "src-doc-link-style" | 192 | :tag "src-doc-link-style" |
| 193 | :type '(string)) | 193 | :type '(string)) |
| 194 | 194 | ||
| 195 | (defcustom hfy-src-doc-link-unstyle " text-decoration: none;" | 195 | (defcustom hfy-src-doc-link-unstyle " text-decoration: none;" |
| 196 | "Regex to remove from the ‘<style> a’ variant of an htmlfontify CSS class." | 196 | "Regex to remove from the `<style> a' variant of an htmlfontify CSS class." |
| 197 | :group 'htmlfontify | 197 | :group 'htmlfontify |
| 198 | :tag "src-doc-link-unstyle" | 198 | :tag "src-doc-link-unstyle" |
| 199 | :type '(string)) | 199 | :type '(string)) |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 3e973431044..718471b7993 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -2303,7 +2303,7 @@ buffers which are visiting a file." | |||
| 2303 | (defun ibuffer (&optional other-window-p name qualifiers noselect | 2303 | (defun ibuffer (&optional other-window-p name qualifiers noselect |
| 2304 | shrink filter-groups formats) | 2304 | shrink filter-groups formats) |
| 2305 | "Begin using Ibuffer to edit a list of buffers. | 2305 | "Begin using Ibuffer to edit a list of buffers. |
| 2306 | Type ‘h’ after entering ibuffer for more information. | 2306 | Type `h' after entering ibuffer for more information. |
| 2307 | 2307 | ||
| 2308 | All arguments are optional. | 2308 | All arguments are optional. |
| 2309 | OTHER-WINDOW-P says to use another window. | 2309 | OTHER-WINDOW-P says to use another window. |
diff --git a/lisp/ido.el b/lisp/ido.el index 95be6566ea6..13b6d52e75c 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -378,7 +378,7 @@ use either \\[customize] or the function `ido-mode'." | |||
| 378 | '("\\` ") | 378 | '("\\` ") |
| 379 | "List of regexps or functions matching buffer names to ignore. | 379 | "List of regexps or functions matching buffer names to ignore. |
| 380 | For example, traditional behavior is not to list buffers whose names begin | 380 | For example, traditional behavior is not to list buffers whose names begin |
| 381 | with a space, for which the regexp is ‘\\\\=` ’. See the source file for | 381 | with a space, for which the regexp is `\\\\=` '. See the source file for |
| 382 | example functions that filter buffer names." | 382 | example functions that filter buffer names." |
| 383 | :type '(repeat (choice regexp function)) | 383 | :type '(repeat (choice regexp function)) |
| 384 | :group 'ido) | 384 | :group 'ido) |
| @@ -387,7 +387,7 @@ example functions that filter buffer names." | |||
| 387 | '("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./") | 387 | '("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./") |
| 388 | "List of regexps or functions matching file names to ignore. | 388 | "List of regexps or functions matching file names to ignore. |
| 389 | For example, traditional behavior is not to list files whose names begin | 389 | For example, traditional behavior is not to list files whose names begin |
| 390 | with a #, for which the regexp is ‘\\\\=`#’. See the source file for | 390 | with a #, for which the regexp is `\\\\=`#'. See the source file for |
| 391 | example functions that filter filenames." | 391 | example functions that filter filenames." |
| 392 | :type '(repeat (choice regexp function)) | 392 | :type '(repeat (choice regexp function)) |
| 393 | :group 'ido) | 393 | :group 'ido) |
diff --git a/lisp/image.el b/lisp/image.el index 99a65e3258f..0c62088ca5d 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -343,7 +343,7 @@ of image data. If that doesn't work, and SOURCE is a file name, | |||
| 343 | use its file extension as image type. | 343 | use its file extension as image type. |
| 344 | Optional DATA-P non-nil means SOURCE is a string containing image data." | 344 | Optional DATA-P non-nil means SOURCE is a string containing image data." |
| 345 | (when (and (not data-p) (not (stringp source))) | 345 | (when (and (not data-p) (not (stringp source))) |
| 346 | (error "Invalid image file name ‘%s’" source)) | 346 | (error "Invalid image file name `%s'" source)) |
| 347 | (unless type | 347 | (unless type |
| 348 | (setq type (if data-p | 348 | (setq type (if data-p |
| 349 | (image-type-from-data source) | 349 | (image-type-from-data source) |
| @@ -351,7 +351,7 @@ Optional DATA-P non-nil means SOURCE is a string containing image data." | |||
| 351 | (image-type-from-file-name source)))) | 351 | (image-type-from-file-name source)))) |
| 352 | (or type (error "Cannot determine image type"))) | 352 | (or type (error "Cannot determine image type"))) |
| 353 | (or (memq type (and (boundp 'image-types) image-types)) | 353 | (or (memq type (and (boundp 'image-types) image-types)) |
| 354 | (error "Invalid image type ‘%s’" type)) | 354 | (error "Invalid image type `%s'" type)) |
| 355 | type) | 355 | type) |
| 356 | 356 | ||
| 357 | 357 | ||
diff --git a/lisp/info.el b/lisp/info.el index 2c92df4ec16..a5a2c559e0d 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -3460,7 +3460,7 @@ MATCHES is a list of index matches found by `Info-index'.") | |||
| 3460 | (when (equal (car (nth 0 nodeinfo)) (or filename Info-current-file)) | 3460 | (when (equal (car (nth 0 nodeinfo)) (or filename Info-current-file)) |
| 3461 | (insert | 3461 | (insert |
| 3462 | (format "* %-20s %s.\n" | 3462 | (format "* %-20s %s.\n" |
| 3463 | (format-message "*Index for ‘%s’*::" (cdr (nth 0 nodeinfo))) | 3463 | (format "*Index for ‘%s’*::" (cdr (nth 0 nodeinfo))) |
| 3464 | (cdr (nth 0 nodeinfo))))))))) | 3464 | (cdr (nth 0 nodeinfo))))))))) |
| 3465 | 3465 | ||
| 3466 | (defun Info-virtual-index (topic) | 3466 | (defun Info-virtual-index (topic) |
| @@ -3496,7 +3496,7 @@ search results." | |||
| 3496 | (Info-goto-node orignode) | 3496 | (Info-goto-node orignode) |
| 3497 | (message ""))) | 3497 | (message ""))) |
| 3498 | (Info-find-node Info-current-file | 3498 | (Info-find-node Info-current-file |
| 3499 | (format-message "*Index for ‘%s’*" topic)))) | 3499 | (format "*Index for ‘%s’*" topic)))) |
| 3500 | 3500 | ||
| 3501 | (add-to-list 'Info-virtual-files | 3501 | (add-to-list 'Info-virtual-files |
| 3502 | '("\\`\\*Apropos\\*\\'" | 3502 | '("\\`\\*Apropos\\*\\'" |
| @@ -3635,7 +3635,7 @@ Build a menu of the possible matches." | |||
| 3635 | (setq nodes (cdr nodes))) | 3635 | (setq nodes (cdr nodes))) |
| 3636 | (if nodes | 3636 | (if nodes |
| 3637 | (Info-find-node Info-apropos-file (car (car nodes))) | 3637 | (Info-find-node Info-apropos-file (car (car nodes))) |
| 3638 | (setq nodename (format-message "Index for ‘%s’" string)) | 3638 | (setq nodename (format "Index for ‘%s’" string)) |
| 3639 | (push (list nodename string (Info-apropos-matches string)) | 3639 | (push (list nodename string (Info-apropos-matches string)) |
| 3640 | Info-apropos-nodes) | 3640 | Info-apropos-nodes) |
| 3641 | (Info-find-node Info-apropos-file nodename))))) | 3641 | (Info-find-node Info-apropos-file nodename))))) |
diff --git a/lisp/international/ccl.el b/lisp/international/ccl.el index 08c18e1fdc7..daba2b6ed09 100644 --- a/lisp/international/ccl.el +++ b/lisp/international/ccl.el | |||
| @@ -967,8 +967,7 @@ is a list of CCL-BLOCKs." | |||
| 967 | (let ((len (length ccl-code)) | 967 | (let ((len (length ccl-code)) |
| 968 | (buffer-mag (aref ccl-code 0))) | 968 | (buffer-mag (aref ccl-code 0))) |
| 969 | (cond ((= buffer-mag 0) | 969 | (cond ((= buffer-mag 0) |
| 970 | (insert (substitute-command-keys | 970 | (insert (substitute-command-keys "Don't output anything.\n"))) |
| 971 | "Don’t output anything.\n"))) | ||
| 972 | ((= buffer-mag 1) | 971 | ((= buffer-mag 1) |
| 973 | (insert "Out-buffer must be as large as in-buffer.\n")) | 972 | (insert "Out-buffer must be as large as in-buffer.\n")) |
| 974 | (t | 973 | (t |
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el index 4667a003b1d..cdbaade73ab 100644 --- a/lisp/international/fontset.el +++ b/lisp/international/fontset.el | |||
| @@ -1070,7 +1070,7 @@ Value is name of that font." | |||
| 1070 | (condition-case nil | 1070 | (condition-case nil |
| 1071 | (setq ascii-font (x-resolve-font-name pattern)) | 1071 | (setq ascii-font (x-resolve-font-name pattern)) |
| 1072 | (error | 1072 | (error |
| 1073 | (message "Warning: no fonts matching ‘%s’ available" pattern) | 1073 | (message "Warning: no fonts matching `%s' available" pattern) |
| 1074 | (aset xlfd-fields index "*") | 1074 | (aset xlfd-fields index "*") |
| 1075 | (setq index (1+ index)))))) | 1075 | (setq index (1+ index)))))) |
| 1076 | (unless ascii-font | 1076 | (unless ascii-font |
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 5934919d42e..4fd4b906b05 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -400,9 +400,9 @@ To prefer, for instance, utf-8, say the following: | |||
| 400 | \(prefer-coding-system \\='utf-8)" | 400 | \(prefer-coding-system \\='utf-8)" |
| 401 | (interactive "zPrefer coding system: ") | 401 | (interactive "zPrefer coding system: ") |
| 402 | (if (not (and coding-system (coding-system-p coding-system))) | 402 | (if (not (and coding-system (coding-system-p coding-system))) |
| 403 | (error "Invalid coding system ‘%s’" coding-system)) | 403 | (error "Invalid coding system `%s'" coding-system)) |
| 404 | (if (memq (coding-system-type coding-system) '(raw-text undecided)) | 404 | (if (memq (coding-system-type coding-system) '(raw-text undecided)) |
| 405 | (error "Can't prefer the coding system ‘%s’" coding-system)) | 405 | (error "Can't prefer the coding system `%s'" coding-system)) |
| 406 | (let ((base (coding-system-base coding-system)) | 406 | (let ((base (coding-system-base coding-system)) |
| 407 | (eol-type (coding-system-eol-type coding-system))) | 407 | (eol-type (coding-system-eol-type coding-system))) |
| 408 | (set-coding-system-priority base) | 408 | (set-coding-system-priority base) |
| @@ -417,7 +417,7 @@ To prefer, for instance, utf-8, say the following: | |||
| 417 | (set-default-coding-systems base) | 417 | (set-default-coding-systems base) |
| 418 | (if (called-interactively-p 'interactive) | 418 | (if (called-interactively-p 'interactive) |
| 419 | (or (eq base default-file-name-coding-system) | 419 | (or (eq base default-file-name-coding-system) |
| 420 | (message "The default value of ‘file-name-coding-system’ was not changed because the specified coding system is not suitable for file names."))))) | 420 | (message "The default value of `file-name-coding-system' was not changed because the specified coding system is not suitable for file names."))))) |
| 421 | 421 | ||
| 422 | (defvar sort-coding-systems-predicate nil | 422 | (defvar sort-coding-systems-predicate nil |
| 423 | "If non-nil, a predicate function to sort coding systems. | 423 | "If non-nil, a predicate function to sort coding systems. |
| @@ -719,14 +719,14 @@ DEFAULT is the coding system to use by default in the query." | |||
| 719 | (insert "No default coding systems to try for " | 719 | (insert "No default coding systems to try for " |
| 720 | (if (stringp from) | 720 | (if (stringp from) |
| 721 | (format "string \"%s\"." from) | 721 | (format "string \"%s\"." from) |
| 722 | (format-message "buffer ‘%s’." bufname))) | 722 | (format-message "buffer `%s'." bufname))) |
| 723 | (insert | 723 | (insert |
| 724 | "These default coding systems were tried to encode" | 724 | "These default coding systems were tried to encode" |
| 725 | (if (stringp from) | 725 | (if (stringp from) |
| 726 | (concat " \"" (if (> (length from) 10) | 726 | (concat " \"" (if (> (length from) 10) |
| 727 | (concat (substring from 0 10) "...\"") | 727 | (concat (substring from 0 10) "...\"") |
| 728 | (concat from "\""))) | 728 | (concat from "\""))) |
| 729 | (format-message " text\nin the buffer ‘%s’" bufname)) | 729 | (format-message " text\nin the buffer `%s'" bufname)) |
| 730 | ":\n") | 730 | ":\n") |
| 731 | (let ((pos (point)) | 731 | (let ((pos (point)) |
| 732 | (fill-prefix " ")) | 732 | (fill-prefix " ")) |
| @@ -876,13 +876,13 @@ and TO is ignored." | |||
| 876 | (setq auto-cs (car auto-cs)) | 876 | (setq auto-cs (car auto-cs)) |
| 877 | (display-warning | 877 | (display-warning |
| 878 | 'mule | 878 | 'mule |
| 879 | (format "\ | 879 | (format-message "\ |
| 880 | Invalid coding system ‘%s’ is specified | 880 | Invalid coding system `%s' is specified |
| 881 | for the current buffer/file by the %s. | 881 | for the current buffer/file by the %s. |
| 882 | It is highly recommended to fix it before writing to a file." | 882 | It is highly recommended to fix it before writing to a file." |
| 883 | (car auto-cs) | 883 | (car auto-cs) |
| 884 | (if (eq (cdr auto-cs) :coding) ":coding tag" | 884 | (if (eq (cdr auto-cs) :coding) ":coding tag" |
| 885 | (format-message "variable ‘%s’" (cdr auto-cs)))) | 885 | (format-message "variable `%s'" (cdr auto-cs)))) |
| 886 | :warning) | 886 | :warning) |
| 887 | (or (yes-or-no-p "Really proceed with writing? ") | 887 | (or (yes-or-no-p "Really proceed with writing? ") |
| 888 | (error "Save aborted")) | 888 | (error "Save aborted")) |
| @@ -1452,7 +1452,7 @@ If INPUT-METHOD is nil, deactivate any current input method." | |||
| 1452 | (unless (or current-input-method (null input-method)) | 1452 | (unless (or current-input-method (null input-method)) |
| 1453 | (let ((slot (assoc input-method input-method-alist))) | 1453 | (let ((slot (assoc input-method input-method-alist))) |
| 1454 | (if (null slot) | 1454 | (if (null slot) |
| 1455 | (error "Can't activate input method ‘%s’" input-method)) | 1455 | (error "Can't activate input method `%s'" input-method)) |
| 1456 | (setq current-input-method-title nil) | 1456 | (setq current-input-method-title nil) |
| 1457 | (let ((func (nth 2 slot))) | 1457 | (let ((func (nth 2 slot))) |
| 1458 | (if (functionp func) | 1458 | (if (functionp func) |
| @@ -1461,7 +1461,7 @@ If INPUT-METHOD is nil, deactivate any current input method." | |||
| 1461 | (progn | 1461 | (progn |
| 1462 | (require (cdr func)) | 1462 | (require (cdr func)) |
| 1463 | (apply (car func) input-method (nthcdr 5 slot))) | 1463 | (apply (car func) input-method (nthcdr 5 slot))) |
| 1464 | (error "Can't activate input method ‘%s’" input-method)))) | 1464 | (error "Can't activate input method `%s'" input-method)))) |
| 1465 | (setq current-input-method input-method) | 1465 | (setq current-input-method input-method) |
| 1466 | (or (stringp current-input-method-title) | 1466 | (or (stringp current-input-method-title) |
| 1467 | (setq current-input-method-title (nth 3 slot))) | 1467 | (setq current-input-method-title (nth 3 slot))) |
| @@ -1539,7 +1539,7 @@ which marks the variable `default-input-method' as set for Custom buffers." | |||
| 1539 | 1539 | ||
| 1540 | (interactive "P\np") | 1540 | (interactive "P\np") |
| 1541 | (if toggle-input-method-active | 1541 | (if toggle-input-method-active |
| 1542 | (error "Recursive use of ‘toggle-input-method’")) | 1542 | (error "Recursive use of `toggle-input-method'")) |
| 1543 | (if (and current-input-method (not arg)) | 1543 | (if (and current-input-method (not arg)) |
| 1544 | (deactivate-input-method) | 1544 | (deactivate-input-method) |
| 1545 | (let ((toggle-input-method-active t) | 1545 | (let ((toggle-input-method-active t) |
| @@ -1589,7 +1589,7 @@ which marks the variable `default-input-method' as set for Custom buffers." | |||
| 1589 | (with-output-to-temp-buffer (help-buffer) | 1589 | (with-output-to-temp-buffer (help-buffer) |
| 1590 | (let ((elt (assoc input-method input-method-alist))) | 1590 | (let ((elt (assoc input-method input-method-alist))) |
| 1591 | (princ (format-message | 1591 | (princ (format-message |
| 1592 | "Input method: %s (‘%s’ in mode line) for %s\n %s\n" | 1592 | "Input method: %s (`%s' in mode line) for %s\n %s\n" |
| 1593 | input-method (nth 3 elt) (nth 1 elt) (nth 4 elt)))))))))) | 1593 | input-method (nth 3 elt) (nth 1 elt) (nth 4 elt)))))))))) |
| 1594 | 1594 | ||
| 1595 | (defun describe-current-input-method () | 1595 | (defun describe-current-input-method () |
| @@ -1599,7 +1599,7 @@ This is a subroutine for `describe-input-method'." | |||
| 1599 | (if (and (symbolp describe-current-input-method-function) | 1599 | (if (and (symbolp describe-current-input-method-function) |
| 1600 | (fboundp describe-current-input-method-function)) | 1600 | (fboundp describe-current-input-method-function)) |
| 1601 | (funcall describe-current-input-method-function) | 1601 | (funcall describe-current-input-method-function) |
| 1602 | (message "No way to describe the current input method ‘%s’" | 1602 | (message "No way to describe the current input method `%s'" |
| 1603 | current-input-method) | 1603 | current-input-method) |
| 1604 | (ding)) | 1604 | (ding)) |
| 1605 | (error "No input method is activated now"))) | 1605 | (error "No input method is activated now"))) |
| @@ -2174,9 +2174,9 @@ See `set-language-info-alist' for use in programs." | |||
| 2174 | (search-backward (symbol-name (car l))) | 2174 | (search-backward (symbol-name (car l))) |
| 2175 | (help-xref-button 0 'help-coding-system (car l)) | 2175 | (help-xref-button 0 'help-coding-system (car l)) |
| 2176 | (goto-char (point-max)) | 2176 | (goto-char (point-max)) |
| 2177 | (insert " (‘" | 2177 | (insert (substitute-command-keys " (`") |
| 2178 | (coding-system-mnemonic (car l)) | 2178 | (coding-system-mnemonic (car l)) |
| 2179 | "’ in mode line):\n\t" | 2179 | (substitute-command-keys "' in mode line):\n\t") |
| 2180 | (substitute-command-keys | 2180 | (substitute-command-keys |
| 2181 | (coding-system-doc-string (car l))) | 2181 | (coding-system-doc-string (car l))) |
| 2182 | "\n") | 2182 | "\n") |
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 063b873726a..ecbc4f48caa 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el | |||
| @@ -904,8 +904,8 @@ | |||
| 904 | (dolist (script '(devanagari sanskrit bengali tamil telugu assamese | 904 | (dolist (script '(devanagari sanskrit bengali tamil telugu assamese |
| 905 | oriya kannada malayalam gujarati punjabi)) | 905 | oriya kannada malayalam gujarati punjabi)) |
| 906 | (define-charset (intern (format "%s-cdac" script)) | 906 | (define-charset (intern (format "%s-cdac" script)) |
| 907 | (format-message | 907 | (format |
| 908 | "Glyphs of %s script for CDAC font. Subset of ‘indian-glyph’." | 908 | "Glyphs of %s script for CDAC font. Subset of `indian-glyph'." |
| 909 | (capitalize (symbol-name script))) | 909 | (capitalize (symbol-name script))) |
| 910 | :short-name (format "CDAC %s glyphs" (capitalize (symbol-name script))) | 910 | :short-name (format "CDAC %s glyphs" (capitalize (symbol-name script))) |
| 911 | :supplementary-p t | 911 | :supplementary-p t |
| @@ -916,8 +916,8 @@ | |||
| 916 | (dolist (script '(devanagari bengali punjabi gujarati | 916 | (dolist (script '(devanagari bengali punjabi gujarati |
| 917 | oriya tamil telugu kannada malayalam)) | 917 | oriya tamil telugu kannada malayalam)) |
| 918 | (define-charset (intern (format "%s-akruti" script)) | 918 | (define-charset (intern (format "%s-akruti" script)) |
| 919 | (format-message | 919 | (format |
| 920 | "Glyphs of %s script for AKRUTI font. Subset of ‘indian-glyph’." | 920 | "Glyphs of %s script for AKRUTI font. Subset of `indian-glyph'." |
| 921 | (capitalize (symbol-name script))) | 921 | (capitalize (symbol-name script))) |
| 922 | :short-name (format "AKRUTI %s glyphs" (capitalize (symbol-name script))) | 922 | :short-name (format "AKRUTI %s glyphs" (capitalize (symbol-name script))) |
| 923 | :supplementary-p t | 923 | :supplementary-p t |
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el index 028c9916faf..fa5a7ebe7c3 100644 --- a/lisp/international/mule-diag.el +++ b/lisp/international/mule-diag.el | |||
| @@ -332,7 +332,7 @@ meanings of these arguments." | |||
| 332 | (let ((char (charset-iso-final-char charset))) | 332 | (let ((char (charset-iso-final-char charset))) |
| 333 | (when (> char 0) | 333 | (when (> char 0) |
| 334 | (insert "Final char of ISO2022 designation sequence: ") | 334 | (insert "Final char of ISO2022 designation sequence: ") |
| 335 | (insert (format-message "‘%c’\n" char)))) | 335 | (insert (format-message "`%c'\n" char)))) |
| 336 | (let (aliases) | 336 | (let (aliases) |
| 337 | (dolist (c charset-list) | 337 | (dolist (c charset-list) |
| 338 | (if (and (not (eq c charset)) | 338 | (if (and (not (eq c charset)) |
| @@ -1038,7 +1038,8 @@ see the function `describe-fontset' for the format of the list." | |||
| 1038 | (save-excursion | 1038 | (save-excursion |
| 1039 | (goto-char (point-min)) | 1039 | (goto-char (point-min)) |
| 1040 | (while (re-search-forward | 1040 | (while (re-search-forward |
| 1041 | "^ \\([^ ]+\\) (‘.*’ in mode line)$" nil t) | 1041 | (substitute-command-keys "^ \\([^ ]+\\) (`.*' in mode line)$") |
| 1042 | nil t) | ||
| 1042 | (help-xref-button 1 'help-input-method (match-string 1))))))) | 1043 | (help-xref-button 1 'help-input-method (match-string 1))))))) |
| 1043 | 1044 | ||
| 1044 | (defun list-input-methods-1 () | 1045 | (defun list-input-methods-1 () |
| @@ -1046,7 +1047,8 @@ see the function `describe-fontset' for the format of the list." | |||
| 1046 | (princ " | 1047 | (princ " |
| 1047 | No input method is available, perhaps because you have not | 1048 | No input method is available, perhaps because you have not |
| 1048 | installed LEIM (Libraries of Emacs Input Methods).") | 1049 | installed LEIM (Libraries of Emacs Input Methods).") |
| 1049 | (princ "LANGUAGE\n NAME (‘TITLE’ in mode line)\n") | 1050 | (princ (substitute-command-keys |
| 1051 | "LANGUAGE\n NAME (`TITLE' in mode line)\n")) | ||
| 1050 | (princ " SHORT-DESCRIPTION\n------------------------------\n") | 1052 | (princ " SHORT-DESCRIPTION\n------------------------------\n") |
| 1051 | (setq input-method-alist | 1053 | (setq input-method-alist |
| 1052 | (sort input-method-alist | 1054 | (sort input-method-alist |
| @@ -1059,7 +1061,7 @@ installed LEIM (Libraries of Emacs Input Methods).") | |||
| 1059 | (princ language) | 1061 | (princ language) |
| 1060 | (terpri)) | 1062 | (terpri)) |
| 1061 | (princ (format-message | 1063 | (princ (format-message |
| 1062 | " %s (‘%s’ in mode line)\n %s\n" | 1064 | " %s (`%s' in mode line)\n %s\n" |
| 1063 | (car elt) | 1065 | (car elt) |
| 1064 | (let ((title (nth 3 elt))) | 1066 | (let ((title (nth 3 elt))) |
| 1065 | (if (and (consp title) (stringp (car title))) | 1067 | (if (and (consp title) (stringp (car title))) |
diff --git a/lisp/json.el b/lisp/json.el index 5392a13f9e0..daa0c94da28 100644 --- a/lisp/json.el +++ b/lisp/json.el | |||
| @@ -286,7 +286,7 @@ representation will be parsed correctly." | |||
| 286 | (defun json-read-string () | 286 | (defun json-read-string () |
| 287 | "Read the JSON string at point." | 287 | "Read the JSON string at point." |
| 288 | (unless (char-equal (json-peek) ?\") | 288 | (unless (char-equal (json-peek) ?\") |
| 289 | (signal 'json-string-format (list "doesn’t start with ‘\"’!"))) | 289 | (signal 'json-string-format (list "doesn't start with `\"'!"))) |
| 290 | ;; Skip over the '"' | 290 | ;; Skip over the '"' |
| 291 | (json-advance) | 291 | (json-advance) |
| 292 | (let ((characters '()) | 292 | (let ((characters '()) |
diff --git a/lisp/kermit.el b/lisp/kermit.el index d4a21f42430..9b464ab04b1 100644 --- a/lisp/kermit.el +++ b/lisp/kermit.el | |||
| @@ -135,7 +135,7 @@ In this state, use LFD to send a line and end it with a carriage-return." | |||
| 135 | (defun kermit-clean-on () | 135 | (defun kermit-clean-on () |
| 136 | "Delete all null characters and ^M's from the kermit output. | 136 | "Delete all null characters and ^M's from the kermit output. |
| 137 | Note that another (perhaps better) way to do this is to use the | 137 | Note that another (perhaps better) way to do this is to use the |
| 138 | command ‘kermit | tr -d '\\015'’." | 138 | command `kermit | tr -d \\='\\015\\=''." |
| 139 | (interactive) | 139 | (interactive) |
| 140 | (set-process-filter (get-buffer-process (current-buffer)) | 140 | (set-process-filter (get-buffer-process (current-buffer)) |
| 141 | 'kermit-clean-filter)) | 141 | 'kermit-clean-filter)) |
diff --git a/lisp/leim/quail/cyrillic.el b/lisp/leim/quail/cyrillic.el index 89a58cfba79..7c443857d44 100644 --- a/lisp/leim/quail/cyrillic.el +++ b/lisp/leim/quail/cyrillic.el | |||
| @@ -839,7 +839,7 @@ Sorry, but `ghe with upturn' is not included in ISO 8859-5." | |||
| 839 | "ЯВЕРТЫ Roman transcription | 839 | "ЯВЕРТЫ Roman transcription |
| 840 | 840 | ||
| 841 | This layout is based on Roman transcription by phonemic resemblance. | 841 | This layout is based on Roman transcription by phonemic resemblance. |
| 842 | When preceded by a ‘/’, the second and the third rows (number key row) change | 842 | When preceded by a `/', the second and the third rows (number key row) change |
| 843 | as follows. | 843 | as follows. |
| 844 | 844 | ||
| 845 | keytop | Q W E R T Y U I O P A S D | 845 | keytop | Q W E R T Y U I O P A S D |
| @@ -1244,8 +1244,8 @@ Unicode based." | |||
| 1244 | This phonetic layout replaces all the Latin letters with Bulgarian | 1244 | This phonetic layout replaces all the Latin letters with Bulgarian |
| 1245 | \(Cyrillic) letters based on similarities in their pronunciation or look. | 1245 | \(Cyrillic) letters based on similarities in their pronunciation or look. |
| 1246 | 1246 | ||
| 1247 | Note that, since the letters ‘щ’, ‘ь’, ‘ю’ and ‘я’ are attached to the | 1247 | Note that, since the letters `щ', `ь', `ю' and `я' are attached to the |
| 1248 | ‘]’, ‘\’, ‘\\=`’ and ‘[’ keys respectively, Caps Lock does not affect them." | 1248 | `]', `\', `\\=`' and `[' keys respectively, Caps Lock does not affect them." |
| 1249 | nil t t t t nil nil nil nil nil t) | 1249 | nil t t t t nil nil nil nil nil t) |
| 1250 | 1250 | ||
| 1251 | ;; Ю 1! 2@ 3№ 4$ 5% 6€ 7§ 8* 9( 0) -– =+ ьѝ | 1251 | ;; Ю 1! 2@ 3№ 4$ 5% 6€ 7§ 8* 9( 0) -– =+ ьѝ |
diff --git a/lisp/leim/quail/hebrew.el b/lisp/leim/quail/hebrew.el index ac67fbfe5a7..d90b362407b 100644 --- a/lisp/leim/quail/hebrew.el +++ b/lisp/leim/quail/hebrew.el | |||
| @@ -36,8 +36,8 @@ | |||
| 36 | 36 | ||
| 37 | Based on SI-1452 keyboard layout. | 37 | Based on SI-1452 keyboard layout. |
| 38 | Only Hebrew-related characters are considered. | 38 | Only Hebrew-related characters are considered. |
| 39 | ‘q’ is used to switch levels instead of Alt-Gr. | 39 | `q' is used to switch levels instead of Alt-Gr. |
| 40 | Maqaaf (־) is mapped to ‘/פ’. | 40 | Maqaaf (־) is mapped to `/פ'. |
| 41 | " nil t t t t nil nil nil nil nil t) | 41 | " nil t t t t nil nil nil nil nil t) |
| 42 | 42 | ||
| 43 | (quail-define-rules | 43 | (quail-define-rules |
| @@ -113,8 +113,8 @@ Only Hebrew-related characters are considered. | |||
| 113 | 113 | ||
| 114 | Based on latest draft of SI-1452 keyboard layout. | 114 | Based on latest draft of SI-1452 keyboard layout. |
| 115 | Only Hebrew-related characters are considered. | 115 | Only Hebrew-related characters are considered. |
| 116 | ‘\\=`’ is used to switch levels instead of Alt-Gr. | 116 | `\\=`' is used to switch levels instead of Alt-Gr. |
| 117 | Geresh is mapped to ‘\\=`k’. | 117 | Geresh is mapped to `\\=`k'. |
| 118 | " nil t t t t nil nil nil nil nil t) | 118 | " nil t t t t nil nil nil nil nil t) |
| 119 | 119 | ||
| 120 | (quail-define-rules | 120 | (quail-define-rules |
| @@ -457,8 +457,8 @@ Provides access to all Hebrew characters suitable to Modern Hebrew. | |||
| 457 | 457 | ||
| 458 | Based on Society of Biblical Literature's Tiro keyboard layout. | 458 | Based on Society of Biblical Literature's Tiro keyboard layout. |
| 459 | Not suitable for modern Hebrew input. | 459 | Not suitable for modern Hebrew input. |
| 460 | ‘q’ is used to switch levels instead of Alt-Gr. | 460 | `q' is used to switch levels instead of Alt-Gr. |
| 461 | Combining dot above (Called Masora dot) (̇) is mapped to ‘q1’. | 461 | Combining dot above (Called Masora dot) (̇) is mapped to `q1'. |
| 462 | " nil t t t t nil nil nil nil nil t) | 462 | " nil t t t t nil nil nil nil nil t) |
| 463 | 463 | ||
| 464 | (quail-define-rules | 464 | (quail-define-rules |
| @@ -603,8 +603,8 @@ Not suitable for modern Hebrew input. | |||
| 603 | 603 | ||
| 604 | Based on Society of Biblical Literature's SIL keyboard layout. | 604 | Based on Society of Biblical Literature's SIL keyboard layout. |
| 605 | Phonetic and not suitable for modern Hebrew input. | 605 | Phonetic and not suitable for modern Hebrew input. |
| 606 | ‘\\=`’ is used to switch levels instead of Alt-Gr. | 606 | `\\=`' is used to switch levels instead of Alt-Gr. |
| 607 | Euro Sign (€) is mapped to ‘Z’. | 607 | Euro Sign (€) is mapped to `Z'. |
| 608 | " nil t t t t nil nil nil nil nil t) | 608 | " nil t t t t nil nil nil nil nil t) |
| 609 | 609 | ||
| 610 | (quail-define-rules | 610 | (quail-define-rules |
diff --git a/lisp/leim/quail/thai.el b/lisp/leim/quail/thai.el index 72e5020f36f..7d0949ee529 100644 --- a/lisp/leim/quail/thai.el +++ b/lisp/leim/quail/thai.el | |||
| @@ -46,9 +46,9 @@ | |||
| 46 | "Thai Kesmanee input method with TIS620 keyboard layout | 46 | "Thai Kesmanee input method with TIS620 keyboard layout |
| 47 | 47 | ||
| 48 | The difference from the ordinal Thai keyboard: | 48 | The difference from the ordinal Thai keyboard: |
| 49 | ‘฿’ and ‘๏’ are assigned to ‘\\’ and ‘|’ respectively, | 49 | `฿' and `๏' are assigned to `\\' and `|' respectively, |
| 50 | ‘ฃ’ and ‘ฅ’ are assigned to ‘\\=`’ and ‘~’ respectively, | 50 | `ฃ' and `ฅ' are assigned to `\\=`' and `~' respectively, |
| 51 | Don't know where to assign characters ‘๚’ and ‘๛’." | 51 | Don't know where to assign characters `๚' and `๛'." |
| 52 | nil t t t t nil nil nil nil nil t) | 52 | nil t t t t nil nil nil nil nil t) |
| 53 | 53 | ||
| 54 | (thai-generate-quail-map | 54 | (thai-generate-quail-map |
diff --git a/lisp/leim/quail/tibetan.el b/lisp/leim/quail/tibetan.el index d5a92ca480b..93cb65b8d43 100644 --- a/lisp/leim/quail/tibetan.el +++ b/lisp/leim/quail/tibetan.el | |||
| @@ -155,7 +155,7 @@ | |||
| 155 | and to get da-drag in -r-d, -l-d .) | 155 | and to get da-drag in -r-d, -l-d .) |
| 156 | | : Special signs. | 156 | | : Special signs. |
| 157 | 157 | ||
| 158 | Tsheg is assigned to SPC. Space is assigned to period ‘.’. | 158 | Tsheg is assigned to SPC. Space is assigned to period `.'. |
| 159 | " | 159 | " |
| 160 | nil nil nil nil nil nil nil nil | 160 | nil nil nil nil nil nil nil nil |
| 161 | 'quail-tibetan-update-translation) | 161 | 'quail-tibetan-update-translation) |
| @@ -411,7 +411,7 @@ | |||
| 411 | +---------------------------------------------+ | 411 | +---------------------------------------------+ |
| 412 | |zཞ|xཟ|cའ|vཡ|bར|nལ|mཤ|,ས|.ཧ|/ཨ| | 412 | |zཞ|xཟ|cའ|vཡ|bར|nལ|mཤ|,ས|.ཧ|/ཨ| |
| 413 | +---------------------------------------+ | 413 | +---------------------------------------+ |
| 414 | The key ‘h’ is used for consonant stacking. | 414 | The key `h' is used for consonant stacking. |
| 415 | 415 | ||
| 416 | [SHIFTED] | 416 | [SHIFTED] |
| 417 | 417 | ||
| @@ -427,14 +427,14 @@ | |||
| 427 | 427 | ||
| 428 | DIFFERENCE FROM THE ORIGINAL TIBKEY: | 428 | DIFFERENCE FROM THE ORIGINAL TIBKEY: |
| 429 | 429 | ||
| 430 | 1. Vowel ‘a’ should be typed explicitly by the key ‘A’. | 430 | 1. Vowel `a' should be typed explicitly by the key `A'. |
| 431 | This is really inconvenient. But to make the coding | 431 | This is really inconvenient. But to make the coding |
| 432 | scheme clear, it is desirable to have an explicit | 432 | scheme clear, it is desirable to have an explicit |
| 433 | vowel sign for ‘a’. | 433 | vowel sign for `a'. |
| 434 | 2. Tsheg is assigned to SPC key. You can input a space | 434 | 2. Tsheg is assigned to SPC key. You can input a space |
| 435 | by typing ‘>’. | 435 | by typing `>'. |
| 436 | 4. To avoid the default stacking and to obtain གཡ, | 436 | 4. To avoid the default stacking and to obtain གཡ, |
| 437 | type ‘E’ instead of ‘v’ (=ཡ). | 437 | type `E' instead of `v' (=ཡ). |
| 438 | 3. There are many characters that are not supported in the | 438 | 3. There are many characters that are not supported in the |
| 439 | current implementation (especially special signs). | 439 | current implementation (especially special signs). |
| 440 | I hope I'll complete in a future revision. | 440 | I hope I'll complete in a future revision. |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 14c45d1ec0b..368e2ab8982 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -418,9 +418,9 @@ cases. You can give a timeout for the prompt; see variable | |||
| 418 | If nil, the prepped message will be shown, for confirmation or | 418 | If nil, the prepped message will be shown, for confirmation or |
| 419 | otherwise, in some window in the current frame without resizing | 419 | otherwise, in some window in the current frame without resizing |
| 420 | anything. That may or may not display enough of the message to | 420 | anything. That may or may not display enough of the message to |
| 421 | distinguish it from others. If set to the symbol ‘queued’, take | 421 | distinguish it from others. If set to the symbol `queued', take |
| 422 | this action only when running the queue. If set to the symbol | 422 | this action only when running the queue. If set to the symbol |
| 423 | ‘immediate’, take this action only when sending immediately. For | 423 | `immediate', take this action only when sending immediately. For |
| 424 | any other non-nil value, take the action in both cases. Even if | 424 | any other non-nil value, take the action in both cases. Even if |
| 425 | you're not confirming the sending of immediate or queued messages, | 425 | you're not confirming the sending of immediate or queued messages, |
| 426 | it can still be interesting to see a lot about them as they are | 426 | it can still be interesting to see a lot about them as they are |
| @@ -471,9 +471,9 @@ Addresses for the message envelope are deduced by examining | |||
| 471 | appropriate address headers in the message. Generally, they will show | 471 | appropriate address headers in the message. Generally, they will show |
| 472 | up in the list of deduced addresses in the order that the headers | 472 | up in the list of deduced addresses in the order that the headers |
| 473 | happen to appear (duplicate addresses are eliminated in any case). | 473 | happen to appear (duplicate addresses are eliminated in any case). |
| 474 | This variable can be set to the symbol ‘first’, in which case the | 474 | This variable can be set to the symbol `first', in which case the |
| 475 | Bcc:/Resent-Bcc: addresses will appear at the beginning in the list; | 475 | Bcc:/Resent-Bcc: addresses will appear at the beginning in the list; |
| 476 | or, it can be set to the symbol ‘last’, in which case they will appear | 476 | or, it can be set to the symbol `last', in which case they will appear |
| 477 | at the end of the list. | 477 | at the end of the list. |
| 478 | 478 | ||
| 479 | Why should you care? Well, maybe you don't, and certainly the same | 479 | Why should you care? Well, maybe you don't, and certainly the same |
| @@ -484,7 +484,7 @@ addresses are not handled first, there can be substantial delays in | |||
| 484 | seeing the message again. Some configurations of sendmail, for example, | 484 | seeing the message again. Some configurations of sendmail, for example, |
| 485 | seem to try to deliver to each addressee at least once, immediately | 485 | seem to try to deliver to each addressee at least once, immediately |
| 486 | and serially, so slow SMTP conversations can add up to a delay. There | 486 | and serially, so slow SMTP conversations can add up to a delay. There |
| 487 | is an option for either ‘first’ or ‘last’ because you might have a | 487 | is an option for either `first' or `last' because you might have a |
| 488 | delivery agent that processes the addresses backwards." | 488 | delivery agent that processes the addresses backwards." |
| 489 | :group 'feedmail-headers | 489 | :group 'feedmail-headers |
| 490 | :type '(choice (const nil) | 490 | :type '(choice (const nil) |
| @@ -2054,7 +2054,7 @@ backup file names and the like)." | |||
| 2054 | ;; the handler for the condition-case | 2054 | ;; the handler for the condition-case |
| 2055 | (error (setq messages-skipped (1+ messages-skipped)) | 2055 | (error (setq messages-skipped (1+ messages-skipped)) |
| 2056 | (ding t) | 2056 | (ding t) |
| 2057 | (message "FQM: Trapped ‘%s’, message left in queue." (car signal-stuff)) | 2057 | (message "FQM: Trapped `%s', message left in queue." (car signal-stuff)) |
| 2058 | (sit-for 3) | 2058 | (sit-for 3) |
| 2059 | (message "FQM: Trap details: \"%s\"" | 2059 | (message "FQM: Trap details: \"%s\"" |
| 2060 | (mapconcat 'identity (cdr signal-stuff) "\" \"")) | 2060 | (mapconcat 'identity (cdr signal-stuff) "\" \"")) |
diff --git a/lisp/mail/rfc2368.el b/lisp/mail/rfc2368.el index 3c4e9b212b3..50ff2cfb8ea 100644 --- a/lisp/mail/rfc2368.el +++ b/lisp/mail/rfc2368.el | |||
| @@ -66,16 +66,16 @@ | |||
| 66 | 66 | ||
| 67 | ;; describes 'mailto:' | 67 | ;; describes 'mailto:' |
| 68 | (defconst rfc2368-mailto-scheme-index 1 | 68 | (defconst rfc2368-mailto-scheme-index 1 |
| 69 | "Describes the ‘mailto:’ portion of the url.") | 69 | "Describes the `mailto:' portion of the url.") |
| 70 | ;; i'm going to call this part the 'prequery' | 70 | ;; i'm going to call this part the 'prequery' |
| 71 | (defconst rfc2368-mailto-prequery-index 2 | 71 | (defconst rfc2368-mailto-prequery-index 2 |
| 72 | "Describes the portion of the url between ‘mailto:’ and ‘?’.") | 72 | "Describes the portion of the url between `mailto:' and `?'.") |
| 73 | ;; i'm going to call this part the 'query' | 73 | ;; i'm going to call this part the 'query' |
| 74 | (defconst rfc2368-mailto-query-index 4 | 74 | (defconst rfc2368-mailto-query-index 4 |
| 75 | "Describes the portion of the url after ‘?’.") | 75 | "Describes the portion of the url after `?'.") |
| 76 | 76 | ||
| 77 | (defun rfc2368-unhexify-string (string) | 77 | (defun rfc2368-unhexify-string (string) |
| 78 | "Unhexify STRING -- e.g. ‘hello%20there’ -> ‘hello there’." | 78 | "Unhexify STRING -- e.g. `hello%20there' -> `hello there'." |
| 79 | (replace-regexp-in-string "%[[:xdigit:]]\\{2\\}" | 79 | (replace-regexp-in-string "%[[:xdigit:]]\\{2\\}" |
| 80 | (lambda (match) | 80 | (lambda (match) |
| 81 | (string (string-to-number (substring match 1) | 81 | (string (string-to-number (substring match 1) |
diff --git a/lisp/mh-e/mh-comp.el b/lisp/mh-e/mh-comp.el index a8c5e339908..700d22c3862 100644 --- a/lisp/mh-e/mh-comp.el +++ b/lisp/mh-e/mh-comp.el | |||
| @@ -91,7 +91,7 @@ user's MH directory, then in the system MH lib directory.") | |||
| 91 | Default is \"replgroupcomps\". | 91 | Default is \"replgroupcomps\". |
| 92 | 92 | ||
| 93 | This file is used to form replies to the sender and all recipients of | 93 | This file is used to form replies to the sender and all recipients of |
| 94 | a message. Only used if ‘(mh-variant-p 'nmh)’ is non-nil. | 94 | a message. Only used if (mh-variant-p \\='nmh) is non-nil. |
| 95 | If not an absolute file name, the file is searched for first in the | 95 | If not an absolute file name, the file is searched for first in the |
| 96 | user's MH directory, then in the system MH lib directory.") | 96 | user's MH directory, then in the system MH lib directory.") |
| 97 | 97 | ||
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index c89e71f5168..7cdf67cc150 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el | |||
| @@ -1353,8 +1353,8 @@ show window is toggled off." | |||
| 1353 | This option is consulted when a prefix argument is used with | 1353 | This option is consulted when a prefix argument is used with |
| 1354 | \\[mh-sort-folder]. Normally default arguments to \"sortm\" are | 1354 | \\[mh-sort-folder]. Normally default arguments to \"sortm\" are |
| 1355 | specified in the MH profile. This option may be used to provide | 1355 | specified in the MH profile. This option may be used to provide |
| 1356 | an alternate view. For example, ‘(\"-nolimit\" \"-textfield\" | 1356 | an alternate view. For example, (\"-nolimit\" \"-textfield\" |
| 1357 | \"subject\")’ is a useful setting." | 1357 | \"subject\") is a useful setting." |
| 1358 | :type '(repeat string) | 1358 | :type '(repeat string) |
| 1359 | :group 'mh-folder | 1359 | :group 'mh-folder |
| 1360 | :package-version '(MH-E . "8.0")) | 1360 | :package-version '(MH-E . "8.0")) |
diff --git a/lisp/mh-e/mh-seq.el b/lisp/mh-e/mh-seq.el index 2e73f62b6d0..259f60de2d5 100644 --- a/lisp/mh-e/mh-seq.el +++ b/lisp/mh-e/mh-seq.el | |||
| @@ -390,7 +390,7 @@ then a non-empty sequence is read." | |||
| 390 | "Read and return a sequence name. | 390 | "Read and return a sequence name. |
| 391 | Prompt with PROMPT, raise an error if the sequence is empty and | 391 | Prompt with PROMPT, raise an error if the sequence is empty and |
| 392 | the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT | 392 | the NOT-EMPTY flag is non-nil, and supply an optional DEFAULT |
| 393 | sequence. A reply of ‘%’ defaults to the first sequence | 393 | sequence. A reply of `%' defaults to the first sequence |
| 394 | containing the current message." | 394 | containing the current message." |
| 395 | (let* ((input (completing-read (format "%s sequence%s: " prompt | 395 | (let* ((input (completing-read (format "%s sequence%s: " prompt |
| 396 | (if default | 396 | (if default |
| @@ -766,7 +766,7 @@ completion is over." | |||
| 766 | "Parse LINE to generate folder name, unseen messages and total messages. | 766 | "Parse LINE to generate folder name, unseen messages and total messages. |
| 767 | If CURRENT-FOLDER is non-nil then it contains the current folder | 767 | If CURRENT-FOLDER is non-nil then it contains the current folder |
| 768 | name and it is used to avoid problems in corner cases involving | 768 | name and it is used to avoid problems in corner cases involving |
| 769 | folders whose names end with a ‘+’ character." | 769 | folders whose names end with a `+' character." |
| 770 | (with-temp-buffer | 770 | (with-temp-buffer |
| 771 | (insert line) | 771 | (insert line) |
| 772 | (goto-char (point-max)) | 772 | (goto-char (point-max)) |
diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el index 060da464663..643674a4523 100644 --- a/lisp/mh-e/mh-utils.el +++ b/lisp/mh-e/mh-utils.el | |||
| @@ -419,21 +419,21 @@ names and the function is called when OUTPUT is available." | |||
| 419 | return-nil-if-folder-empty) | 419 | return-nil-if-folder-empty) |
| 420 | "Normalizes FOLDER name. | 420 | "Normalizes FOLDER name. |
| 421 | 421 | ||
| 422 | Makes sure that two ‘/’ characters never occur next to each | 422 | Makes sure that two `/' characters never occur next to each |
| 423 | other. Also all occurrences of ‘..’ and ‘.’ are suitably | 423 | other. Also all occurrences of `..' and `.' are suitably |
| 424 | processed. So \"+inbox/../news\" will be normalized to \"+news\". | 424 | processed. So \"+inbox/../news\" will be normalized to \"+news\". |
| 425 | 425 | ||
| 426 | If optional argument EMPTY-STRING-OKAY is nil then a ‘+’ is added | 426 | If optional argument EMPTY-STRING-OKAY is nil then a `+' is added |
| 427 | at the front if FOLDER lacks one. If non-nil and FOLDER is the | 427 | at the front if FOLDER lacks one. If non-nil and FOLDER is the |
| 428 | empty string then nothing is added. | 428 | empty string then nothing is added. |
| 429 | 429 | ||
| 430 | If optional argument DONT-REMOVE-TRAILING-SLASH is non-nil then a | 430 | If optional argument DONT-REMOVE-TRAILING-SLASH is non-nil then a |
| 431 | trailing ‘/’ if present is retained (if present), otherwise it is | 431 | trailing `/' if present is retained (if present), otherwise it is |
| 432 | removed. | 432 | removed. |
| 433 | 433 | ||
| 434 | If optional argument RETURN-NIL-IF-FOLDER-EMPTY is non-nil, then | 434 | If optional argument RETURN-NIL-IF-FOLDER-EMPTY is non-nil, then |
| 435 | return nil if FOLDER is \"\" or \"+\". This is useful when | 435 | return nil if FOLDER is \"\" or \"+\". This is useful when |
| 436 | normalizing the folder for the ‘folders’ command which displays | 436 | normalizing the folder for the `folders' command which displays |
| 437 | the directories in / if passed \"+\". This is usually not | 437 | the directories in / if passed \"+\". This is usually not |
| 438 | desired. If this argument is non-nil, then EMPTY-STRING-OKAY has | 438 | desired. If this argument is non-nil, then EMPTY-STRING-OKAY has |
| 439 | no effect." | 439 | no effect." |
diff --git a/lisp/mouse.el b/lisp/mouse.el index f52b83b05c8..6584733a860 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -146,7 +146,7 @@ items `Turn Off' and `Help'." | |||
| 146 | (describe-minor-mode-completion-table-for-indicator)))) | 146 | (describe-minor-mode-completion-table-for-indicator)))) |
| 147 | (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) | 147 | (let* ((minor-mode (lookup-minor-mode-from-indicator indicator)) |
| 148 | (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) | 148 | (mm-fun (or (get minor-mode :minor-mode-function) minor-mode))) |
| 149 | (unless minor-mode (error "Cannot find minor mode for ‘%s’" indicator)) | 149 | (unless minor-mode (error "Cannot find minor mode for `%s'" indicator)) |
| 150 | (let* ((map (cdr-safe (assq minor-mode minor-mode-map-alist))) | 150 | (let* ((map (cdr-safe (assq minor-mode minor-mode-map-alist))) |
| 151 | (menu (and (keymapp map) (lookup-key map [menu-bar])))) | 151 | (menu (and (keymapp map) (lookup-key map [menu-bar])))) |
| 152 | (setq menu | 152 | (setq menu |
diff --git a/lisp/mpc.el b/lisp/mpc.el index fdc5aee3774..b7c19a967fa 100644 --- a/lisp/mpc.el +++ b/lisp/mpc.el | |||
| @@ -1757,7 +1757,7 @@ A value of t means the main playlist.") | |||
| 1757 | (completing-read "Rename playlist: " | 1757 | (completing-read "Rename playlist: " |
| 1758 | (mpc-cmd-list 'Playlist) | 1758 | (mpc-cmd-list 'Playlist) |
| 1759 | nil 'require-match))) | 1759 | nil 'require-match))) |
| 1760 | (newname (read-string (format-message "Rename ‘%s’ to: " oldname)))) | 1760 | (newname (read-string (format-message "Rename `%s' to: " oldname)))) |
| 1761 | (if (zerop (length newname)) | 1761 | (if (zerop (length newname)) |
| 1762 | (error "Aborted") | 1762 | (error "Aborted") |
| 1763 | (list oldname newname)))) | 1763 | (list oldname newname)))) |
diff --git a/lisp/msb.el b/lisp/msb.el index b717dcc8cd9..0351bda0e42 100644 --- a/lisp/msb.el +++ b/lisp/msb.el | |||
| @@ -746,7 +746,7 @@ to the buffer-list variable in FUNCTION-INFO." | |||
| 746 | (error (unless msb--error | 746 | (error (unless msb--error |
| 747 | (setq msb--error | 747 | (setq msb--error |
| 748 | (format-message | 748 | (format-message |
| 749 | "In msb-menu-cond, error for buffer ‘%s’." | 749 | "In msb-menu-cond, error for buffer `%s'." |
| 750 | (buffer-name buffer))) | 750 | (buffer-name buffer))) |
| 751 | (error "%s" msb--error)))))) | 751 | (error "%s" msb--error)))))) |
| 752 | 752 | ||
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 38b1604efbb..bb8351437d7 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4626,7 +4626,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.") | |||
| 4626 | (format "%s %s \"%s\"" ; remsh -l USER does not work well | 4626 | (format "%s %s \"%s\"" ; remsh -l USER does not work well |
| 4627 | ; on a hp-ux machine I tried | 4627 | ; on a hp-ux machine I tried |
| 4628 | remote-shell-program host command)) | 4628 | remote-shell-program host command)) |
| 4629 | (ange-ftp-message "Remote command ‘%s’ ..." command) | 4629 | (ange-ftp-message "Remote command `%s' ..." command) |
| 4630 | ;; Cannot call ange-ftp-real-dired-run-shell-command here as it | 4630 | ;; Cannot call ange-ftp-real-dired-run-shell-command here as it |
| 4631 | ;; would prepend "cd default-directory" --- which bombs because | 4631 | ;; would prepend "cd default-directory" --- which bombs because |
| 4632 | ;; default-directory is in ange-ftp syntax for remote file names. | 4632 | ;; default-directory is in ange-ftp syntax for remote file names. |
| @@ -5978,7 +5978,7 @@ Other orders of $ and _ seem to all work just fine.") | |||
| 5978 | 5978 | ||
| 5979 | (defcustom ange-ftp-bs2000-special-prefix | 5979 | (defcustom ange-ftp-bs2000-special-prefix |
| 5980 | "X" | 5980 | "X" |
| 5981 | "Prefix used for filenames starting with ‘#’ or ‘@’." | 5981 | "Prefix used for filenames starting with `#' or `@'." |
| 5982 | :group 'ange-ftp | 5982 | :group 'ange-ftp |
| 5983 | :type 'string) | 5983 | :type 'string) |
| 5984 | 5984 | ||
diff --git a/lisp/net/imap.el b/lisp/net/imap.el index cc53e0432b6..b559ff65908 100644 --- a/lisp/net/imap.el +++ b/lisp/net/imap.el | |||
| @@ -851,14 +851,14 @@ t if it successfully authenticates, nil otherwise." | |||
| 851 | (setq user (or imap-username | 851 | (setq user (or imap-username |
| 852 | (read-from-minibuffer | 852 | (read-from-minibuffer |
| 853 | (format-message | 853 | (format-message |
| 854 | "imap: username for %s (using stream ‘%s’): " | 854 | "imap: username for %s (using stream `%s'): " |
| 855 | imap-server imap-stream) | 855 | imap-server imap-stream) |
| 856 | (or user imap-default-user)))) | 856 | (or user imap-default-user)))) |
| 857 | (setq passwd | 857 | (setq passwd |
| 858 | (or imap-password | 858 | (or imap-password |
| 859 | (read-passwd | 859 | (read-passwd |
| 860 | (format-message | 860 | (format-message |
| 861 | "imap: password for %s@%s (using authenticator ‘%s’): " | 861 | "imap: password for %s@%s (using authenticator `%s'): " |
| 862 | user imap-server imap-auth)))) | 862 | user imap-server imap-auth)))) |
| 863 | (when (and user passwd) | 863 | (when (and user passwd) |
| 864 | (if (funcall loginfunc user passwd) | 864 | (if (funcall loginfunc user passwd) |
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el index 8a9236c1eef..a73b4dfa921 100644 --- a/lisp/net/mairix.el +++ b/lisp/net/mairix.el | |||
| @@ -398,7 +398,7 @@ Overwrite existing entry? ") | |||
| 398 | (concat "\n\n" (make-string 65 ?=) | 398 | (concat "\n\n" (make-string 65 ?=) |
| 399 | "\nYou can now customize your saved Mairix searches by modifying\n\ | 399 | "\nYou can now customize your saved Mairix searches by modifying\n\ |
| 400 | the variable mairix-saved-searches. Don't forget to save your\nchanges \ | 400 | the variable mairix-saved-searches. Don't forget to save your\nchanges \ |
| 401 | in your .emacs by pressing ‘Save for Future Sessions’.\n" | 401 | in your .emacs by pressing `Save for Future Sessions'.\n" |
| 402 | (make-string 65 ?=) "\n"))) | 402 | (make-string 65 ?=) "\n"))) |
| 403 | 403 | ||
| 404 | (autoload 'mail-strip-quoted-names "mail-utils") | 404 | (autoload 'mail-strip-quoted-names "mail-utils") |
| @@ -668,7 +668,7 @@ Fill in VALUES if based on an article." | |||
| 668 | " ^substring= to match the substring at the beginning of a word.\n")) | 668 | " ^substring= to match the substring at the beginning of a word.\n")) |
| 669 | (widget-insert | 669 | (widget-insert |
| 670 | (format-message | 670 | (format-message |
| 671 | "Whitespace will be converted to ‘,’ (i.e. AND). Use ‘/’ for OR.\n\n")) | 671 | "Whitespace will be converted to `,' (i.e. AND). Use `/' for OR.\n\n")) |
| 672 | (setq mairix-widgets (mairix-widget-build-editable-fields values)) | 672 | (setq mairix-widgets (mairix-widget-build-editable-fields values)) |
| 673 | (when (member 'flags mairix-widget-other) | 673 | (when (member 'flags mairix-widget-other) |
| 674 | (widget-insert "\nFlags:\n Seen: ") | 674 | (widget-insert "\nFlags:\n Seen: ") |
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el index 9277b092b8a..6c80e627477 100644 --- a/lisp/net/newst-backend.el +++ b/lisp/net/newst-backend.el | |||
| @@ -848,8 +848,8 @@ Argument BUFFER is the buffer of the retrieval process." | |||
| 848 | newsticker--error-headline | 848 | newsticker--error-headline |
| 849 | (format-message | 849 | (format-message |
| 850 | (concat "%s: Newsticker could not retrieve news from %s.\n" | 850 | (concat "%s: Newsticker could not retrieve news from %s.\n" |
| 851 | "Return status: ‘%s’\n" | 851 | "Return status: `%s'\n" |
| 852 | "Command was ‘%s’") | 852 | "Command was `%s'") |
| 853 | (format-time-string "%A, %H:%M") | 853 | (format-time-string "%A, %H:%M") |
| 854 | feed-name event command) | 854 | feed-name event command) |
| 855 | "" | 855 | "" |
diff --git a/lisp/net/newst-treeview.el b/lisp/net/newst-treeview.el index ef8507e25ce..4eef5809233 100644 --- a/lisp/net/newst-treeview.el +++ b/lisp/net/newst-treeview.el | |||
| @@ -1269,7 +1269,7 @@ Note: does not update the layout." | |||
| 1269 | (file-exists-p newsticker-groups-filename) | 1269 | (file-exists-p newsticker-groups-filename) |
| 1270 | (y-or-n-p | 1270 | (y-or-n-p |
| 1271 | (format-message | 1271 | (format-message |
| 1272 | (concat "Obsolete variable ‘newsticker-groups-filename’ " | 1272 | (concat "Obsolete variable `newsticker-groups-filename' " |
| 1273 | "points to existing file \"%s\".\n" | 1273 | "points to existing file \"%s\".\n" |
| 1274 | "Read it? ") | 1274 | "Read it? ") |
| 1275 | newsticker-groups-filename)) | 1275 | newsticker-groups-filename)) |
| @@ -1281,7 +1281,7 @@ Note: does not update the layout." | |||
| 1281 | (file-exists-p newsticker-groups-filename) | 1281 | (file-exists-p newsticker-groups-filename) |
| 1282 | (y-or-n-p (format-message | 1282 | (y-or-n-p (format-message |
| 1283 | (concat "Delete the file \"%s\",\nto which the obsolete " | 1283 | (concat "Delete the file \"%s\",\nto which the obsolete " |
| 1284 | "variable ‘newsticker-groups-filename’ points ? ") | 1284 | "variable `newsticker-groups-filename' points ? ") |
| 1285 | newsticker-groups-filename)) | 1285 | newsticker-groups-filename)) |
| 1286 | (delete-file newsticker-groups-filename)) | 1286 | (delete-file newsticker-groups-filename)) |
| 1287 | (when buf | 1287 | (when buf |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index cd5bbbdabdf..df0635066cc 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -926,7 +926,7 @@ The list is updated automatically by `defun-rcirc-command'.") | |||
| 926 | 926 | ||
| 927 | (defun rcirc-complete () | 927 | (defun rcirc-complete () |
| 928 | "Cycle through completions from list of nicks in channel or IRC commands. | 928 | "Cycle through completions from list of nicks in channel or IRC commands. |
| 929 | IRC command completion is performed only if ‘/’ is the first input char." | 929 | IRC command completion is performed only if `/' is the first input char." |
| 930 | (interactive) | 930 | (interactive) |
| 931 | (unless (rcirc-looking-at-input) | 931 | (unless (rcirc-looking-at-input) |
| 932 | (error "Point not located after rcirc prompt")) | 932 | (error "Point not located after rcirc prompt")) |
diff --git a/lisp/net/rlogin.el b/lisp/net/rlogin.el index c0dcc2332fe..da46ec3f670 100644 --- a/lisp/net/rlogin.el +++ b/lisp/net/rlogin.el | |||
| @@ -175,7 +175,7 @@ function `rlogin-directory-tracking-mode' rather than simply setting the | |||
| 175 | variable." | 175 | variable." |
| 176 | (interactive (list | 176 | (interactive (list |
| 177 | (read-from-minibuffer (format-message | 177 | (read-from-minibuffer (format-message |
| 178 | "Arguments for ‘%s’ (hostname first): " | 178 | "Arguments for `%s' (hostname first): " |
| 179 | (file-name-nondirectory rlogin-program)) | 179 | (file-name-nondirectory rlogin-program)) |
| 180 | nil nil nil 'rlogin-history) | 180 | nil nil nil 'rlogin-history) |
| 181 | current-prefix-arg)) | 181 | current-prefix-arg)) |
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el index 61f9d7f741f..4121e65c9dc 100644 --- a/lisp/obsolete/iswitchb.el +++ b/lisp/obsolete/iswitchb.el | |||
| @@ -1096,7 +1096,7 @@ Return the modified list with the last element prepended to it." | |||
| 1096 | (and iswitchb-prompt-newbuffer | 1096 | (and iswitchb-prompt-newbuffer |
| 1097 | (y-or-n-p | 1097 | (y-or-n-p |
| 1098 | (format-message | 1098 | (format-message |
| 1099 | "No buffer matching ‘%s’, create one? " | 1099 | "No buffer matching `%s', create one? " |
| 1100 | buf))))) | 1100 | buf))))) |
| 1101 | ;; then create a new buffer | 1101 | ;; then create a new buffer |
| 1102 | (progn | 1102 | (progn |
diff --git a/lisp/obsolete/landmark.el b/lisp/obsolete/landmark.el index 39684a781cc..91c33874b61 100644 --- a/lisp/obsolete/landmark.el +++ b/lisp/obsolete/landmark.el | |||
| @@ -866,7 +866,7 @@ If the game is finished, this command requests for another game." | |||
| 866 | (move-to-column (+ landmark-x-offset (* landmark-square-width (1- x))))) | 866 | (move-to-column (+ landmark-x-offset (* landmark-square-width (1- x))))) |
| 867 | 867 | ||
| 868 | (defun landmark-plot-square (square value) | 868 | (defun landmark-plot-square (square value) |
| 869 | "Draw ‘X’, ‘O’ or ‘.’ on SQUARE depending on VALUE, leave point there." | 869 | "Draw `X', `O' or `.' on SQUARE depending on VALUE, leave point there." |
| 870 | (or (= value 1) | 870 | (or (= value 1) |
| 871 | (landmark-goto-square square)) | 871 | (landmark-goto-square square)) |
| 872 | (let ((inhibit-read-only t)) | 872 | (let ((inhibit-read-only t)) |
diff --git a/lisp/obsolete/otodo-mode.el b/lisp/obsolete/otodo-mode.el index be067f80a06..1e9f7e42628 100644 --- a/lisp/obsolete/otodo-mode.el +++ b/lisp/obsolete/otodo-mode.el | |||
| @@ -648,7 +648,7 @@ If point is on an empty line, insert the entry there." | |||
| 648 | (forward-line (1- todo-previous-line)) | 648 | (forward-line (1- todo-previous-line)) |
| 649 | (let ((item (todo-item-string-start))) | 649 | (let ((item (todo-item-string-start))) |
| 650 | (setq todo-previous-answer | 650 | (setq todo-previous-answer |
| 651 | (y-or-n-p (format-message "More important than ‘%s’? " item))))) | 651 | (y-or-n-p (format-message "More important than `%s'? " item))))) |
| 652 | todo-previous-answer) | 652 | todo-previous-answer) |
| 653 | (defalias 'todo-ask-p 'todo-more-important-p) | 653 | (defalias 'todo-ask-p 'todo-more-important-p) |
| 654 | 654 | ||
diff --git a/lisp/obsolete/pgg-gpg.el b/lisp/obsolete/pgg-gpg.el index cd29c613aab..f3d63eb7451 100644 --- a/lisp/obsolete/pgg-gpg.el +++ b/lisp/obsolete/pgg-gpg.el | |||
| @@ -122,7 +122,7 @@ | |||
| 122 | (insert-file-contents output-file-name))) | 122 | (insert-file-contents output-file-name))) |
| 123 | (set-buffer errors-buffer) | 123 | (set-buffer errors-buffer) |
| 124 | (if (memq status '(stop signal)) | 124 | (if (memq status '(stop signal)) |
| 125 | (error "%s exited abnormally: ‘%s’" program exit-status)) | 125 | (error "%s exited abnormally: `%s'" program exit-status)) |
| 126 | (if (= 127 exit-status) | 126 | (if (= 127 exit-status) |
| 127 | (error "%s could not be found" program)))) | 127 | (error "%s could not be found" program)))) |
| 128 | (if passphrase-with-newline | 128 | (if passphrase-with-newline |
diff --git a/lisp/obsolete/pgg-pgp.el b/lisp/obsolete/pgg-pgp.el index ee7af04c447..af2d7a8e39f 100644 --- a/lisp/obsolete/pgg-pgp.el +++ b/lisp/obsolete/pgg-pgp.el | |||
| @@ -99,7 +99,7 @@ Bourne shell or its equivalent \(not tcsh) is needed for \"2>\"." | |||
| 99 | (pgg-convert-lbt-region (point-min)(point-max) 'LF) | 99 | (pgg-convert-lbt-region (point-min)(point-max) 'LF) |
| 100 | 100 | ||
| 101 | (if (memq status '(stop signal)) | 101 | (if (memq status '(stop signal)) |
| 102 | (error "%s exited abnormally: ‘%s’" program exit-status)) | 102 | (error "%s exited abnormally: `%s'" program exit-status)) |
| 103 | (if (= 127 exit-status) | 103 | (if (= 127 exit-status) |
| 104 | (error "%s could not be found" program)) | 104 | (error "%s could not be found" program)) |
| 105 | 105 | ||
diff --git a/lisp/obsolete/pgg-pgp5.el b/lisp/obsolete/pgg-pgp5.el index d87c6fd9020..bbc08c48348 100644 --- a/lisp/obsolete/pgg-pgp5.el +++ b/lisp/obsolete/pgg-pgp5.el | |||
| @@ -115,7 +115,7 @@ Bourne shell or its equivalent \(not tcsh) is needed for \"2>\"." | |||
| 115 | (pgg-convert-lbt-region (point-min)(point-max) 'LF) | 115 | (pgg-convert-lbt-region (point-min)(point-max) 'LF) |
| 116 | 116 | ||
| 117 | (if (memq status '(stop signal)) | 117 | (if (memq status '(stop signal)) |
| 118 | (error "%s exited abnormally: ‘%s’" program exit-status)) | 118 | (error "%s exited abnormally: `%s'" program exit-status)) |
| 119 | (if (= 127 exit-status) | 119 | (if (= 127 exit-status) |
| 120 | (error "%s could not be found" program)) | 120 | (error "%s could not be found" program)) |
| 121 | 121 | ||
diff --git a/lisp/obsolete/tpu-edt.el b/lisp/obsolete/tpu-edt.el index adf6122f299..d16cd274890 100644 --- a/lisp/obsolete/tpu-edt.el +++ b/lisp/obsolete/tpu-edt.el | |||
| @@ -873,7 +873,7 @@ With argument, fill and justify." | |||
| 873 | (set-frame-width (selected-frame) width)) | 873 | (set-frame-width (selected-frame) width)) |
| 874 | 874 | ||
| 875 | (defun tpu-toggle-newline-and-indent nil | 875 | (defun tpu-toggle-newline-and-indent nil |
| 876 | "Toggle between ‘newline and indent’ and ‘simple newline’." | 876 | "Toggle between `newline-and-indent' and simple `newline'." |
| 877 | (interactive) | 877 | (interactive) |
| 878 | (cond (tpu-newline-and-indent-p | 878 | (cond (tpu-newline-and-indent-p |
| 879 | (setq tpu-newline-and-indent-string "") | 879 | (setq tpu-newline-and-indent-string "") |
| @@ -1313,7 +1313,7 @@ kill modified buffers without asking." | |||
| 1313 | (if tpu-regexp-p "en" "dis")))) | 1313 | (if tpu-regexp-p "en" "dis")))) |
| 1314 | 1314 | ||
| 1315 | (defun tpu-regexp-prompt (prompt) | 1315 | (defun tpu-regexp-prompt (prompt) |
| 1316 | "Read a string, adding ‘RE ’ to the prompt if tpu-regexp-p is set." | 1316 | "Read a string, adding `RE ' to the prompt if tpu-regexp-p is set." |
| 1317 | (let ((re-prompt (concat (if tpu-regexp-p "RE ") prompt))) | 1317 | (let ((re-prompt (concat (if tpu-regexp-p "RE ") prompt))) |
| 1318 | (read-from-minibuffer re-prompt nil nil nil 'tpu-regexp-prompt-hist))) | 1318 | (read-from-minibuffer re-prompt nil nil nil 'tpu-regexp-prompt-hist))) |
| 1319 | 1319 | ||
diff --git a/lisp/obsolete/vi.el b/lisp/obsolete/vi.el index 2375eb509be..081b229ebca 100644 --- a/lisp/obsolete/vi.el +++ b/lisp/obsolete/vi.el | |||
| @@ -832,7 +832,7 @@ Possible prefix-arg cases are nil, INTEGER, (nil . CHAR) or (INTEGER . CHAR)." | |||
| 832 | 832 | ||
| 833 | (defun vi-goto-mark (mark-char &optional line-flag) | 833 | (defun vi-goto-mark (mark-char &optional line-flag) |
| 834 | "Go to marked position or line (if line-flag is given). | 834 | "Go to marked position or line (if line-flag is given). |
| 835 | Goto mark ‘@’ means jump into and pop the top mark on the mark ring." | 835 | Goto mark `@' means jump into and pop the top mark on the mark ring." |
| 836 | (cond ((char-equal mark-char last-command-event) ; `` or '' | 836 | (cond ((char-equal mark-char last-command-event) ; `` or '' |
| 837 | (exchange-point-and-mark) (if line-flag (back-to-indentation))) | 837 | (exchange-point-and-mark) (if line-flag (back-to-indentation))) |
| 838 | ((char-equal mark-char ?@) ; jump and pop mark | 838 | ((char-equal mark-char ?@) ; jump and pop mark |
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index ffc7df4e928..799e58b6af2 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -1677,7 +1677,7 @@ If the point is not on a source block then return nil." | |||
| 1677 | (if point | 1677 | (if point |
| 1678 | ;; taken from `org-open-at-point' | 1678 | ;; taken from `org-open-at-point' |
| 1679 | (progn (org-mark-ring-push) (goto-char point) (org-show-context)) | 1679 | (progn (org-mark-ring-push) (goto-char point) (org-show-context)) |
| 1680 | (message "source-code block ‘%s’ not found in this buffer" name)))) | 1680 | (message "source-code block `%s' not found in this buffer" name)))) |
| 1681 | 1681 | ||
| 1682 | (defun org-babel-find-named-block (name) | 1682 | (defun org-babel-find-named-block (name) |
| 1683 | "Find a named source-code block. | 1683 | "Find a named source-code block. |
| @@ -1712,7 +1712,7 @@ org-babel-named-src-block-regexp." | |||
| 1712 | (if point | 1712 | (if point |
| 1713 | ;; taken from `org-open-at-point' | 1713 | ;; taken from `org-open-at-point' |
| 1714 | (progn (goto-char point) (org-show-context)) | 1714 | (progn (goto-char point) (org-show-context)) |
| 1715 | (message "result ‘%s’ not found in this buffer" name)))) | 1715 | (message "result `%s' not found in this buffer" name)))) |
| 1716 | 1716 | ||
| 1717 | (defun org-babel-find-named-result (name &optional point) | 1717 | (defun org-babel-find-named-result (name &optional point) |
| 1718 | "Find a named result. | 1718 | "Find a named result. |
| @@ -2207,7 +2207,7 @@ file's directory then expand relative links." | |||
| 2207 | "Make true to capitalize begin/end example markers inserted by code blocks.") | 2207 | "Make true to capitalize begin/end example markers inserted by code blocks.") |
| 2208 | 2208 | ||
| 2209 | (defun org-babel-examplize-region (beg end &optional results-switches) | 2209 | (defun org-babel-examplize-region (beg end &optional results-switches) |
| 2210 | "Comment out region using the inline ‘==’ or ‘: ’ org example quote." | 2210 | "Comment out region using the inline `==' or `: ' org example quote." |
| 2211 | (interactive "*r") | 2211 | (interactive "*r") |
| 2212 | (let ((chars-between (lambda (b e) | 2212 | (let ((chars-between (lambda (b e) |
| 2213 | (not (string-match "^[\\s]*$" (buffer-substring b e))))) | 2213 | (not (string-match "^[\\s]*$" (buffer-substring b e))))) |
diff --git a/lisp/org/ob-fortran.el b/lisp/org/ob-fortran.el index 0e6eb4ff7c9..aab78592806 100644 --- a/lisp/org/ob-fortran.el +++ b/lisp/org/ob-fortran.el | |||
| @@ -108,7 +108,7 @@ it's header arguments." | |||
| 108 | "Wrap body in a \"program ... end program\" block if none exists." | 108 | "Wrap body in a \"program ... end program\" block if none exists." |
| 109 | (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body)) | 109 | (if (string-match "^[ \t]*program[ \t]*.*" (capitalize body)) |
| 110 | (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))) | 110 | (let ((vars (mapcar #'cdr (org-babel-get-header params :var)))) |
| 111 | (if vars (error "Cannot use :vars if ‘program’ statement is present")) | 111 | (if vars (error "Cannot use :vars if `program' statement is present")) |
| 112 | body) | 112 | body) |
| 113 | (format "program main\n%s\nend program main\n" body))) | 113 | (format "program main\n%s\nend program main\n" body))) |
| 114 | 114 | ||
diff --git a/lisp/org/ob-python.el b/lisp/org/ob-python.el index 4abe7affe5c..eb74f93881b 100644 --- a/lisp/org/ob-python.el +++ b/lisp/org/ob-python.el | |||
| @@ -64,7 +64,7 @@ This will typically be either 'python or 'python-mode." | |||
| 64 | :type 'string) | 64 | :type 'string) |
| 65 | 65 | ||
| 66 | (defcustom org-babel-python-None-to 'hline | 66 | (defcustom org-babel-python-None-to 'hline |
| 67 | "Replace ‘None’ in python tables with this before returning." | 67 | "Replace `None' in python tables with this before returning." |
| 68 | :group 'org-babel | 68 | :group 'org-babel |
| 69 | :version "24.4" | 69 | :version "24.4" |
| 70 | :package-version '(Org . "8.0") | 70 | :package-version '(Org . "8.0") |
diff --git a/lisp/org/ob-ref.el b/lisp/org/ob-ref.el index 472d3e6f657..3e79592f5a0 100644 --- a/lisp/org/ob-ref.el +++ b/lisp/org/ob-ref.el | |||
| @@ -176,7 +176,7 @@ the variable." | |||
| 176 | ;; buffer (marker-buffer id-loc) | 176 | ;; buffer (marker-buffer id-loc) |
| 177 | ;; loc (marker-position id-loc)) | 177 | ;; loc (marker-position id-loc)) |
| 178 | ;; (move-marker id-loc nil) | 178 | ;; (move-marker id-loc nil) |
| 179 | (error "Reference ‘%s’ not found in this buffer" ref)) | 179 | (error "Reference `%s' not found in this buffer" ref)) |
| 180 | (cond | 180 | (cond |
| 181 | (lob-info (setq type 'lob)) | 181 | (lob-info (setq type 'lob)) |
| 182 | (id (setq type 'id)) | 182 | (id (setq type 'id)) |
diff --git a/lisp/org/ob-scheme.el b/lisp/org/ob-scheme.el index 419b9a69097..7d8e23f165f 100644 --- a/lisp/org/ob-scheme.el +++ b/lisp/org/ob-scheme.el | |||
| @@ -109,7 +109,7 @@ For a named session, the buffer name will be the session name. | |||
| 109 | 109 | ||
| 110 | If the session is unnamed (nil), generate a name. | 110 | If the session is unnamed (nil), generate a name. |
| 111 | 111 | ||
| 112 | If the session is ‘none’, use nil for the session name, and | 112 | If the session is `none', use nil for the session name, and |
| 113 | org-babel-scheme-execute-with-geiser will use a temporary session." | 113 | org-babel-scheme-execute-with-geiser will use a temporary session." |
| 114 | (let ((result | 114 | (let ((result |
| 115 | (cond ((not name) | 115 | (cond ((not name) |
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 9a64089059c..ae5a252d8af 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1211,7 +1211,7 @@ For example, 9:30am would become 09:30 rather than 9:30." | |||
| 1211 | :type 'boolean) | 1211 | :type 'boolean) |
| 1212 | 1212 | ||
| 1213 | (defun org-agenda-time-of-day-to-ampm (time) | 1213 | (defun org-agenda-time-of-day-to-ampm (time) |
| 1214 | "Convert TIME of a string like ‘13:45’ to an AM/PM style time string." | 1214 | "Convert TIME of a string like `13:45' to an AM/PM style time string." |
| 1215 | (let* ((hour-number (string-to-number (substring time 0 -3))) | 1215 | (let* ((hour-number (string-to-number (substring time 0 -3))) |
| 1216 | (minute (substring time -2)) | 1216 | (minute (substring time -2)) |
| 1217 | (ampm "am")) | 1217 | (ampm "am")) |
| @@ -1975,7 +1975,7 @@ estimate." | |||
| 1975 | :type 'boolean) | 1975 | :type 'boolean) |
| 1976 | 1976 | ||
| 1977 | (defcustom org-agenda-auto-exclude-function nil | 1977 | (defcustom org-agenda-auto-exclude-function nil |
| 1978 | "A function called with a tag to decide if it is filtered on ‘/ RET’. | 1978 | "A function called with a tag to decide if it is filtered on `/ RET'. |
| 1979 | The sole argument to the function, which is called once for each | 1979 | The sole argument to the function, which is called once for each |
| 1980 | possible tag, is a string giving the name of the tag. The | 1980 | possible tag, is a string giving the name of the tag. The |
| 1981 | function should return either nil if the tag should be included | 1981 | function should return either nil if the tag should be included |
| @@ -3625,9 +3625,9 @@ FILTER-ALIST is an alist of filters we need to apply when | |||
| 3625 | ;; Popup existing buffer | 3625 | ;; Popup existing buffer |
| 3626 | (org-agenda-prepare-window (get-buffer org-agenda-buffer-name) | 3626 | (org-agenda-prepare-window (get-buffer org-agenda-buffer-name) |
| 3627 | filter-alist) | 3627 | filter-alist) |
| 3628 | (message "Sticky Agenda buffer, use ‘r’ to refresh") | 3628 | (message "Sticky Agenda buffer, use `r' to refresh") |
| 3629 | (or org-agenda-multi (org-agenda-fit-window-to-buffer)) | 3629 | (or org-agenda-multi (org-agenda-fit-window-to-buffer)) |
| 3630 | (throw 'exit "Sticky Agenda buffer, use ‘r’ to refresh")) | 3630 | (throw 'exit "Sticky Agenda buffer, use `r' to refresh")) |
| 3631 | (setq org-todo-keywords-for-agenda nil) | 3631 | (setq org-todo-keywords-for-agenda nil) |
| 3632 | (setq org-drawers-for-agenda nil) | 3632 | (setq org-drawers-for-agenda nil) |
| 3633 | (put 'org-agenda-tag-filter :preset-filter | 3633 | (put 'org-agenda-tag-filter :preset-filter |
diff --git a/lisp/org/org-bibtex.el b/lisp/org/org-bibtex.el index 2eb2d12633e..06adc078c5d 100644 --- a/lisp/org/org-bibtex.el +++ b/lisp/org/org-bibtex.el | |||
| @@ -190,7 +190,7 @@ | |||
| 190 | (:booktitle . "Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.") | 190 | (:booktitle . "Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.") |
| 191 | (:chapter . "A chapter (or section or whatever) number.") | 191 | (:chapter . "A chapter (or section or whatever) number.") |
| 192 | (:crossref . "The database key of the entry being cross referenced.") | 192 | (:crossref . "The database key of the entry being cross referenced.") |
| 193 | (:edition . "The edition of a book for example, ‘Second’. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.") | 193 | (:edition . "The edition of a book for example, 'Second'. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.") |
| 194 | (:editor . "Name(s) of editor(s), typed as indicated in the LaTeX book. If there is also an author field, then the editor field gives the editor of the book or collection in which the reference appears.") | 194 | (:editor . "Name(s) of editor(s), typed as indicated in the LaTeX book. If there is also an author field, then the editor field gives the editor of the book or collection in which the reference appears.") |
| 195 | (:howpublished . "How something strange has been published. The first word should be capitalized.") | 195 | (:howpublished . "How something strange has been published. The first word should be capitalized.") |
| 196 | (:institution . "The sponsoring institution of a technical report.") | 196 | (:institution . "The sponsoring institution of a technical report.") |
| @@ -205,9 +205,9 @@ | |||
| 205 | (:school . "The name of the school where a thesis was written.") | 205 | (:school . "The name of the school where a thesis was written.") |
| 206 | (:series . "The name of a series or set of books. When citing an entire book, the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.") | 206 | (:series . "The name of a series or set of books. When citing an entire book, the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.") |
| 207 | (:title . "The work’s title, typed as explained in the LaTeX book.") | 207 | (:title . "The work’s title, typed as explained in the LaTeX book.") |
| 208 | (:type . "The type of a technical report for example, ‘Research Note’.") | 208 | (:type . "The type of a technical report for example, 'Research Note'.") |
| 209 | (:volume . "The volume of a journal or multi-volume book.") | 209 | (:volume . "The volume of a journal or multi-volume book.") |
| 210 | (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as ‘(about 1984)’")) | 210 | (:year . "The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as '(about 1984)'")) |
| 211 | "Bibtex fields with descriptions.") | 211 | "Bibtex fields with descriptions.") |
| 212 | 212 | ||
| 213 | (defvar org-bibtex-entries nil | 213 | (defvar org-bibtex-entries nil |
| @@ -221,7 +221,7 @@ | |||
| 221 | 221 | ||
| 222 | (defcustom org-bibtex-prefix nil | 222 | (defcustom org-bibtex-prefix nil |
| 223 | "Optional prefix for all bibtex property names. | 223 | "Optional prefix for all bibtex property names. |
| 224 | For example setting to ‘BIB_’ would allow interoperability with fireforg." | 224 | For example setting to `BIB_' would allow interoperability with fireforg." |
| 225 | :group 'org-bibtex | 225 | :group 'org-bibtex |
| 226 | :version "24.1" | 226 | :version "24.1" |
| 227 | :type '(choice | 227 | :type '(choice |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index aee91ce42fb..9489edf98bf 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -717,7 +717,7 @@ Notification is shown only once." | |||
| 717 | (unless org-clock-notification-was-shown | 717 | (unless org-clock-notification-was-shown |
| 718 | (setq org-clock-notification-was-shown t) | 718 | (setq org-clock-notification-was-shown t) |
| 719 | (org-notify | 719 | (org-notify |
| 720 | (format-message "Task ‘%s’ should be finished by now. (%s)" | 720 | (format-message "Task `%s' should be finished by now. (%s)" |
| 721 | org-clock-heading org-clock-effort) | 721 | org-clock-heading org-clock-effort) |
| 722 | org-clock-sound)) | 722 | org-clock-sound)) |
| 723 | (setq org-clock-notification-was-shown nil))))) | 723 | (setq org-clock-notification-was-shown nil))))) |
| @@ -948,7 +948,7 @@ k/K Keep X minutes of the idle time (default is all). If this | |||
| 948 | clocked back in at the present time. | 948 | clocked back in at the present time. |
| 949 | 949 | ||
| 950 | g/G Indicate that you “got back” X minutes ago. This is quite | 950 | g/G Indicate that you “got back” X minutes ago. This is quite |
| 951 | different from ‘k’: it clocks you out from the beginning of | 951 | different from `k': it clocks you out from the beginning of |
| 952 | the idle period and clock you back in X minutes ago. | 952 | the idle period and clock you back in X minutes ago. |
| 953 | 953 | ||
| 954 | s/S Subtract the idle time from the current clock. This is the | 954 | s/S Subtract the idle time from the current clock. This is the |
diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 75de8c284e1..e5435e3abcc 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el | |||
| @@ -457,7 +457,7 @@ Wrapper for org-ctags-rebuild-tags-file-then-find-tag." | |||
| 457 | (if (and (buffer-file-name) | 457 | (if (and (buffer-file-name) |
| 458 | (y-or-n-p | 458 | (y-or-n-p |
| 459 | (format-message | 459 | (format-message |
| 460 | "Tag ‘%s’ not found. Rebuild table ‘%s/TAGS’ and look again?" | 460 | "Tag `%s' not found. Rebuild table `%s/TAGS' and look again?" |
| 461 | name | 461 | name |
| 462 | (file-name-directory (buffer-file-name))))) | 462 | (file-name-directory (buffer-file-name))))) |
| 463 | (org-ctags-rebuild-tags-file-then-find-tag name) | 463 | (org-ctags-rebuild-tags-file-then-find-tag name) |
diff --git a/lisp/org/org-feed.el b/lisp/org/org-feed.el index 22e543c35f7..ab3c61efdf3 100644 --- a/lisp/org/org-feed.el +++ b/lisp/org/org-feed.el | |||
| @@ -691,7 +691,7 @@ formatted as a string, not the original XML data." | |||
| 691 | (t | 691 | (t |
| 692 | (setq entry (plist-put entry :description | 692 | (setq entry (plist-put entry :description |
| 693 | (format-message | 693 | (format-message |
| 694 | "Unknown ‘%s’ content." type))))))) | 694 | "Unknown `%s' content." type))))))) |
| 695 | entry)) | 695 | entry)) |
| 696 | 696 | ||
| 697 | (provide 'org-feed) | 697 | (provide 'org-feed) |
diff --git a/lisp/org/org-habit.el b/lisp/org/org-habit.el index 7911dcff9ab..e2be4608b67 100644 --- a/lisp/org/org-habit.el +++ b/lisp/org/org-habit.el | |||
| @@ -180,7 +180,7 @@ This list represents a \"habit\" for the rest of this module." | |||
| 180 | (error "Habit %s has no scheduled date" habit-entry)) | 180 | (error "Habit %s has no scheduled date" habit-entry)) |
| 181 | (unless scheduled-repeat | 181 | (unless scheduled-repeat |
| 182 | (error | 182 | (error |
| 183 | "Habit ‘%s’ has no scheduled repeat period or has an incorrect one" | 183 | "Habit `%s' has no scheduled repeat period or has an incorrect one" |
| 184 | habit-entry)) | 184 | habit-entry)) |
| 185 | (setq sr-days (org-habit-duration-to-days scheduled-repeat)) | 185 | (setq sr-days (org-habit-duration-to-days scheduled-repeat)) |
| 186 | (unless (> sr-days 0) | 186 | (unless (> sr-days 0) |
diff --git a/lisp/org/org-irc.el b/lisp/org/org-irc.el index fc3294f684f..1ec69d83738 100644 --- a/lisp/org/org-irc.el +++ b/lisp/org/org-irc.el | |||
| @@ -108,7 +108,7 @@ attributes that are found." | |||
| 108 | (defun org-irc-ellipsify-description (string &optional after) | 108 | (defun org-irc-ellipsify-description (string &optional after) |
| 109 | "Remove unnecessary white space from STRING and add ellipses if necessary. | 109 | "Remove unnecessary white space from STRING and add ellipses if necessary. |
| 110 | Strip starting and ending white space from STRING and replace any | 110 | Strip starting and ending white space from STRING and replace any |
| 111 | chars that the value AFTER with ‘...’" | 111 | chars that the value AFTER with `...'" |
| 112 | (let* ((after (number-to-string (or after 30))) | 112 | (let* ((after (number-to-string (or after 30))) |
| 113 | (replace-map (list (cons "^[ \t]*" "") | 113 | (replace-map (list (cons "^[ \t]*" "") |
| 114 | (cons "[ \t]*$" "") | 114 | (cons "[ \t]*$" "") |
diff --git a/lisp/org/org-mouse.el b/lisp/org/org-mouse.el index a52c1962787..a1ddc5db79c 100644 --- a/lisp/org/org-mouse.el +++ b/lisp/org/org-mouse.el | |||
| @@ -539,7 +539,7 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:" | |||
| 539 | ((stringp (nth 2 entry)) | 539 | ((stringp (nth 2 entry)) |
| 540 | (concat (org-mouse-agenda-type (nth 1 entry)) | 540 | (concat (org-mouse-agenda-type (nth 1 entry)) |
| 541 | (nth 2 entry))) | 541 | (nth 2 entry))) |
| 542 | (t "Agenda Command ‘%s’")) | 542 | (t "Agenda Command `%s'")) |
| 543 | 30)))) | 543 | 30)))) |
| 544 | "--" | 544 | "--" |
| 545 | ["Delete Blank Lines" delete-blank-lines | 545 | ["Delete Blank Lines" delete-blank-lines |
| @@ -566,7 +566,7 @@ SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:" | |||
| 566 | (save-excursion (org-apply-on-list wrap-fun nil))))) | 566 | (save-excursion (org-apply-on-list wrap-fun nil))))) |
| 567 | 567 | ||
| 568 | (defun org-mouse-bolp () | 568 | (defun org-mouse-bolp () |
| 569 | "Return true if there only spaces, tabs, and ‘*’ before point. | 569 | "Return true if there only spaces, tabs, and `*' before point. |
| 570 | This means, between the beginning of line and the point." | 570 | This means, between the beginning of line and the point." |
| 571 | (save-excursion | 571 | (save-excursion |
| 572 | (skip-chars-backward " \t*") (bolp))) | 572 | (skip-chars-backward " \t*") (bolp))) |
| @@ -708,9 +708,9 @@ This means, between the beginning of line and the point." | |||
| 708 | ((org-mouse-looking-at ":\\([A-Za-z0-9_]+\\):" "A-Za-z0-9_" -1) ;tags | 708 | ((org-mouse-looking-at ":\\([A-Za-z0-9_]+\\):" "A-Za-z0-9_" -1) ;tags |
| 709 | (popup-menu | 709 | (popup-menu |
| 710 | `(nil | 710 | `(nil |
| 711 | [,(format-message "Display ‘%s’" (match-string 1)) | 711 | [,(format-message "Display `%s'" (match-string 1)) |
| 712 | (org-tags-view nil ,(match-string 1))] | 712 | (org-tags-view nil ,(match-string 1))] |
| 713 | [,(format-message "Sparse Tree ‘%s’" (match-string 1)) | 713 | [,(format-message "Sparse Tree `%s'" (match-string 1)) |
| 714 | (org-tags-sparse-tree nil ,(match-string 1))] | 714 | (org-tags-sparse-tree nil ,(match-string 1))] |
| 715 | "--" | 715 | "--" |
| 716 | ,@(org-mouse-tag-menu)))) | 716 | ,@(org-mouse-tag-menu)))) |
diff --git a/lisp/org/org-plot.el b/lisp/org/org-plot.el index 7024ed6e507..fd6b4edbd0a 100644 --- a/lisp/org/org-plot.el +++ b/lisp/org/org-plot.el | |||
| @@ -94,7 +94,7 @@ Return value is the point at the beginning of the table." | |||
| 94 | (goto-char (org-table-begin))) | 94 | (goto-char (org-table-begin))) |
| 95 | 95 | ||
| 96 | (defun org-plot/collect-options (&optional params) | 96 | (defun org-plot/collect-options (&optional params) |
| 97 | "Collect options from an org-plot ‘#+Plot:’ line. | 97 | "Collect options from an org-plot `#+Plot:' line. |
| 98 | Accepts an optional property list PARAMS, to which the options | 98 | Accepts an optional property list PARAMS, to which the options |
| 99 | will be added. Returns the resulting property list." | 99 | will be added. Returns the resulting property list." |
| 100 | (interactive) | 100 | (interactive) |
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index f05ab7ad1c4..478ad933ae2 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -3404,7 +3404,7 @@ Parameters get priority." | |||
| 3404 | (if (eq org-table-use-standard-references t) | 3404 | (if (eq org-table-use-standard-references t) |
| 3405 | (org-table-fedit-toggle-ref-type)) | 3405 | (org-table-fedit-toggle-ref-type)) |
| 3406 | (org-goto-line startline) | 3406 | (org-goto-line startline) |
| 3407 | (message "Edit formulas, finish with ‘C-c C-c’ or ‘C-c '’. See menu for more commands."))) | 3407 | (message "%s" "Edit formulas, finish with C-c C-c or C-c '. See menu for more commands."))) |
| 3408 | 3408 | ||
| 3409 | (defun org-table-fedit-post-command () | 3409 | (defun org-table-fedit-post-command () |
| 3410 | (when (not (memq this-command '(lisp-complete-symbol))) | 3410 | (when (not (memq this-command '(lisp-complete-symbol))) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 587d7654409..c7b64cccb19 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -481,7 +481,7 @@ value of the variable, after updating it: | |||
| 481 | \(dolist (backend val) | 481 | \(dolist (backend val) |
| 482 | \(cond | 482 | \(cond |
| 483 | \((not (load (format \"ox-%s\" backend) t t)) | 483 | \((not (load (format \"ox-%s\" backend) t t)) |
| 484 | \(message \"Problems while trying to load export back-end ‘%s’\" | 484 | \(message \"Problems while trying to load export back-end \\=`%s\\='\" |
| 485 | backend)) | 485 | backend)) |
| 486 | \((not (memq backend new-list)) (push backend new-list)))) | 486 | \((not (memq backend new-list)) (push backend new-list)))) |
| 487 | \(set-default \\='org-export-backends new-list))) | 487 | \(set-default \\='org-export-backends new-list))) |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 5d8e48ea97a..4e3e0ef9376 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -5553,7 +5553,7 @@ and `org-export-to-file' for more specialized functions." | |||
| 5553 | (kill-buffer proc-buffer)))) | 5553 | (kill-buffer proc-buffer)))) |
| 5554 | (org-export-add-to-stack proc-buffer nil p) | 5554 | (org-export-add-to-stack proc-buffer nil p) |
| 5555 | (ding) | 5555 | (ding) |
| 5556 | (message "Process ‘%s’ exited abnormally" p)) | 5556 | (message "Process `%s' exited abnormally" p)) |
| 5557 | (unless org-export-async-debug | 5557 | (unless org-export-async-debug |
| 5558 | (delete-file ,,temp-file))))))))))))) | 5558 | (delete-file ,,temp-file))))))))))))) |
| 5559 | 5559 | ||
diff --git a/lisp/pcmpl-cvs.el b/lisp/pcmpl-cvs.el index 33446af23d5..b64fb65d3b7 100644 --- a/lisp/pcmpl-cvs.el +++ b/lisp/pcmpl-cvs.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | ;; User Variables: | 38 | ;; User Variables: |
| 39 | 39 | ||
| 40 | (defcustom pcmpl-cvs-binary (or (executable-find "cvs") "cvs") | 40 | (defcustom pcmpl-cvs-binary (or (executable-find "cvs") "cvs") |
| 41 | "The full path of the ‘cvs’ binary." | 41 | "The full path of the `cvs' binary." |
| 42 | :type 'file | 42 | :type 'file |
| 43 | :group 'pcmpl-cvs) | 43 | :group 'pcmpl-cvs) |
| 44 | 44 | ||
| @@ -154,7 +154,7 @@ | |||
| 154 | (defun pcmpl-cvs-entries (&optional opers) | 154 | (defun pcmpl-cvs-entries (&optional opers) |
| 155 | "Return the Entries for the current directory. | 155 | "Return the Entries for the current directory. |
| 156 | If OPERS is a list of characters, return entries for which that | 156 | If OPERS is a list of characters, return entries for which that |
| 157 | operation character applies, as displayed by ‘cvs -n update’." | 157 | operation character applies, as displayed by `cvs -n update'." |
| 158 | (let* ((arg (pcomplete-arg)) | 158 | (let* ((arg (pcomplete-arg)) |
| 159 | (dir (file-name-as-directory | 159 | (dir (file-name-as-directory |
| 160 | (or (file-name-directory arg) ""))) | 160 | (or (file-name-directory arg) ""))) |
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el index 5ca792db310..1e06f1ba9de 100644 --- a/lisp/play/bubbles.el +++ b/lisp/play/bubbles.el | |||
| @@ -101,31 +101,31 @@ and a shift mode." | |||
| 101 | :group 'bubbles) | 101 | :group 'bubbles) |
| 102 | 102 | ||
| 103 | (defun bubbles-set-game-easy () | 103 | (defun bubbles-set-game-easy () |
| 104 | "Set game theme to ‘easy’." | 104 | "Set game theme to `easy'." |
| 105 | (interactive) | 105 | (interactive) |
| 106 | (setq bubbles-game-theme 'easy) | 106 | (setq bubbles-game-theme 'easy) |
| 107 | (bubbles)) | 107 | (bubbles)) |
| 108 | 108 | ||
| 109 | (defun bubbles-set-game-medium () | 109 | (defun bubbles-set-game-medium () |
| 110 | "Set game theme to ‘medium’." | 110 | "Set game theme to `medium'." |
| 111 | (interactive) | 111 | (interactive) |
| 112 | (setq bubbles-game-theme 'medium) | 112 | (setq bubbles-game-theme 'medium) |
| 113 | (bubbles)) | 113 | (bubbles)) |
| 114 | 114 | ||
| 115 | (defun bubbles-set-game-difficult () | 115 | (defun bubbles-set-game-difficult () |
| 116 | "Set game theme to ‘difficult’." | 116 | "Set game theme to `difficult'." |
| 117 | (interactive) | 117 | (interactive) |
| 118 | (setq bubbles-game-theme 'difficult) | 118 | (setq bubbles-game-theme 'difficult) |
| 119 | (bubbles)) | 119 | (bubbles)) |
| 120 | 120 | ||
| 121 | (defun bubbles-set-game-hard () | 121 | (defun bubbles-set-game-hard () |
| 122 | "Set game theme to ‘hard’." | 122 | "Set game theme to `hard'." |
| 123 | (interactive) | 123 | (interactive) |
| 124 | (setq bubbles-game-theme 'hard) | 124 | (setq bubbles-game-theme 'hard) |
| 125 | (bubbles)) | 125 | (bubbles)) |
| 126 | 126 | ||
| 127 | (defun bubbles-set-game-userdefined () | 127 | (defun bubbles-set-game-userdefined () |
| 128 | "Set game theme to ‘user-defined’." | 128 | "Set game theme to `user-defined'." |
| 129 | (interactive) | 129 | (interactive) |
| 130 | (setq bubbles-game-theme 'user-defined) | 130 | (setq bubbles-game-theme 'user-defined) |
| 131 | (bubbles)) | 131 | (bubbles)) |
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 702376ce86e..d2953b69895 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el | |||
| @@ -977,7 +977,7 @@ If the game is finished, this command requests for another game." | |||
| 977 | (move-to-column (+ gomoku-x-offset (* gomoku-square-width (1- x))))) | 977 | (move-to-column (+ gomoku-x-offset (* gomoku-square-width (1- x))))) |
| 978 | 978 | ||
| 979 | (defun gomoku-plot-square (square value) | 979 | (defun gomoku-plot-square (square value) |
| 980 | "Draw ‘X’, ‘O’ or ‘.’ on SQUARE depending on VALUE, leave point there." | 980 | "Draw `X', `O' or `.' on SQUARE depending on VALUE, leave point there." |
| 981 | (or (= value 1) | 981 | (or (= value 1) |
| 982 | (gomoku-goto-square square)) | 982 | (gomoku-goto-square square)) |
| 983 | (let ((inhibit-read-only t)) | 983 | (let ((inhibit-read-only t)) |
diff --git a/lisp/proced.el b/lisp/proced.el index 5c65edfe818..bf7ce24f202 100644 --- a/lisp/proced.el +++ b/lisp/proced.el | |||
| @@ -1924,7 +1924,7 @@ and \f (formfeed) at the end." | |||
| 1924 | (unless (bolp) | 1924 | (unless (bolp) |
| 1925 | (insert "\n")) | 1925 | (insert "\n")) |
| 1926 | (insert (current-time-string) | 1926 | (insert (current-time-string) |
| 1927 | (format-message "\tBuffer ‘%s’, signal ‘%s’\n" | 1927 | (format-message "\tBuffer `%s', signal `%s'\n" |
| 1928 | (buffer-name obuf) (car args))) | 1928 | (buffer-name obuf) (car args))) |
| 1929 | (goto-char (point-max)) | 1929 | (goto-char (point-max)) |
| 1930 | (insert "\f\n"))))))) | 1930 | (insert "\f\n"))))))) |
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 70af389519c..452f3b99742 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -286,11 +286,11 @@ type A is | |||
| 286 | :type 'boolean :group 'ada) | 286 | :type 'boolean :group 'ada) |
| 287 | 287 | ||
| 288 | (defcustom ada-indent-is-separate t | 288 | (defcustom ada-indent-is-separate t |
| 289 | "Non-nil means indent ‘is separate’ or ‘is abstract’ if on a single line." | 289 | "Non-nil means indent `is separate' or `is abstract' if on a single line." |
| 290 | :type 'boolean :group 'ada) | 290 | :type 'boolean :group 'ada) |
| 291 | 291 | ||
| 292 | (defcustom ada-indent-record-rel-type 3 | 292 | (defcustom ada-indent-record-rel-type 3 |
| 293 | "Indentation for ‘record’ relative to ‘type’ or ‘use’. | 293 | "Indentation for `record' relative to `type' or `use'. |
| 294 | 294 | ||
| 295 | An example is: | 295 | An example is: |
| 296 | type A is | 296 | type A is |
| @@ -397,7 +397,7 @@ Must be one of : | |||
| 397 | :group 'ada) | 397 | :group 'ada) |
| 398 | 398 | ||
| 399 | (defcustom ada-use-indent ada-broken-indent | 399 | (defcustom ada-use-indent ada-broken-indent |
| 400 | "Indentation for the lines in a ‘use’ statement. | 400 | "Indentation for the lines in a `use' statement. |
| 401 | 401 | ||
| 402 | An example is: | 402 | An example is: |
| 403 | use Ada.Text_IO, | 403 | use Ada.Text_IO, |
| @@ -405,7 +405,7 @@ An example is: | |||
| 405 | :type 'integer :group 'ada) | 405 | :type 'integer :group 'ada) |
| 406 | 406 | ||
| 407 | (defcustom ada-when-indent 3 | 407 | (defcustom ada-when-indent 3 |
| 408 | "Indentation for ‘when’ relative to ‘exception’ or ‘case’. | 408 | "Indentation for `when' relative to `exception' or `case'. |
| 409 | 409 | ||
| 410 | An example is: | 410 | An example is: |
| 411 | case A is | 411 | case A is |
| @@ -413,7 +413,7 @@ An example is: | |||
| 413 | :type 'integer :group 'ada) | 413 | :type 'integer :group 'ada) |
| 414 | 414 | ||
| 415 | (defcustom ada-with-indent ada-broken-indent | 415 | (defcustom ada-with-indent ada-broken-indent |
| 416 | "Indentation for the lines in a ‘with’ statement. | 416 | "Indentation for the lines in a `with' statement. |
| 417 | 417 | ||
| 418 | An example is: | 418 | An example is: |
| 419 | with Ada.Text_IO, | 419 | with Ada.Text_IO, |
| @@ -2834,7 +2834,7 @@ ORGPOINT is the limit position used in the calculation." | |||
| 2834 | (save-excursion | 2834 | (save-excursion |
| 2835 | (goto-char (car match-cons)) | 2835 | (goto-char (car match-cons)) |
| 2836 | (unless (ada-search-ignore-string-comment "when" t opos) | 2836 | (unless (ada-search-ignore-string-comment "when" t opos) |
| 2837 | (error "Missing ‘when’ between ‘case’ and ‘=>’")) | 2837 | (error "Missing `when' between `case' and `=>'")) |
| 2838 | (list (save-excursion (back-to-indentation) (point)) 'ada-indent))) | 2838 | (list (save-excursion (back-to-indentation) (point)) 'ada-indent))) |
| 2839 | ;; | 2839 | ;; |
| 2840 | ;; case..is..when | 2840 | ;; case..is..when |
| @@ -3003,7 +3003,7 @@ ORGPOINT is the limit position used in the calculation." | |||
| 3003 | (list cur-indent 'ada-broken-indent))))) | 3003 | (list cur-indent 'ada-broken-indent))))) |
| 3004 | 3004 | ||
| 3005 | (defun ada-get-indent-noindent (orgpoint) | 3005 | (defun ada-get-indent-noindent (orgpoint) |
| 3006 | "Calculate the indentation when point is just before a ‘noindent stmt’. | 3006 | "Calculate the indentation when point is just before a `noindent stmt'. |
| 3007 | ORGPOINT is the limit position used in the calculation." | 3007 | ORGPOINT is the limit position used in the calculation." |
| 3008 | (let ((label 0)) | 3008 | (let ((label 0)) |
| 3009 | (save-excursion | 3009 | (save-excursion |
| @@ -3429,7 +3429,7 @@ Return the new position of point or nil if not found." | |||
| 3429 | Moves point to the matching block start." | 3429 | Moves point to the matching block start." |
| 3430 | (ada-goto-matching-start 0) | 3430 | (ada-goto-matching-start 0) |
| 3431 | (unless (looking-at (concat "\\<" keyword "\\>")) | 3431 | (unless (looking-at (concat "\\<" keyword "\\>")) |
| 3432 | (error "Matching start is not ‘%s’" keyword))) | 3432 | (error "Matching start is not `%s'" keyword))) |
| 3433 | 3433 | ||
| 3434 | 3434 | ||
| 3435 | (defun ada-check-defun-name (defun-name) | 3435 | (defun ada-check-defun-name (defun-name) |
| @@ -3667,7 +3667,7 @@ otherwise throw error." | |||
| 3667 | "Move point to the beginning of a block-start. | 3667 | "Move point to the beginning of a block-start. |
| 3668 | Which block depends on the value of NEST-LEVEL, which defaults to zero. | 3668 | Which block depends on the value of NEST-LEVEL, which defaults to zero. |
| 3669 | If NOERROR is non-nil, it only returns nil if no matching start was found. | 3669 | If NOERROR is non-nil, it only returns nil if no matching start was found. |
| 3670 | If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | 3670 | If GOTOTHEN is non-nil, point moves to the `then' following `if'." |
| 3671 | (let ((nest-count (if nest-level nest-level 0)) | 3671 | (let ((nest-count (if nest-level nest-level 0)) |
| 3672 | (found nil) | 3672 | (found nil) |
| 3673 | 3673 | ||
| @@ -3734,7 +3734,7 @@ If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | |||
| 3734 | (if pos | 3734 | (if pos |
| 3735 | (goto-char (car pos)) | 3735 | (goto-char (car pos)) |
| 3736 | (error (concat | 3736 | (error (concat |
| 3737 | "No matching ‘is’ or ‘renames’ for ‘package’ at" | 3737 | "No matching `is' or `renames' for `package' at" |
| 3738 | " line " | 3738 | " line " |
| 3739 | (number-to-string (count-lines 1 (1+ current))))))) | 3739 | (number-to-string (count-lines 1 (1+ current))))))) |
| 3740 | (unless (looking-at "renames") | 3740 | (unless (looking-at "renames") |
| @@ -3862,7 +3862,7 @@ If GOTOTHEN is non-nil, point moves to the ‘then’ following ‘if’." | |||
| 3862 | ((looking-at "do") | 3862 | ((looking-at "do") |
| 3863 | (unless (ada-search-ignore-string-comment | 3863 | (unless (ada-search-ignore-string-comment |
| 3864 | "\\<accept\\|return\\>" t) | 3864 | "\\<accept\\|return\\>" t) |
| 3865 | (error "Missing ‘accept’ or ‘return’ in front of ‘do’")))) | 3865 | (error "Missing `accept' or `return' in front of `do'")))) |
| 3866 | (point)) | 3866 | (point)) |
| 3867 | 3867 | ||
| 3868 | (if noerror | 3868 | (if noerror |
| @@ -4073,7 +4073,7 @@ Assumes point to be at the end of a statement." | |||
| 4073 | 4073 | ||
| 4074 | 4074 | ||
| 4075 | (defun ada-looking-at-semi-or () | 4075 | (defun ada-looking-at-semi-or () |
| 4076 | "Return t if looking at an ‘or’ following a semicolon." | 4076 | "Return t if looking at an `or' following a semicolon." |
| 4077 | (save-excursion | 4077 | (save-excursion |
| 4078 | (and (looking-at "\\<or\\>") | 4078 | (and (looking-at "\\<or\\>") |
| 4079 | (progn | 4079 | (progn |
| @@ -4146,7 +4146,7 @@ Return nil if the private is part of the package name, as in | |||
| 4146 | "type\\)\\>")))))) | 4146 | "type\\)\\>")))))) |
| 4147 | 4147 | ||
| 4148 | (defun ada-search-ignore-complex-boolean (regexp backwardp) | 4148 | (defun ada-search-ignore-complex-boolean (regexp backwardp) |
| 4149 | "Search for REGEXP, ignoring comments, strings, ‘and then’, ‘or else’. | 4149 | "Search for REGEXP, ignoring comments, strings, `and then', `or else'. |
| 4150 | If BACKWARDP is non-nil, search backward; search forward otherwise." | 4150 | If BACKWARDP is non-nil, search backward; search forward otherwise." |
| 4151 | (let (result) | 4151 | (let (result) |
| 4152 | (while (and (setq result (ada-search-ignore-string-comment regexp backwardp)) | 4152 | (while (and (setq result (ada-search-ignore-string-comment regexp backwardp)) |
| @@ -4366,7 +4366,7 @@ of the region. Otherwise, operate only on the current line." | |||
| 4366 | 4366 | ||
| 4367 | (defun ada-move-to-end () | 4367 | (defun ada-move-to-end () |
| 4368 | "Move point to the end of the block around point. | 4368 | "Move point to the end of the block around point. |
| 4369 | Moves to ‘begin’ if in a declarative part." | 4369 | Moves to `begin' if in a declarative part." |
| 4370 | (interactive) | 4370 | (interactive) |
| 4371 | (let ((pos (point)) | 4371 | (let ((pos (point)) |
| 4372 | decl-start) | 4372 | decl-start) |
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el index 7e354bc2b0f..3b71c5987ed 100644 --- a/lisp/progmodes/ada-prj.el +++ b/lisp/progmodes/ada-prj.el | |||
| @@ -309,13 +309,13 @@ where the compilation is done.") | |||
| 309 | "If you want to remotely compile, debug and | 309 | "If you want to remotely compile, debug and |
| 310 | run your application, specify the name of a | 310 | run your application, specify the name of a |
| 311 | remote machine here. This capability requires | 311 | remote machine here. This capability requires |
| 312 | the ‘rsh’ protocol on the remote machine.") | 312 | the `rsh' protocol on the remote machine.") |
| 313 | (ada-prj-field 'cross_prefix "Prefix used in for the cross tool chain" | 313 | (ada-prj-field 'cross_prefix "Prefix used in for the cross tool chain" |
| 314 | "When working on multiple cross targets, it is | 314 | "When working on multiple cross targets, it is |
| 315 | most convenient to specify the prefix of the | 315 | most convenient to specify the prefix of the |
| 316 | tool chain here. For instance, on PowerPc | 316 | tool chain here. For instance, on PowerPc |
| 317 | vxworks, you would enter ‘powerpc-wrs-vxworks-’. | 317 | vxworks, you would enter `powerpc-wrs-vxworks-'. |
| 318 | To use JGNAT, enter ‘j’.") | 318 | To use JGNAT, enter `j'.") |
| 319 | ) | 319 | ) |
| 320 | 320 | ||
| 321 | 321 | ||
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index 6f2f78f7f19..816de12cbdb 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -286,7 +286,7 @@ On Windows systems, this will properly handle .exe extension as well." | |||
| 286 | (ada-find-file-in-dir (concat exec-name ".exe") exec-path)))) | 286 | (ada-find-file-in-dir (concat exec-name ".exe") exec-path)))) |
| 287 | (if result | 287 | (if result |
| 288 | result | 288 | result |
| 289 | (error "‘%s’ not found in path" exec-name)))) | 289 | (error "`%s' not found in path" exec-name)))) |
| 290 | 290 | ||
| 291 | (defun ada-initialize-runtime-library (cross-prefix) | 291 | (defun ada-initialize-runtime-library (cross-prefix) |
| 292 | "Initialize the variables for the runtime library location. | 292 | "Initialize the variables for the runtime library location. |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index 2443d6f8ca9..80f9e2a7719 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -3471,7 +3471,7 @@ are not performed." | |||
| 3471 | (with-output-to-temp-buffer (concat "*Apropos Members*") | 3471 | (with-output-to-temp-buffer (concat "*Apropos Members*") |
| 3472 | (set-buffer standard-output) | 3472 | (set-buffer standard-output) |
| 3473 | (erase-buffer) | 3473 | (erase-buffer) |
| 3474 | (insert (format-message "Members matching ‘%s’\n\n" regexp)) | 3474 | (insert (format-message "Members matching `%s'\n\n" regexp)) |
| 3475 | (cl-loop for s in (ebrowse-list-of-matching-members members regexp) do | 3475 | (cl-loop for s in (ebrowse-list-of-matching-members members regexp) do |
| 3476 | (cl-loop for info in (gethash s members) do | 3476 | (cl-loop for info in (gethash s members) do |
| 3477 | (ebrowse-draw-file-member-info info)))))) | 3477 | (ebrowse-draw-file-member-info info)))))) |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 83ee2a484f7..0d5fc3a3cd3 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1459,7 +1459,7 @@ hits the start of file." | |||
| 1459 | (when (symbolp symbs) | 1459 | (when (symbolp symbs) |
| 1460 | (if (boundp symbs) | 1460 | (if (boundp symbs) |
| 1461 | (setq symbs (symbol-value symbs)) | 1461 | (setq symbs (symbol-value symbs)) |
| 1462 | (insert (format-message "symbol ‘%s’ has no value\n" symbs)) | 1462 | (insert (format-message "symbol `%s' has no value\n" symbs)) |
| 1463 | (setq symbs nil))) | 1463 | (setq symbs nil))) |
| 1464 | (if (vectorp symbs) | 1464 | (if (vectorp symbs) |
| 1465 | (mapatoms ins-symb symbs) | 1465 | (mapatoms ins-symb symbs) |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index f220633fefa..a9d47431e51 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -287,7 +287,7 @@ Return its file name if found, or nil if not found." | |||
| 287 | nil))))) | 287 | nil))))) |
| 288 | 288 | ||
| 289 | (defun flymake-fix-file-name (name) | 289 | (defun flymake-fix-file-name (name) |
| 290 | "Replace all occurrences of ‘\\’ with ‘/’." | 290 | "Replace all occurrences of `\\' with `/'." |
| 291 | (when name | 291 | (when name |
| 292 | (setq name (expand-file-name name)) | 292 | (setq name (expand-file-name name)) |
| 293 | (setq name (abbreviate-file-name name)) | 293 | (setq name (abbreviate-file-name name)) |
| @@ -785,7 +785,7 @@ Perhaps use text from LINE-ERR-INFO-LIST to enhance highlighting." | |||
| 785 | (when (flymake-same-files real-file-name source-file-name) | 785 | (when (flymake-same-files real-file-name source-file-name) |
| 786 | (setq line-err-info (flymake-ler-set-file line-err-info nil)) | 786 | (setq line-err-info (flymake-ler-set-file line-err-info nil)) |
| 787 | (setq err-info-list (flymake-add-err-info err-info-list line-err-info)))) | 787 | (setq err-info-list (flymake-add-err-info err-info-list line-err-info)))) |
| 788 | (flymake-log 3 "parsed ‘%s’, %s line-err-info" (nth idx lines) (if line-err-info "got" "no")) | 788 | (flymake-log 3 "parsed `%s', %s line-err-info" (nth idx lines) (if line-err-info "got" "no")) |
| 789 | (setq idx (1+ idx))) | 789 | (setq idx (1+ idx))) |
| 790 | err-info-list)) | 790 | err-info-list)) |
| 791 | 791 | ||
| @@ -1086,7 +1086,7 @@ For the format of LINE-ERR-INFO, see `flymake-ler-make-ler'." | |||
| 1086 | (error | 1086 | (error |
| 1087 | (let* ((err-str | 1087 | (let* ((err-str |
| 1088 | (format-message | 1088 | (format-message |
| 1089 | "Failed to launch syntax check process ‘%s’ with args %s: %s" | 1089 | "Failed to launch syntax check process `%s' with args %s: %s" |
| 1090 | cmd args (error-message-string err))) | 1090 | cmd args (error-message-string err))) |
| 1091 | (source-file-name buffer-file-name) | 1091 | (source-file-name buffer-file-name) |
| 1092 | (cleanup-f (flymake-get-cleanup-function source-file-name))) | 1092 | (cleanup-f (flymake-get-cleanup-function source-file-name))) |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index ce2f830ec42..50ebadf733b 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -229,7 +229,7 @@ to set this option to nil." | |||
| 229 | 229 | ||
| 230 | (defcustom idlwave-shell-file-name-chars "~/A-Za-z0-9+:_.$#%={}\\- " | 230 | (defcustom idlwave-shell-file-name-chars "~/A-Za-z0-9+:_.$#%={}\\- " |
| 231 | "The characters allowed in file names, as a string. | 231 | "The characters allowed in file names, as a string. |
| 232 | Used for file name completion. Must not contain ‘'’, ‘,’ and ‘\"’ | 232 | Used for file name completion. Must not contain `\\='', `,' and `\"' |
| 233 | because these are used as separators by IDL." | 233 | because these are used as separators by IDL." |
| 234 | :group 'idlwave-shell-general-setup | 234 | :group 'idlwave-shell-general-setup |
| 235 | :type 'string) | 235 | :type 'string) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9930d501d4d..b524b761b75 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -743,7 +743,7 @@ The actions that can be performed are listed in `idlwave-indent-action-table'." | |||
| 743 | (defcustom idlwave-abbrev-start-char "\\" | 743 | (defcustom idlwave-abbrev-start-char "\\" |
| 744 | "A single character string used to start abbreviations in abbrev mode. | 744 | "A single character string used to start abbreviations in abbrev mode. |
| 745 | Possible characters to choose from: ~\\=`\% | 745 | Possible characters to choose from: ~\\=`\% |
| 746 | or even ‘?’. ‘.’ is not a good choice because it can make structure | 746 | or even `?'. `.' is not a good choice because it can make structure |
| 747 | field names act like abbrevs in certain circumstances. | 747 | field names act like abbrevs in certain circumstances. |
| 748 | 748 | ||
| 749 | Changes to this in `idlwave-mode-hook' will have no effect. Instead a user | 749 | Changes to this in `idlwave-mode-hook' will have no effect. Instead a user |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 9abbf16ed5d..4f46cbe6357 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -1455,7 +1455,7 @@ Fill comments, backslashed lines, and variable definitions specially." | |||
| 1455 | 1455 | ||
| 1456 | (defun makefile-browser-insert-continuation () | 1456 | (defun makefile-browser-insert-continuation () |
| 1457 | "Insert a makefile continuation. | 1457 | "Insert a makefile continuation. |
| 1458 | In the makefile buffer, go to (end-of-line), insert a ‘\\’ | 1458 | In the makefile buffer, go to (end-of-line), insert a `\\' |
| 1459 | character, insert a new blank line, go to that line and indent by one TAB. | 1459 | character, insert a new blank line, go to that line and indent by one TAB. |
| 1460 | This is most useful in the process of creating continued lines when copying | 1460 | This is most useful in the process of creating continued lines when copying |
| 1461 | large dependencies from the browser to the client buffer. | 1461 | large dependencies from the browser to the client buffer. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a95206463b6..9528ffeebbc 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2819,7 +2819,7 @@ of `error' with a user-friendly message." | |||
| 2819 | (or (python-shell-get-process) | 2819 | (or (python-shell-get-process) |
| 2820 | (if interactivep | 2820 | (if interactivep |
| 2821 | (user-error | 2821 | (user-error |
| 2822 | "Start a Python process first with ‘%s’ or ‘%s’." | 2822 | "Start a Python process first with `%s' or `%s'." |
| 2823 | (substitute-command-keys "\\[run-python]") | 2823 | (substitute-command-keys "\\[run-python]") |
| 2824 | ;; Get the binding. | 2824 | ;; Get the binding. |
| 2825 | (key-description | 2825 | (key-description |
| @@ -4006,7 +4006,7 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 4006 | (let* ((name (symbol-name name)) | 4006 | (let* ((name (symbol-name name)) |
| 4007 | (function-name (intern (concat "python-skeleton--" name))) | 4007 | (function-name (intern (concat "python-skeleton--" name))) |
| 4008 | (msg (format-message | 4008 | (msg (format-message |
| 4009 | "Add ‘%s’ clause? " name))) | 4009 | "Add `%s' clause? " name))) |
| 4010 | (when (not skel) | 4010 | (when (not skel) |
| 4011 | (setq skel | 4011 | (setq skel |
| 4012 | `(< ,(format "%s:" name) \n \n | 4012 | `(< ,(format "%s:" name) \n \n |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index f46c8a99b67..cbf65c0a803 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -4276,7 +4276,7 @@ passed as command line arguments." | |||
| 4276 | ;; work for remote hosts; we suppress the check there. | 4276 | ;; work for remote hosts; we suppress the check there. |
| 4277 | (unless (or (file-remote-p default-directory) | 4277 | (unless (or (file-remote-p default-directory) |
| 4278 | (executable-find program)) | 4278 | (executable-find program)) |
| 4279 | (error "Unable to locate SQL program ‘%s’" program)) | 4279 | (error "Unable to locate SQL program `%s'" program)) |
| 4280 | ;; Make sure buffer name is unique. | 4280 | ;; Make sure buffer name is unique. |
| 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) | 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) |
| 4282 | (setq buf-name (format "SQL-%s" product)) | 4282 | (setq buf-name (format "SQL-%s" product)) |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index caae746779e..f83c676396d 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -4477,7 +4477,7 @@ More specifically, after a generate and before an endgenerate." | |||
| 4477 | (= nest 0) )) ; return nest | 4477 | (= nest 0) )) ; return nest |
| 4478 | 4478 | ||
| 4479 | (defun verilog-in-deferred-immediate-final-p () | 4479 | (defun verilog-in-deferred-immediate-final-p () |
| 4480 | "Return true if inside an ‘assert/assume/cover final’ statement." | 4480 | "Return true if inside an `assert/assume/cover final' statement." |
| 4481 | (interactive) | 4481 | (interactive) |
| 4482 | (and (looking-at "final") | 4482 | (and (looking-at "final") |
| 4483 | (verilog-looking-back "\\<\\(?:assert\\|assume\\|cover\\)\\>\\s-+" nil)) | 4483 | (verilog-looking-back "\\<\\(?:assert\\|assume\\|cover\\)\\>\\s-+" nil)) |
| @@ -7221,7 +7221,7 @@ will be completed at runtime and should not be added to this list.") | |||
| 7221 | 7221 | ||
| 7222 | (defun verilog-func-completion (type) | 7222 | (defun verilog-func-completion (type) |
| 7223 | "Build regular expression for module/task/function names. | 7223 | "Build regular expression for module/task/function names. |
| 7224 | TYPE is ‘module’, ‘tf’ for task or function, or t if unknown." | 7224 | TYPE is `module', `tf' for task or function, or t if unknown." |
| 7225 | (if (string= verilog-str "") | 7225 | (if (string= verilog-str "") |
| 7226 | (setq verilog-str "[a-zA-Z_]")) | 7226 | (setq verilog-str "[a-zA-Z_]")) |
| 7227 | (let ((verilog-str (concat (cond | 7227 | (let ((verilog-str (concat (cond |
| @@ -7294,7 +7294,7 @@ must be a function to be called for every match to check if this should | |||
| 7294 | really be a match. If VERILOG-FLAG is t, the function returns a list of | 7294 | really be a match. If VERILOG-FLAG is t, the function returns a list of |
| 7295 | all possible completions. If VERILOG-FLAG is nil it returns a string, | 7295 | all possible completions. If VERILOG-FLAG is nil it returns a string, |
| 7296 | the longest possible completion, or t if VERILOG-STR is an exact match. | 7296 | the longest possible completion, or t if VERILOG-STR is an exact match. |
| 7297 | If VERILOG-FLAG is ‘lambda’, the function returns t if VERILOG-STR is an | 7297 | If VERILOG-FLAG is `lambda', the function returns t if VERILOG-STR is an |
| 7298 | exact match, nil otherwise." | 7298 | exact match, nil otherwise." |
| 7299 | (save-excursion | 7299 | (save-excursion |
| 7300 | (let ((verilog-all nil)) | 7300 | (let ((verilog-all nil)) |
| @@ -7489,7 +7489,7 @@ VERILOG-PRED is non-nil, it must be a function to be called for every match | |||
| 7489 | to check if this should really be a match. If VERILOG-FLAG is t, the | 7489 | to check if this should really be a match. If VERILOG-FLAG is t, the |
| 7490 | function returns a list of all possible completions. If it is nil it | 7490 | function returns a list of all possible completions. If it is nil it |
| 7491 | returns a string, the longest possible completion, or t if VERILOG-STR is | 7491 | returns a string, the longest possible completion, or t if VERILOG-STR is |
| 7492 | an exact match. If VERILOG-FLAG is ‘lambda’, the function returns t if | 7492 | an exact match. If VERILOG-FLAG is `lambda', the function returns t if |
| 7493 | VERILOG-STR is an exact match, nil otherwise." | 7493 | VERILOG-STR is an exact match, nil otherwise." |
| 7494 | (save-excursion | 7494 | (save-excursion |
| 7495 | (let ((verilog-all nil) | 7495 | (let ((verilog-all nil) |
| @@ -10099,7 +10099,7 @@ if non-nil." | |||
| 10099 | 10099 | ||
| 10100 | ;; Combined | 10100 | ;; Combined |
| 10101 | (defun verilog-decls-get-signals (decls) | 10101 | (defun verilog-decls-get-signals (decls) |
| 10102 | "Return all declared signals in DECLS, excluding ‘assign’ statements." | 10102 | "Return all declared signals in DECLS, excluding `assign' statements." |
| 10103 | (append | 10103 | (append |
| 10104 | (verilog-decls-get-outputs decls) | 10104 | (verilog-decls-get-outputs decls) |
| 10105 | (verilog-decls-get-inouts decls) | 10105 | (verilog-decls-get-inouts decls) |
| @@ -11484,14 +11484,14 @@ Lisp Templates: | |||
| 11484 | Lisp functions: | 11484 | Lisp functions: |
| 11485 | 11485 | ||
| 11486 | vl-name Name portion of the input/output port. | 11486 | vl-name Name portion of the input/output port. |
| 11487 | vl-bits Bus bits portion of the input/output port (‘[2:0]’). | 11487 | vl-bits Bus bits portion of the input/output port (`[2:0]'). |
| 11488 | vl-mbits Multidimensional array bits for port (‘[2:0][3:0]’). | 11488 | vl-mbits Multidimensional array bits for port (`[2:0][3:0]'). |
| 11489 | vl-width Width of the input/output port (‘3’ for [2:0]). | 11489 | vl-width Width of the input/output port (`3' for [2:0]). |
| 11490 | May be a (...) expression if bits isn't a constant. | 11490 | May be a (...) expression if bits isn't a constant. |
| 11491 | vl-dir Direction of the pin input/output/inout/interface. | 11491 | vl-dir Direction of the pin input/output/inout/interface. |
| 11492 | vl-modport The modport, if an interface with a modport. | 11492 | vl-modport The modport, if an interface with a modport. |
| 11493 | vl-cell-type Module name/type of the cell (‘InstModule’). | 11493 | vl-cell-type Module name/type of the cell (`InstModule'). |
| 11494 | vl-cell-name Instance name of the cell (‘instName’). | 11494 | vl-cell-name Instance name of the cell (`instName'). |
| 11495 | 11495 | ||
| 11496 | Normal Lisp variables may be used in expressions. See | 11496 | Normal Lisp variables may be used in expressions. See |
| 11497 | `verilog-read-defines' which can set vh-{definename} variables for use | 11497 | `verilog-read-defines' which can set vh-{definename} variables for use |
| @@ -14177,7 +14177,7 @@ Files are checked based on `verilog-library-flags'." | |||
| 14177 | (match-string 1) (buffer-file-name)))) | 14177 | (match-string 1) (buffer-file-name)))) |
| 14178 | (when warn | 14178 | (when warn |
| 14179 | (message | 14179 | (message |
| 14180 | "File ‘%s’ isn't readable, use shift-mouse2 to paste in this field" | 14180 | "File `%s' isn't readable, use shift-mouse2 to paste in this field" |
| 14181 | (match-string 1)))))))) | 14181 | (match-string 1)))))))) |
| 14182 | 14182 | ||
| 14183 | 14183 | ||
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 34ac5995568..19a7e970a60 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -164,7 +164,7 @@ | |||
| 164 | '/' or is empty)." | 164 | '/' or is empty)." |
| 165 | (let ((val (widget-value widget))) | 165 | (let ((val (widget-value widget))) |
| 166 | (unless (string-match "^\\(\\|.*/\\)$" val) | 166 | (unless (string-match "^\\(\\|.*/\\)$" val) |
| 167 | (widget-put widget :error "Invalid directory entry: must end with ‘/’") | 167 | (widget-put widget :error "Invalid directory entry: must end with `/'") |
| 168 | widget))) | 168 | widget))) |
| 169 | 169 | ||
| 170 | ;; help string for user options | 170 | ;; help string for user options |
| @@ -5714,7 +5714,7 @@ the offset is simply returned." | |||
| 5714 | (t nil))))) | 5714 | (t nil))))) |
| 5715 | 5715 | ||
| 5716 | (defun vhdl-in-extended-identifier-p () | 5716 | (defun vhdl-in-extended-identifier-p () |
| 5717 | "Determine if point is inside extended identifier (delimited by ‘\\’)." | 5717 | "Determine if point is inside extended identifier (delimited by `\\')." |
| 5718 | (save-match-data | 5718 | (save-match-data |
| 5719 | (and (save-excursion (re-search-backward "\\\\" (vhdl-point 'bol) t)) | 5719 | (and (save-excursion (re-search-backward "\\\\" (vhdl-point 'bol) t)) |
| 5720 | (save-excursion (re-search-forward "\\\\" (vhdl-point 'eol) t))))) | 5720 | (save-excursion (re-search-forward "\\\\" (vhdl-point 'eol) t))))) |
| @@ -8743,7 +8743,7 @@ is omitted or nil." | |||
| 8743 | (vhdl-comment-insert))))) | 8743 | (vhdl-comment-insert))))) |
| 8744 | (self-insert-command count))) | 8744 | (self-insert-command count))) |
| 8745 | 8745 | ||
| 8746 | (defun vhdl-electric-open-bracket (count) "‘[’ --> ‘(’, ‘([’ --> ‘[’" | 8746 | (defun vhdl-electric-open-bracket (count) "`[' --> `(', `([' --> `['" |
| 8747 | (interactive "p") | 8747 | (interactive "p") |
| 8748 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8748 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8749 | (if (= (preceding-char) ?\() | 8749 | (if (= (preceding-char) ?\() |
| @@ -8751,7 +8751,7 @@ is omitted or nil." | |||
| 8751 | (insert-char ?\( 1)) | 8751 | (insert-char ?\( 1)) |
| 8752 | (self-insert-command count))) | 8752 | (self-insert-command count))) |
| 8753 | 8753 | ||
| 8754 | (defun vhdl-electric-close-bracket (count) "‘]’ --> ‘)’, ‘)]’ --> ‘]’" | 8754 | (defun vhdl-electric-close-bracket (count) "`]' --> `)', `)]' --> `]'" |
| 8755 | (interactive "p") | 8755 | (interactive "p") |
| 8756 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8756 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8757 | (progn | 8757 | (progn |
| @@ -8769,7 +8769,7 @@ is omitted or nil." | |||
| 8769 | (insert-char ?\' 1)) | 8769 | (insert-char ?\' 1)) |
| 8770 | (self-insert-command count))) | 8770 | (self-insert-command count))) |
| 8771 | 8771 | ||
| 8772 | (defun vhdl-electric-semicolon (count) "‘;;’ --> ‘ : ’, ‘: ;’ --> ‘ := ’" | 8772 | (defun vhdl-electric-semicolon (count) "`;;' --> ` : ', `: ;' --> ` := '" |
| 8773 | (interactive "p") | 8773 | (interactive "p") |
| 8774 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8774 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8775 | (cond ((= (preceding-char) vhdl-last-input-event) | 8775 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8783,7 +8783,7 @@ is omitted or nil." | |||
| 8783 | (t (insert-char ?\; 1))) | 8783 | (t (insert-char ?\; 1))) |
| 8784 | (self-insert-command count))) | 8784 | (self-insert-command count))) |
| 8785 | 8785 | ||
| 8786 | (defun vhdl-electric-comma (count) "‘,,’ --> ‘ <= ’" | 8786 | (defun vhdl-electric-comma (count) "`,,' --> ` <= '" |
| 8787 | (interactive "p") | 8787 | (interactive "p") |
| 8788 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8788 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8789 | (cond ((= (preceding-char) vhdl-last-input-event) | 8789 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8793,7 +8793,7 @@ is omitted or nil." | |||
| 8793 | (t (insert-char ?\, 1))) | 8793 | (t (insert-char ?\, 1))) |
| 8794 | (self-insert-command count))) | 8794 | (self-insert-command count))) |
| 8795 | 8795 | ||
| 8796 | (defun vhdl-electric-period (count) "‘..’ --> ‘ => ’" | 8796 | (defun vhdl-electric-period (count) "`..' --> ` => '" |
| 8797 | (interactive "p") | 8797 | (interactive "p") |
| 8798 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8798 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8799 | (cond ((= (preceding-char) vhdl-last-input-event) | 8799 | (cond ((= (preceding-char) vhdl-last-input-event) |
| @@ -8803,7 +8803,7 @@ is omitted or nil." | |||
| 8803 | (t (insert-char ?\. 1))) | 8803 | (t (insert-char ?\. 1))) |
| 8804 | (self-insert-command count))) | 8804 | (self-insert-command count))) |
| 8805 | 8805 | ||
| 8806 | (defun vhdl-electric-equal (count) "‘==’ --> ‘ == ’" | 8806 | (defun vhdl-electric-equal (count) "`==' --> ` == '" |
| 8807 | (interactive "p") | 8807 | (interactive "p") |
| 8808 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) | 8808 | (if (and vhdl-stutter-mode (= count 1) (not (vhdl-in-literal))) |
| 8809 | (cond ((= (preceding-char) vhdl-last-input-event) | 8809 | (cond ((= (preceding-char) vhdl-last-input-event) |
diff --git a/lisp/recentf.el b/lisp/recentf.el index a599383c09e..8f420af6211 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -1224,7 +1224,7 @@ use for the dialog. It defaults to \"*`recentf-menu-title'*\"." | |||
| 1224 | ", or type the corresponding digit key," | 1224 | ", or type the corresponding digit key," |
| 1225 | "") | 1225 | "") |
| 1226 | " to open it.\n" | 1226 | " to open it.\n" |
| 1227 | (format-message "Click on Cancel or type ‘q’ to cancel.\n")) | 1227 | (format-message "Click on Cancel or type `q' to cancel.\n")) |
| 1228 | ;; Use a L&F that looks like the recentf menu. | 1228 | ;; Use a L&F that looks like the recentf menu. |
| 1229 | (tree-widget-set-theme "folder") | 1229 | (tree-widget-set-theme "folder") |
| 1230 | (apply 'widget-create | 1230 | (apply 'widget-create |
diff --git a/lisp/replace.el b/lisp/replace.el index be73cab8d2a..37e97e2c215 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -209,9 +209,9 @@ wants to replace FROM with TO." | |||
| 209 | (let ((match (match-string 3 from))) | 209 | (let ((match (match-string 3 from))) |
| 210 | (cond | 210 | (cond |
| 211 | ((string= match "\\n") | 211 | ((string= match "\\n") |
| 212 | (message "Note: ‘\\n’ here doesn't match a newline; to do that, type C-q C-j instead")) | 212 | (message "Note: `\\n' here doesn't match a newline; to do that, type C-q C-j instead")) |
| 213 | ((string= match "\\t") | 213 | ((string= match "\\t") |
| 214 | (message "Note: ‘\\t’ here doesn't match a tab; to do that, just type TAB"))) | 214 | (message "Note: `\\t' here doesn't match a tab; to do that, just type TAB"))) |
| 215 | (sit-for 2))) | 215 | (sit-for 2))) |
| 216 | (if (not to) | 216 | (if (not to) |
| 217 | from | 217 | from |
| @@ -1140,7 +1140,7 @@ To return to ordinary Occur mode, use \\[occur-cease-edit]." | |||
| 1140 | (goto-char m) | 1140 | (goto-char m) |
| 1141 | (recenter line) | 1141 | (recenter line) |
| 1142 | (if readonly | 1142 | (if readonly |
| 1143 | (message "Buffer ‘%s’ is read only." buf) | 1143 | (message "Buffer `%s' is read only." buf) |
| 1144 | (delete-region (line-beginning-position) (line-end-position)) | 1144 | (delete-region (line-beginning-position) (line-end-position)) |
| 1145 | (insert text)) | 1145 | (insert text)) |
| 1146 | (move-to-column col))))))) | 1146 | (move-to-column col))))))) |
| @@ -1496,7 +1496,7 @@ See also `multi-occur'." | |||
| 1496 | ;; it is longer than window-width. | 1496 | ;; it is longer than window-width. |
| 1497 | (if (> (+ (length regexp) 42) (window-width)) | 1497 | (if (> (+ (length regexp) 42) (window-width)) |
| 1498 | "" (format-message | 1498 | "" (format-message |
| 1499 | " for ‘%s’" (query-replace-descr regexp))))) | 1499 | " for `%s'" (query-replace-descr regexp))))) |
| 1500 | (setq occur-revert-arguments (list regexp nlines bufs)) | 1500 | (setq occur-revert-arguments (list regexp nlines bufs)) |
| 1501 | (if (= count 0) | 1501 | (if (= count 0) |
| 1502 | (kill-buffer occur-buf) | 1502 | (kill-buffer occur-buf) |
diff --git a/lisp/scroll-bar.el b/lisp/scroll-bar.el index c46e05d5a1b..635990a7825 100644 --- a/lisp/scroll-bar.el +++ b/lisp/scroll-bar.el | |||
| @@ -61,7 +61,7 @@ SIDE must be the symbol `left' or `right'." | |||
| 61 | (cols (nth 1 wsb))) | 61 | (cols (nth 1 wsb))) |
| 62 | (cond | 62 | (cond |
| 63 | ((not (memq side '(left right))) | 63 | ((not (memq side '(left right))) |
| 64 | (error "‘left’ or ‘right’ expected instead of %S" side)) | 64 | (error "`left' or `right' expected instead of %S" side)) |
| 65 | ((and (eq vtype side) cols)) | 65 | ((and (eq vtype side) cols)) |
| 66 | ((eq (frame-parameter nil 'vertical-scroll-bars) side) | 66 | ((eq (frame-parameter nil 'vertical-scroll-bars) side) |
| 67 | ;; nil means it's a non-toolkit scroll bar, and its width in | 67 | ;; nil means it's a non-toolkit scroll bar, and its width in |
diff --git a/lisp/server.el b/lisp/server.el index b16a06e79f0..5a67f12072b 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -575,7 +575,7 @@ If the key is not valid, signal an error." | |||
| 575 | (if server-auth-key | 575 | (if server-auth-key |
| 576 | (if (string-match-p "^[!-~]\\{64\\}$" server-auth-key) | 576 | (if (string-match-p "^[!-~]\\{64\\}$" server-auth-key) |
| 577 | server-auth-key | 577 | server-auth-key |
| 578 | (error "The key ‘%s’ is invalid" server-auth-key)) | 578 | (error "The key `%s' is invalid" server-auth-key)) |
| 579 | (server-generate-key))) | 579 | (server-generate-key))) |
| 580 | 580 | ||
| 581 | ;;;###autoload | 581 | ;;;###autoload |
diff --git a/lisp/simple.el b/lisp/simple.el index b8d4e741775..f80faae80d8 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1655,7 +1655,7 @@ invoking, give a prefix argument to `execute-extended-command'." | |||
| 1655 | (not executing-kbd-macro) | 1655 | (not executing-kbd-macro) |
| 1656 | (where-is-internal function overriding-local-map t)))) | 1656 | (where-is-internal function overriding-local-map t)))) |
| 1657 | (unless (commandp function) | 1657 | (unless (commandp function) |
| 1658 | (error "‘%s’ is not a valid command name" command-name)) | 1658 | (error "`%s' is not a valid command name" command-name)) |
| 1659 | (setq this-command function) | 1659 | (setq this-command function) |
| 1660 | ;; Normally `real-this-command' should never be changed, but here we really | 1660 | ;; Normally `real-this-command' should never be changed, but here we really |
| 1661 | ;; want to pretend that M-x <cmd> RET is nothing more than a "key | 1661 | ;; want to pretend that M-x <cmd> RET is nothing more than a "key |
| @@ -1689,7 +1689,7 @@ invoking, give a prefix argument to `execute-extended-command'." | |||
| 1689 | (symbol-name function) typed)))) | 1689 | (symbol-name function) typed)))) |
| 1690 | (when binding | 1690 | (when binding |
| 1691 | (with-temp-message | 1691 | (with-temp-message |
| 1692 | (format-message "You can run the command ‘%s’ with %s" | 1692 | (format-message "You can run the command `%s' with %s" |
| 1693 | function | 1693 | function |
| 1694 | (if (stringp binding) | 1694 | (if (stringp binding) |
| 1695 | (concat "M-x " binding " RET") | 1695 | (concat "M-x " binding " RET") |
| @@ -2801,7 +2801,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.") | |||
| 2801 | (setq undo-extra-outer-limit (+ size 50000)) | 2801 | (setq undo-extra-outer-limit (+ size 50000)) |
| 2802 | (if (let (use-dialog-box track-mouse executing-kbd-macro ) | 2802 | (if (let (use-dialog-box track-mouse executing-kbd-macro ) |
| 2803 | (yes-or-no-p (format-message | 2803 | (yes-or-no-p (format-message |
| 2804 | "Buffer ‘%s’ undo info is %d bytes long; discard it? " | 2804 | "Buffer `%s' undo info is %d bytes long; discard it? " |
| 2805 | (buffer-name) size))) | 2805 | (buffer-name) size))) |
| 2806 | (progn (setq buffer-undo-list nil) | 2806 | (progn (setq buffer-undo-list nil) |
| 2807 | (setq undo-extra-outer-limit nil) | 2807 | (setq undo-extra-outer-limit nil) |
| @@ -2810,7 +2810,7 @@ This variable only matters if `undo-ask-before-discard' is non-nil.") | |||
| 2810 | (display-warning '(undo discard-info) | 2810 | (display-warning '(undo discard-info) |
| 2811 | (concat | 2811 | (concat |
| 2812 | (format-message | 2812 | (format-message |
| 2813 | "Buffer ‘%s’ undo info was %d bytes long.\n" | 2813 | "Buffer `%s' undo info was %d bytes long.\n" |
| 2814 | (buffer-name) size) | 2814 | (buffer-name) size) |
| 2815 | "The undo info was discarded because it exceeded \ | 2815 | "The undo info was discarded because it exceeded \ |
| 2816 | `undo-outer-limit'. | 2816 | `undo-outer-limit'. |
| @@ -3570,7 +3570,7 @@ Also, delete any process that is exited or signaled." | |||
| 3570 | `(,(buffer-name buf) | 3570 | `(,(buffer-name buf) |
| 3571 | face link | 3571 | face link |
| 3572 | help-echo ,(format-message | 3572 | help-echo ,(format-message |
| 3573 | "Visit buffer ‘%s’" | 3573 | "Visit buffer `%s'" |
| 3574 | (buffer-name buf)) | 3574 | (buffer-name buf)) |
| 3575 | follow-link t | 3575 | follow-link t |
| 3576 | process-buffer ,buf | 3576 | process-buffer ,buf |
| @@ -7348,11 +7348,11 @@ buffer buried." | |||
| 7348 | (push var warn-vars))) | 7348 | (push var warn-vars))) |
| 7349 | (when warn-vars | 7349 | (when warn-vars |
| 7350 | (display-warning 'mail | 7350 | (display-warning 'mail |
| 7351 | (format "\ | 7351 | (format-message "\ |
| 7352 | The default mail mode is now Message mode. | 7352 | The default mail mode is now Message mode. |
| 7353 | You have the following Mail mode variable%s customized: | 7353 | You have the following Mail mode variable%s customized: |
| 7354 | \n %s\n\nTo use Mail mode, set ‘mail-user-agent’ to sendmail-user-agent. | 7354 | \n %s\n\nTo use Mail mode, set `mail-user-agent' to sendmail-user-agent. |
| 7355 | To disable this warning, set ‘compose-mail-user-agent-warnings’ to nil." | 7355 | To disable this warning, set `compose-mail-user-agent-warnings' to nil." |
| 7356 | (if (> (length warn-vars) 1) "s" "") | 7356 | (if (> (length warn-vars) 1) "s" "") |
| 7357 | (mapconcat 'symbol-name | 7357 | (mapconcat 'symbol-name |
| 7358 | warn-vars " ")))))) | 7358 | warn-vars " ")))))) |
| @@ -7423,8 +7423,8 @@ With a prefix argument, set VARIABLE to VALUE buffer-locally." | |||
| 7423 | (t "globally")))) | 7423 | (t "globally")))) |
| 7424 | (val (progn | 7424 | (val (progn |
| 7425 | (when obsolete | 7425 | (when obsolete |
| 7426 | (message (concat "‘%S’ is obsolete; " | 7426 | (message (concat "`%S' is obsolete; " |
| 7427 | (if (symbolp obsolete) "use ‘%S’ instead" "%s")) | 7427 | (if (symbolp obsolete) "use `%S' instead" "%s")) |
| 7428 | var obsolete) | 7428 | var obsolete) |
| 7429 | (sit-for 3)) | 7429 | (sit-for 3)) |
| 7430 | (if prop | 7430 | (if prop |
| @@ -7448,7 +7448,7 @@ With a prefix argument, set VARIABLE to VALUE buffer-locally." | |||
| 7448 | (require 'cus-edit) | 7448 | (require 'cus-edit) |
| 7449 | (setq type (widget-convert type)) | 7449 | (setq type (widget-convert type)) |
| 7450 | (unless (widget-apply type :match value) | 7450 | (unless (widget-apply type :match value) |
| 7451 | (user-error "Value ‘%S’ does not match type %S of %S" | 7451 | (user-error "Value `%S' does not match type %S of %S" |
| 7452 | value (car type) variable)))) | 7452 | value (car type) variable)))) |
| 7453 | 7453 | ||
| 7454 | (if make-local | 7454 | (if make-local |
| @@ -7659,7 +7659,7 @@ back on `completion-list-insert-choice-function' when nil." | |||
| 7659 | ;; `base-position'. It's difficult to make any use of `base-size', | 7659 | ;; `base-position'. It's difficult to make any use of `base-size', |
| 7660 | ;; so we just ignore it. | 7660 | ;; so we just ignore it. |
| 7661 | (unless (consp base-position) | 7661 | (unless (consp base-position) |
| 7662 | (message "Obsolete ‘base-size’ passed to choose-completion-string") | 7662 | (message "Obsolete `base-size' passed to choose-completion-string") |
| 7663 | (setq base-position nil)) | 7663 | (setq base-position nil)) |
| 7664 | 7664 | ||
| 7665 | (let* ((buffer (or buffer completion-reference-buffer)) | 7665 | (let* ((buffer (or buffer completion-reference-buffer)) |
| @@ -8384,7 +8384,7 @@ CUSTOMIZATIONS, if non-nil, should be composed of alternating | |||
| 8384 | `(progn | 8384 | `(progn |
| 8385 | 8385 | ||
| 8386 | (defcustom ,varalt-sym nil | 8386 | (defcustom ,varalt-sym nil |
| 8387 | ,(format "Alist of alternative implementations for the ‘%s’ command. | 8387 | ,(format "Alist of alternative implementations for the `%s' command. |
| 8388 | 8388 | ||
| 8389 | Each entry must be a pair (ALTNAME . ALTFUN), where: | 8389 | Each entry must be a pair (ALTNAME . ALTFUN), where: |
| 8390 | ALTNAME - The name shown at user to describe the alternative implementation. | 8390 | ALTNAME - The name shown at user to describe the alternative implementation. |
| @@ -8397,22 +8397,22 @@ ALTFUN - The function called to implement this alternative." | |||
| 8397 | (defvar ,varimp-sym nil "Internal use only.") | 8397 | (defvar ,varimp-sym nil "Internal use only.") |
| 8398 | 8398 | ||
| 8399 | (defun ,command (&optional arg) | 8399 | (defun ,command (&optional arg) |
| 8400 | ,(format "Run generic command ‘%s’. | 8400 | ,(format "Run generic command `%s'. |
| 8401 | If used for the first time, or with interactive ARG, ask the user which | 8401 | If used for the first time, or with interactive ARG, ask the user which |
| 8402 | implementation to use for ‘%s’. The variable ‘%s’ | 8402 | implementation to use for `%s'. The variable `%s' |
| 8403 | contains the list of implementations currently supported for this command." | 8403 | contains the list of implementations currently supported for this command." |
| 8404 | command-name command-name varalt-name) | 8404 | command-name command-name varalt-name) |
| 8405 | (interactive "P") | 8405 | (interactive "P") |
| 8406 | (when (or arg (null ,varimp-sym)) | 8406 | (when (or arg (null ,varimp-sym)) |
| 8407 | (let ((val (completing-read | 8407 | (let ((val (completing-read |
| 8408 | ,(format-message | 8408 | ,(format-message |
| 8409 | "Select implementation for command ‘%s’: " | 8409 | "Select implementation for command `%s': " |
| 8410 | command-name) | 8410 | command-name) |
| 8411 | ,varalt-sym nil t))) | 8411 | ,varalt-sym nil t))) |
| 8412 | (unless (string-equal val "") | 8412 | (unless (string-equal val "") |
| 8413 | (when (null ,varimp-sym) | 8413 | (when (null ,varimp-sym) |
| 8414 | (message | 8414 | (message |
| 8415 | "Use ‘C-u M-x %s RET’ to select another implementation" | 8415 | "Use C-u M-x %s RET`to select another implementation" |
| 8416 | ,command-name) | 8416 | ,command-name) |
| 8417 | (sit-for 3)) | 8417 | (sit-for 3)) |
| 8418 | (customize-save-variable ',varimp-sym | 8418 | (customize-save-variable ',varimp-sym |
| @@ -8420,7 +8420,7 @@ contains the list of implementations currently supported for this command." | |||
| 8420 | (if ,varimp-sym | 8420 | (if ,varimp-sym |
| 8421 | (call-interactively ,varimp-sym) | 8421 | (call-interactively ,varimp-sym) |
| 8422 | (message "%s" ,(format-message | 8422 | (message "%s" ,(format-message |
| 8423 | "No implementation selected for command ‘%s’" | 8423 | "No implementation selected for command `%s'" |
| 8424 | command-name))))))) | 8424 | command-name))))))) |
| 8425 | 8425 | ||
| 8426 | 8426 | ||
diff --git a/lisp/startup.el b/lisp/startup.el index 8778c617bc8..9caf485c1e8 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -360,7 +360,7 @@ this variable usefully is to set it while building and dumping Emacs." | |||
| 360 | :group 'initialization | 360 | :group 'initialization |
| 361 | :initialize #'custom-initialize-default | 361 | :initialize #'custom-initialize-default |
| 362 | :set (lambda (_variable _value) | 362 | :set (lambda (_variable _value) |
| 363 | (error "Customizing ‘site-run-file’ does not work"))) | 363 | (error "Customizing `site-run-file' does not work"))) |
| 364 | 364 | ||
| 365 | (make-obsolete-variable 'system-name "use (system-name) instead" "25.1") | 365 | (make-obsolete-variable 'system-name "use (system-name) instead" "25.1") |
| 366 | 366 | ||
| @@ -752,7 +752,7 @@ to prepare for opening the first frame (e.g. open a connection to an X server)." | |||
| 752 | (let ((elt (assoc completion tty-long-option-alist))) | 752 | (let ((elt (assoc completion tty-long-option-alist))) |
| 753 | ;; Check for abbreviated long option. | 753 | ;; Check for abbreviated long option. |
| 754 | (or elt | 754 | (or elt |
| 755 | (error "Option ‘%s’ is ambiguous" argi)) | 755 | (error "Option `%s' is ambiguous" argi)) |
| 756 | (setq argi (cdr elt))) | 756 | (setq argi (cdr elt))) |
| 757 | ;; Check for a short option. | 757 | ;; Check for a short option. |
| 758 | (setq argval nil | 758 | (setq argval nil |
| @@ -916,7 +916,7 @@ please check its value") | |||
| 916 | ((stringp completion) | 916 | ((stringp completion) |
| 917 | (let ((elt (assoc completion longopts))) | 917 | (let ((elt (assoc completion longopts))) |
| 918 | (unless elt | 918 | (unless elt |
| 919 | (error "Option ‘%s’ is ambiguous" argi)) | 919 | (error "Option `%s' is ambiguous" argi)) |
| 920 | (setq argi (substring (car elt) 1)))) | 920 | (setq argi (substring (car elt) 1)))) |
| 921 | (t | 921 | (t |
| 922 | (setq argval nil | 922 | (setq argval nil |
| @@ -959,7 +959,7 @@ please check its value") | |||
| 959 | (setq done t))) | 959 | (setq done t))) |
| 960 | ;; Was argval set but not used? | 960 | ;; Was argval set but not used? |
| 961 | (and argval | 961 | (and argval |
| 962 | (error "Option ‘%s’ doesn't allow an argument" argi)))) | 962 | (error "Option `%s' doesn't allow an argument" argi)))) |
| 963 | 963 | ||
| 964 | ;; Re-attach the --display arg. | 964 | ;; Re-attach the --display arg. |
| 965 | (and display-arg (setq args (append display-arg args))) | 965 | (and display-arg (setq args (append display-arg args))) |
| @@ -978,7 +978,7 @@ please check its value") | |||
| 978 | (not (featurep | 978 | (not (featurep |
| 979 | (intern | 979 | (intern |
| 980 | (concat (symbol-name initial-window-system) "-win"))))) | 980 | (concat (symbol-name initial-window-system) "-win"))))) |
| 981 | (error "Unsupported window system ‘%s’" initial-window-system)) | 981 | (error "Unsupported window system `%s'" initial-window-system)) |
| 982 | ;; Process window-system specific command line parameters. | 982 | ;; Process window-system specific command line parameters. |
| 983 | (setq command-line-args | 983 | (setq command-line-args |
| 984 | (let ((window-system initial-window-system)) ;Hack attack! | 984 | (let ((window-system initial-window-system)) ;Hack attack! |
| @@ -1189,10 +1189,10 @@ please check its value") | |||
| 1189 | (display-warning | 1189 | (display-warning |
| 1190 | 'initialization | 1190 | 'initialization |
| 1191 | (format-message "\ | 1191 | (format-message "\ |
| 1192 | An error occurred while loading ‘%s’:\n\n%s%s%s\n\n\ | 1192 | An error occurred while loading `%s':\n\n%s%s%s\n\n\ |
| 1193 | To ensure normal operation, you should investigate and remove the | 1193 | To ensure normal operation, you should investigate and remove the |
| 1194 | cause of the error in your initialization file. Start Emacs with | 1194 | cause of the error in your initialization file. Start Emacs with |
| 1195 | the ‘--debug-init’ option to view a complete error backtrace." | 1195 | the `--debug-init' option to view a complete error backtrace." |
| 1196 | user-init-file | 1196 | user-init-file |
| 1197 | (get (car error) 'error-message) | 1197 | (get (car error) 'error-message) |
| 1198 | (if (cdr error) ": " "") | 1198 | (if (cdr error) ": " "") |
| @@ -1330,8 +1330,8 @@ the ‘--debug-init’ option to view a complete error backtrace." | |||
| 1330 | (setq warned t) | 1330 | (setq warned t) |
| 1331 | (display-warning 'initialization | 1331 | (display-warning 'initialization |
| 1332 | (format-message "\ | 1332 | (format-message "\ |
| 1333 | Your ‘load-path’ seems to contain\n\ | 1333 | Your `load-path' seems to contain\n\ |
| 1334 | your ‘.emacs.d’ directory: %s\n\ | 1334 | your `.emacs.d' directory: %s\n\ |
| 1335 | This is likely to cause problems...\n\ | 1335 | This is likely to cause problems...\n\ |
| 1336 | Consider using a subdirectory instead, e.g.: %s" | 1336 | Consider using a subdirectory instead, e.g.: %s" |
| 1337 | dir (expand-file-name | 1337 | dir (expand-file-name |
| @@ -2280,7 +2280,7 @@ nil default-directory" name) | |||
| 2280 | (if (stringp completion) | 2280 | (if (stringp completion) |
| 2281 | (let ((elt (member completion longopts))) | 2281 | (let ((elt (member completion longopts))) |
| 2282 | (or elt | 2282 | (or elt |
| 2283 | (error "Option ‘%s’ is ambiguous" argi)) | 2283 | (error "Option `%s' is ambiguous" argi)) |
| 2284 | (setq argi (substring (car elt) 1))) | 2284 | (setq argi (substring (car elt) 1))) |
| 2285 | (setq argval nil | 2285 | (setq argval nil |
| 2286 | argi orig-argi))))) | 2286 | argi orig-argi))))) |
| @@ -2350,7 +2350,7 @@ nil default-directory" name) | |||
| 2350 | (setq inhibit-startup-screen t) | 2350 | (setq inhibit-startup-screen t) |
| 2351 | (setq tem (or argval (pop command-line-args-left))) | 2351 | (setq tem (or argval (pop command-line-args-left))) |
| 2352 | (or (stringp tem) | 2352 | (or (stringp tem) |
| 2353 | (error "File name omitted from ‘-insert’ option")) | 2353 | (error "File name omitted from `-insert' option")) |
| 2354 | (insert-file-contents (command-line-normalize-file-name tem))) | 2354 | (insert-file-contents (command-line-normalize-file-name tem))) |
| 2355 | 2355 | ||
| 2356 | ((equal argi "-kill") | 2356 | ((equal argi "-kill") |
| @@ -2385,7 +2385,7 @@ nil default-directory" name) | |||
| 2385 | ;; An explicit option to specify visiting a file. | 2385 | ;; An explicit option to specify visiting a file. |
| 2386 | (setq tem (or argval (pop command-line-args-left))) | 2386 | (setq tem (or argval (pop command-line-args-left))) |
| 2387 | (unless (stringp tem) | 2387 | (unless (stringp tem) |
| 2388 | (error "File name omitted from ‘%s’ option" argi)) | 2388 | (error "File name omitted from `%s' option" argi)) |
| 2389 | (funcall process-file-arg tem)) | 2389 | (funcall process-file-arg tem)) |
| 2390 | 2390 | ||
| 2391 | ;; These command lines now have no effect. | 2391 | ;; These command lines now have no effect. |
| @@ -2406,7 +2406,7 @@ nil default-directory" name) | |||
| 2406 | (unless did-hook | 2406 | (unless did-hook |
| 2407 | ;; Presume that the argument is a file name. | 2407 | ;; Presume that the argument is a file name. |
| 2408 | (if (string-match "\\`-" argi) | 2408 | (if (string-match "\\`-" argi) |
| 2409 | (error "Unknown option ‘%s’" argi)) | 2409 | (error "Unknown option `%s'" argi)) |
| 2410 | ;; FIXME: Why do we only inhibit the startup | 2410 | ;; FIXME: Why do we only inhibit the startup |
| 2411 | ;; screen for -nw? | 2411 | ;; screen for -nw? |
| 2412 | (unless initial-window-system | 2412 | (unless initial-window-system |
diff --git a/lisp/subr.el b/lisp/subr.el index 61b87065c8a..ce3011d4e46 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -72,7 +72,7 @@ For more information, see Info node `(elisp)Declaring Functions'." | |||
| 72 | If FORM does return, signal an error." | 72 | If FORM does return, signal an error." |
| 73 | (declare (debug t)) | 73 | (declare (debug t)) |
| 74 | `(prog1 ,form | 74 | `(prog1 ,form |
| 75 | (error "Form marked with ‘noreturn’ did return"))) | 75 | (error "Form marked with `noreturn' did return"))) |
| 76 | 76 | ||
| 77 | (defmacro 1value (form) | 77 | (defmacro 1value (form) |
| 78 | "Evaluate FORM, expecting a constant return value. | 78 | "Evaluate FORM, expecting a constant return value. |
| @@ -320,7 +320,7 @@ Defaults to `error'." | |||
| 320 | (mapcar (lambda (parent) | 320 | (mapcar (lambda (parent) |
| 321 | (cons parent | 321 | (cons parent |
| 322 | (or (get parent 'error-conditions) | 322 | (or (get parent 'error-conditions) |
| 323 | (error "Unknown signal ‘%s’" parent)))) | 323 | (error "Unknown signal `%s'" parent)))) |
| 324 | parent)) | 324 | parent)) |
| 325 | (cons parent (get parent 'error-conditions))))) | 325 | (cons parent (get parent 'error-conditions))))) |
| 326 | (put name 'error-conditions | 326 | (put name 'error-conditions |
| @@ -1607,7 +1607,7 @@ can do the job." | |||
| 1607 | (let* ((sym (cadr list-var)) | 1607 | (let* ((sym (cadr list-var)) |
| 1608 | (append (eval append)) | 1608 | (append (eval append)) |
| 1609 | (msg (format-message | 1609 | (msg (format-message |
| 1610 | "‘add-to-list’ can't use lexical var ‘%s’; use ‘push’ or ‘cl-pushnew’" | 1610 | "`add-to-list' can't use lexical var `%s'; use `push' or `cl-pushnew'" |
| 1611 | sym)) | 1611 | sym)) |
| 1612 | ;; Big ugly hack so we only output a warning during | 1612 | ;; Big ugly hack so we only output a warning during |
| 1613 | ;; byte-compilation, and so we can use | 1613 | ;; byte-compilation, and so we can use |
| @@ -2208,7 +2208,7 @@ Any input that is not one of CHARS is ignored. | |||
| 2208 | If optional argument INHIBIT-KEYBOARD-QUIT is non-nil, ignore | 2208 | If optional argument INHIBIT-KEYBOARD-QUIT is non-nil, ignore |
| 2209 | keyboard-quit events while waiting for a valid input." | 2209 | keyboard-quit events while waiting for a valid input." |
| 2210 | (unless (consp chars) | 2210 | (unless (consp chars) |
| 2211 | (error "Called ‘read-char-choice’ without valid char choices")) | 2211 | (error "Called `read-char-choice' without valid char choices")) |
| 2212 | (let (char done show-help (helpbuf " *Char Help*")) | 2212 | (let (char done show-help (helpbuf " *Char Help*")) |
| 2213 | (let ((cursor-in-echo-area t) | 2213 | (let ((cursor-in-echo-area t) |
| 2214 | (executing-kbd-macro executing-kbd-macro) | 2214 | (executing-kbd-macro executing-kbd-macro) |
| @@ -4773,7 +4773,7 @@ Examples of version conversion: | |||
| 4773 | 4773 | ||
| 4774 | See documentation for `version-separator' and `version-regexp-alist'." | 4774 | See documentation for `version-separator' and `version-regexp-alist'." |
| 4775 | (or (and (stringp ver) (> (length ver) 0)) | 4775 | (or (and (stringp ver) (> (length ver) 0)) |
| 4776 | (error "Invalid version string: ‘%s’" ver)) | 4776 | (error "Invalid version string: `%s'" ver)) |
| 4777 | ;; Change .x.y to 0.x.y | 4777 | ;; Change .x.y to 0.x.y |
| 4778 | (if (and (>= (length ver) (length version-separator)) | 4778 | (if (and (>= (length ver) (length version-separator)) |
| 4779 | (string-equal (substring ver 0 (length version-separator)) | 4779 | (string-equal (substring ver 0 (length version-separator)) |
| @@ -4805,9 +4805,9 @@ See documentation for `version-separator' and `version-regexp-alist'." | |||
| 4805 | ((string-match "^[-_+ ]?\\([a-zA-Z]\\)$" s) | 4805 | ((string-match "^[-_+ ]?\\([a-zA-Z]\\)$" s) |
| 4806 | (push (- (aref (downcase (match-string 1 s)) 0) ?a -1) | 4806 | (push (- (aref (downcase (match-string 1 s)) 0) ?a -1) |
| 4807 | lst)) | 4807 | lst)) |
| 4808 | (t (error "Invalid version syntax: ‘%s’" ver)))))) | 4808 | (t (error "Invalid version syntax: `%s'" ver)))))) |
| 4809 | (if (null lst) | 4809 | (if (null lst) |
| 4810 | (error "Invalid version syntax: ‘%s’" ver) | 4810 | (error "Invalid version syntax: `%s'" ver) |
| 4811 | (nreverse lst))))) | 4811 | (nreverse lst))))) |
| 4812 | 4812 | ||
| 4813 | 4813 | ||
diff --git a/lisp/term/common-win.el b/lisp/term/common-win.el index ccac1421004..98ad5acf268 100644 --- a/lisp/term/common-win.el +++ b/lisp/term/common-win.el | |||
| @@ -112,7 +112,7 @@ | |||
| 112 | ;; Handle the -xrm option. | 112 | ;; Handle the -xrm option. |
| 113 | (defun x-handle-xrm-switch (switch) | 113 | (defun x-handle-xrm-switch (switch) |
| 114 | (unless (consp x-invocation-args) | 114 | (unless (consp x-invocation-args) |
| 115 | (error "%s: missing argument to ‘%s’ option" (invocation-name) switch)) | 115 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) |
| 116 | (setq x-command-line-resources | 116 | (setq x-command-line-resources |
| 117 | (if (null x-command-line-resources) | 117 | (if (null x-command-line-resources) |
| 118 | (pop x-invocation-args) | 118 | (pop x-invocation-args) |
| @@ -152,7 +152,7 @@ | |||
| 152 | ;; the initial frame, too. | 152 | ;; the initial frame, too. |
| 153 | (defun x-handle-name-switch (switch) | 153 | (defun x-handle-name-switch (switch) |
| 154 | (or (consp x-invocation-args) | 154 | (or (consp x-invocation-args) |
| 155 | (error "%s: missing argument to ‘%s’ option" (invocation-name) switch)) | 155 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) |
| 156 | (setq x-resource-name (pop x-invocation-args) | 156 | (setq x-resource-name (pop x-invocation-args) |
| 157 | initial-frame-alist (cons (cons 'name x-resource-name) | 157 | initial-frame-alist (cons (cons 'name x-resource-name) |
| 158 | initial-frame-alist))) | 158 | initial-frame-alist))) |
| @@ -207,7 +207,7 @@ have been processed." | |||
| 207 | (let ((elt (assoc completion option-alist))) | 207 | (let ((elt (assoc completion option-alist))) |
| 208 | ;; Check for abbreviated long option. | 208 | ;; Check for abbreviated long option. |
| 209 | (or elt | 209 | (or elt |
| 210 | (error "Option ‘%s’ is ambiguous" this-switch)) | 210 | (error "Option `%s' is ambiguous" this-switch)) |
| 211 | (setq this-switch completion)))))) | 211 | (setq this-switch completion)))))) |
| 212 | (setq aelt (assoc this-switch option-alist)) | 212 | (setq aelt (assoc this-switch option-alist)) |
| 213 | (if aelt (setq handler (nth 2 aelt))) | 213 | (if aelt (setq handler (nth 2 aelt))) |
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index c32566181e5..ebd76a679a3 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -93,7 +93,7 @@ | |||
| 93 | ;; Handle the --parent-id option. | 93 | ;; Handle the --parent-id option. |
| 94 | (defun x-handle-parent-id (switch) | 94 | (defun x-handle-parent-id (switch) |
| 95 | (or (consp x-invocation-args) | 95 | (or (consp x-invocation-args) |
| 96 | (error "%s: missing argument to ‘%s’ option" (invocation-name) switch)) | 96 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) |
| 97 | (setq initial-frame-alist (cons | 97 | (setq initial-frame-alist (cons |
| 98 | (cons 'parent-id | 98 | (cons 'parent-id |
| 99 | (string-to-number (car x-invocation-args))) | 99 | (string-to-number (car x-invocation-args))) |
| @@ -104,7 +104,7 @@ | |||
| 104 | ;; to give us back our session id we had on the previous run. | 104 | ;; to give us back our session id we had on the previous run. |
| 105 | (defun x-handle-smid (switch) | 105 | (defun x-handle-smid (switch) |
| 106 | (or (consp x-invocation-args) | 106 | (or (consp x-invocation-args) |
| 107 | (error "%s: missing argument to ‘%s’ option" (invocation-name) switch)) | 107 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) |
| 108 | (setq x-session-previous-id (car x-invocation-args) | 108 | (setq x-session-previous-id (car x-invocation-args) |
| 109 | x-invocation-args (cdr x-invocation-args))) | 109 | x-invocation-args (cdr x-invocation-args))) |
| 110 | 110 | ||
diff --git a/lisp/textmodes/reftex-ref.el b/lisp/textmodes/reftex-ref.el index 07147230094..df78447defb 100644 --- a/lisp/textmodes/reftex-ref.el +++ b/lisp/textmodes/reftex-ref.el | |||
| @@ -228,7 +228,7 @@ This function is controlled by the settings of reftex-insert-label-flags." | |||
| 228 | (symbol-value reftex-docstruct-symbol))) | 228 | (symbol-value reftex-docstruct-symbol))) |
| 229 | (ding) | 229 | (ding) |
| 230 | (if (y-or-n-p | 230 | (if (y-or-n-p |
| 231 | (format-message "Label ‘%s’ exists. Use anyway? " label)) | 231 | ` (format-message "Label `%s' exists. Use anyway? " label)) |
| 232 | (setq valid t))) | 232 | (setq valid t))) |
| 233 | 233 | ||
| 234 | ;; Label is ok | 234 | ;; Label is ok |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index b9d4b7c0f2a..bdae6e54ef3 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -876,7 +876,7 @@ label prefix determines the wording of a reference." | |||
| 876 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) | 876 | (setq newlabel (read-string (format "Rename label \"%s\" to:" label))) |
| 877 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) | 877 | (if (assoc newlabel (symbol-value reftex-docstruct-symbol)) |
| 878 | (if (not (y-or-n-p | 878 | (if (not (y-or-n-p |
| 879 | (format-message "Label ‘%s’ exists. Use anyway? " label))) | 879 | (format-message "Label `%s' exists. Use anyway? " label))) |
| 880 | (error "Abort"))) | 880 | (error "Abort"))) |
| 881 | (save-excursion | 881 | (save-excursion |
| 882 | (save-window-excursion | 882 | (save-window-excursion |
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el index 9c50eca6419..151d64808af 100644 --- a/lisp/textmodes/table.el +++ b/lisp/textmodes/table.el | |||
| @@ -2806,8 +2806,8 @@ ORIENTATION is a symbol either horizontally or vertically." | |||
| 2806 | ;;;###autoload | 2806 | ;;;###autoload |
| 2807 | (defun table-justify (what justify) | 2807 | (defun table-justify (what justify) |
| 2808 | "Justify contents of a cell, a row of cells or a column of cells. | 2808 | "Justify contents of a cell, a row of cells or a column of cells. |
| 2809 | WHAT is a symbol ‘cell’, ‘row’ or ‘column’. JUSTIFY is a symbol | 2809 | WHAT is a symbol `cell', `row' or `column'. JUSTIFY is a symbol |
| 2810 | ‘left’, ‘center’, ‘right’, ‘top’, ‘middle’, ‘bottom’ or ‘none’." | 2810 | `left', `center', `right', `top', `middle', `bottom' or `none'." |
| 2811 | (interactive | 2811 | (interactive |
| 2812 | (list (let* ((_ (barf-if-buffer-read-only)) | 2812 | (list (let* ((_ (barf-if-buffer-read-only)) |
| 2813 | (completion-ignore-case t) | 2813 | (completion-ignore-case t) |
| @@ -2822,8 +2822,8 @@ WHAT is a symbol ‘cell’, ‘row’ or ‘column’. JUSTIFY is a symbol | |||
| 2822 | ;;;###autoload | 2822 | ;;;###autoload |
| 2823 | (defun table-justify-cell (justify &optional paragraph) | 2823 | (defun table-justify-cell (justify &optional paragraph) |
| 2824 | "Justify cell contents. | 2824 | "Justify cell contents. |
| 2825 | JUSTIFY is a symbol ‘left’, ‘center’ or ‘right’ for horizontal, or ‘top’, | 2825 | JUSTIFY is a symbol `left', `center' or `right' for horizontal, or `top', |
| 2826 | ‘middle’, ‘bottom’ or ‘none’ for vertical. When optional PARAGRAPH is | 2826 | `middle', `bottom' or `none' for vertical. When optional PARAGRAPH is |
| 2827 | non-nil the justify operation is limited to the current paragraph, | 2827 | non-nil the justify operation is limited to the current paragraph, |
| 2828 | otherwise the entire cell contents is justified." | 2828 | otherwise the entire cell contents is justified." |
| 2829 | (interactive | 2829 | (interactive |
| @@ -2835,8 +2835,8 @@ otherwise the entire cell contents is justified." | |||
| 2835 | ;;;###autoload | 2835 | ;;;###autoload |
| 2836 | (defun table-justify-row (justify) | 2836 | (defun table-justify-row (justify) |
| 2837 | "Justify cells of a row. | 2837 | "Justify cells of a row. |
| 2838 | JUSTIFY is a symbol ‘left’, ‘center’ or ‘right’ for horizontal, | 2838 | JUSTIFY is a symbol `left', `center' or `right' for horizontal, |
| 2839 | or ‘top’, ‘middle’, ‘bottom’ or ‘none’ for vertical." | 2839 | or `top', `middle', `bottom' or `none' for vertical." |
| 2840 | (interactive | 2840 | (interactive |
| 2841 | (list (table--query-justification))) | 2841 | (list (table--query-justification))) |
| 2842 | (let((cell-list (table--horizontal-cell-list nil nil 'top))) | 2842 | (let((cell-list (table--horizontal-cell-list nil nil 'top))) |
| @@ -2852,8 +2852,8 @@ or ‘top’, ‘middle’, ‘bottom’ or ‘none’ for vertical." | |||
| 2852 | ;;;###autoload | 2852 | ;;;###autoload |
| 2853 | (defun table-justify-column (justify) | 2853 | (defun table-justify-column (justify) |
| 2854 | "Justify cells of a column. | 2854 | "Justify cells of a column. |
| 2855 | JUSTIFY is a symbol ‘left’, ‘center’ or ‘right’ for horizontal, | 2855 | JUSTIFY is a symbol `left', `center' or `right' for horizontal, |
| 2856 | or ‘top’, ‘middle’, ‘bottom’ or ‘none’ for vertical." | 2856 | or `top', `middle', `bottom' or `none' for vertical." |
| 2857 | (interactive | 2857 | (interactive |
| 2858 | (list (table--query-justification))) | 2858 | (list (table--query-justification))) |
| 2859 | (let((cell-list (table--vertical-cell-list nil nil 'left))) | 2859 | (let((cell-list (table--vertical-cell-list nil nil 'left))) |
| @@ -3341,8 +3341,8 @@ INTERVAL is the number of cells to travel between sequence element | |||
| 3341 | insertion which is normally 1. When zero or less is given for | 3341 | insertion which is normally 1. When zero or less is given for |
| 3342 | INTERVAL it is interpreted as number of cells per row so that sequence | 3342 | INTERVAL it is interpreted as number of cells per row so that sequence |
| 3343 | is placed straight down vertically as long as the table's cell | 3343 | is placed straight down vertically as long as the table's cell |
| 3344 | structure is uniform. JUSTIFY is a symbol ‘left’, ‘center’ or | 3344 | structure is uniform. JUSTIFY is a symbol `left', `center' or |
| 3345 | ‘right’ that specifies justification of the inserted string. | 3345 | `right' that specifies justification of the inserted string. |
| 3346 | 3346 | ||
| 3347 | Example: | 3347 | Example: |
| 3348 | 3348 | ||
| @@ -4461,8 +4461,8 @@ looking at the appearance of the CELL contents." | |||
| 4461 | 4461 | ||
| 4462 | (defun table--justify-cell-contents (justify &optional paragraph) | 4462 | (defun table--justify-cell-contents (justify &optional paragraph) |
| 4463 | "Justify the current cell contents. | 4463 | "Justify the current cell contents. |
| 4464 | JUSTIFY is a symbol ‘left’, ‘center’ or ‘right’ for horizontal, or ‘top’, | 4464 | JUSTIFY is a symbol `left', `center' or `right' for horizontal, or `top', |
| 4465 | ‘middle’, ‘bottom’ or ‘none’ for vertical. When PARAGRAPH is non-nil the | 4465 | `middle', `bottom' or `none' for vertical. When PARAGRAPH is non-nil the |
| 4466 | justify operation is limited to the current paragraph." | 4466 | justify operation is limited to the current paragraph." |
| 4467 | (table-with-cache-buffer | 4467 | (table-with-cache-buffer |
| 4468 | (let ((beg (point-min)) | 4468 | (let ((beg (point-min)) |
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index 5e318b5569e..4133e0fa126 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el | |||
| @@ -373,7 +373,7 @@ First column's text sSs Second column's text | |||
| 373 | \(See \\[describe-mode] .)" | 373 | \(See \\[describe-mode] .)" |
| 374 | (interactive "*p") | 374 | (interactive "*p") |
| 375 | (and (2C-other) | 375 | (and (2C-other) |
| 376 | (if (y-or-n-p (format-message "Overwrite associated buffer ‘%s’? " | 376 | (if (y-or-n-p (format-message "Overwrite associated buffer `%s'? " |
| 377 | (buffer-name (2C-other)))) | 377 | (buffer-name (2C-other)))) |
| 378 | (with-current-buffer (2C-other) | 378 | (with-current-buffer (2C-other) |
| 379 | (erase-buffer)) | 379 | (erase-buffer)) |
diff --git a/lisp/tutorial.el b/lisp/tutorial.el index e9095b3b41b..f8660f55f65 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el | |||
| @@ -136,18 +136,18 @@ options: | |||
| 136 | (setq mapsym s))))) | 136 | (setq mapsym s))))) |
| 137 | (insert | 137 | (insert |
| 138 | (format | 138 | (format |
| 139 | "The default Emacs binding for the key %s is the command ‘%s’. " | 139 | "The default Emacs binding for the key %s is the command `%s'. " |
| 140 | (key-description key) | 140 | (key-description key) |
| 141 | db)) | 141 | db)) |
| 142 | (insert "However, your customizations have " | 142 | (insert "However, your customizations have " |
| 143 | (if cb | 143 | (if cb |
| 144 | (format-message "rebound it to the command ‘%s’" cb) | 144 | (format-message "rebound it to the command `%s'" cb) |
| 145 | "unbound it")) | 145 | "unbound it")) |
| 146 | (insert ".") | 146 | (insert ".") |
| 147 | (when mapsym | 147 | (when mapsym |
| 148 | (insert " (For the more advanced user:" | 148 | (insert " (For the more advanced user:" |
| 149 | (format-message | 149 | (format-message |
| 150 | " This binding is in the keymap ‘%s’.)" mapsym))) | 150 | " This binding is in the keymap `%s'.)" mapsym))) |
| 151 | (if (string= where "") | 151 | (if (string= where "") |
| 152 | (unless (keymapp db) | 152 | (unless (keymapp db) |
| 153 | (insert "\n\nYou can use M-x " | 153 | (insert "\n\nYou can use M-x " |
| @@ -159,7 +159,7 @@ options: | |||
| 159 | "" | 159 | "" |
| 160 | "the key") | 160 | "the key") |
| 161 | where | 161 | where |
| 162 | (format-message " to get the function ‘%s’." db)))) | 162 | (format-message " to get the function `%s'." db)))) |
| 163 | (fill-region (point-min) (point))))) | 163 | (fill-region (point-min) (point))))) |
| 164 | (help-print-return-message)))) | 164 | (help-print-return-message)))) |
| 165 | 165 | ||
| @@ -451,7 +451,7 @@ where | |||
| 451 | (lookup-key global-map | 451 | (lookup-key global-map |
| 452 | [menu-bar])))) | 452 | [menu-bar])))) |
| 453 | (stringp cwhere)) | 453 | (stringp cwhere)) |
| 454 | (format-message "the ‘%s’ menu" cwhere) | 454 | (format-message "the `%s' menu" cwhere) |
| 455 | "the menus")))) | 455 | "the menus")))) |
| 456 | (setq where "")) | 456 | (setq where "")) |
| 457 | (setq remark nil) | 457 | (setq remark nil) |
diff --git a/lisp/type-break.el b/lisp/type-break.el index c7043b5c0e4..85037364016 100644 --- a/lisp/type-break.el +++ b/lisp/type-break.el | |||
| @@ -803,7 +803,7 @@ this or ask the user to start one right now." | |||
| 803 | (type-break-mode-line-message-mode) | 803 | (type-break-mode-line-message-mode) |
| 804 | (t | 804 | (t |
| 805 | (beep t) | 805 | (beep t) |
| 806 | (message "%sYou should take a typing break now. Do ‘%s’." | 806 | (message "%sYou should take a typing break now. Do `%s'." |
| 807 | (type-break-time-stamp) | 807 | (type-break-time-stamp) |
| 808 | (substitute-command-keys "\\[type-break]")) | 808 | (substitute-command-keys "\\[type-break]")) |
| 809 | (sit-for 1) | 809 | (sit-for 1) |
diff --git a/lisp/wdired.el b/lisp/wdired.el index 0c113b346be..a9e1e2acc2a 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el | |||
| @@ -494,7 +494,7 @@ non-nil means return old filename." | |||
| 494 | overwrite)) | 494 | overwrite)) |
| 495 | (error | 495 | (error |
| 496 | (setq errors (1+ errors)) | 496 | (setq errors (1+ errors)) |
| 497 | (dired-log "Rename ‘%s’ to ‘%s’ failed:\n%s\n" | 497 | (dired-log "Rename `%s' to `%s' failed:\n%s\n" |
| 498 | file-ori file-new | 498 | file-ori file-new |
| 499 | err))))))))) | 499 | err))))))))) |
| 500 | errors)) | 500 | errors)) |
| @@ -651,7 +651,7 @@ If OLD, return the old target. If MOVE, move point before it." | |||
| 651 | (substitute-in-file-name link-to-new) link-from)) | 651 | (substitute-in-file-name link-to-new) link-from)) |
| 652 | (error | 652 | (error |
| 653 | (setq errors (1+ errors)) | 653 | (setq errors (1+ errors)) |
| 654 | (dired-log "Link ‘%s’ to ‘%s’ failed:\n%s\n" | 654 | (dired-log "Link `%s' to `%s' failed:\n%s\n" |
| 655 | link-from link-to-new | 655 | link-from link-to-new |
| 656 | err))))) | 656 | err))))) |
| 657 | (cons changes errors))) | 657 | (cons changes errors))) |
| @@ -837,10 +837,10 @@ Like original function but it skips read-only words." | |||
| 837 | (unless (equal 0 (process-file dired-chmod-program | 837 | (unless (equal 0 (process-file dired-chmod-program |
| 838 | nil nil nil perm-tmp filename)) | 838 | nil nil nil perm-tmp filename)) |
| 839 | (setq errors (1+ errors)) | 839 | (setq errors (1+ errors)) |
| 840 | (dired-log "%s %s ‘%s’ failed\n\n" | 840 | (dired-log "%s %s `%s' failed\n\n" |
| 841 | dired-chmod-program perm-tmp filename))) | 841 | dired-chmod-program perm-tmp filename))) |
| 842 | (setq errors (1+ errors)) | 842 | (setq errors (1+ errors)) |
| 843 | (dired-log "Cannot parse permission ‘%s’ for file ‘%s’\n\n" | 843 | (dired-log "Cannot parse permission `%s' for file `%s'\n\n" |
| 844 | perms-new filename))) | 844 | perms-new filename))) |
| 845 | (goto-char (next-single-property-change (1+ (point)) prop-wanted | 845 | (goto-char (next-single-property-change (1+ (point)) prop-wanted |
| 846 | nil (point-max)))) | 846 | nil (point-max)))) |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 319149638d6..0c208502c34 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -1867,10 +1867,10 @@ cleaning up these problems." | |||
| 1867 | (when has-bogus | 1867 | (when has-bogus |
| 1868 | (goto-char (point-max)) | 1868 | (goto-char (point-max)) |
| 1869 | (insert (substitute-command-keys | 1869 | (insert (substitute-command-keys |
| 1870 | " Type ‘\\[whitespace-cleanup]’") | 1870 | " Type `\\[whitespace-cleanup]'") |
| 1871 | " to cleanup the buffer.\n\n" | 1871 | " to cleanup the buffer.\n\n" |
| 1872 | (substitute-command-keys | 1872 | (substitute-command-keys |
| 1873 | " Type ‘\\[whitespace-cleanup-region]’") | 1873 | " Type `\\[whitespace-cleanup-region]'") |
| 1874 | " to cleanup a region.\n\n")) | 1874 | " to cleanup a region.\n\n")) |
| 1875 | (whitespace-display-window (current-buffer))))) | 1875 | (whitespace-display-window (current-buffer))))) |
| 1876 | has-bogus)))) | 1876 | has-bogus)))) |
| @@ -1931,13 +1931,13 @@ cleaning up these problems." | |||
| 1931 | 1931 | ||
| 1932 | 1932 | ||
| 1933 | (defun whitespace-mark-x (nchars condition) | 1933 | (defun whitespace-mark-x (nchars condition) |
| 1934 | "Insert the mark (‘X’ or ‘ ’) after NCHARS depending on CONDITION." | 1934 | "Insert the mark (`X' or ` ') after NCHARS depending on CONDITION." |
| 1935 | (forward-char nchars) | 1935 | (forward-char nchars) |
| 1936 | (insert (if condition "X" " "))) | 1936 | (insert (if condition "X" " "))) |
| 1937 | 1937 | ||
| 1938 | 1938 | ||
| 1939 | (defun whitespace-insert-option-mark (the-list the-value) | 1939 | (defun whitespace-insert-option-mark (the-list the-value) |
| 1940 | "Insert the option mark (‘X’ or ‘ ’) in toggle options buffer." | 1940 | "Insert the option mark (`X' or ` ') in toggle options buffer." |
| 1941 | (goto-char (point-min)) | 1941 | (goto-char (point-min)) |
| 1942 | (forward-line 2) | 1942 | (forward-line 2) |
| 1943 | (dolist (sym the-list) | 1943 | (dolist (sym the-list) |
| @@ -724,7 +724,7 @@ as the keymap for future \\=\\[COMMAND] substrings. | |||
| 724 | 724 | ||
| 725 | Each \\=‘ and \\=` is replaced by left quote, and each \\=’ and \\=' | 725 | Each \\=‘ and \\=` is replaced by left quote, and each \\=’ and \\=' |
| 726 | is replaced by right quote. Left and right quote characters are | 726 | is replaced by right quote. Left and right quote characters are |
| 727 | specified by ‘text-quoting-style’. | 727 | specified by `text-quoting-style'. |
| 728 | 728 | ||
| 729 | \\=\\= quotes the following character and is discarded; thus, | 729 | \\=\\= quotes the following character and is discarded; thus, |
| 730 | \\=\\=\\=\\= puts \\=\\= into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, and | 730 | \\=\\=\\=\\= puts \\=\\= into the output, \\=\\=\\=\\[ puts \\=\\[ into the output, and |
| @@ -1024,15 +1024,15 @@ syms_of_doc (void) | |||
| 1024 | 1024 | ||
| 1025 | DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, | 1025 | DEFVAR_LISP ("text-quoting-style", Vtext_quoting_style, |
| 1026 | doc: /* Style to use for single quotes when generating text. | 1026 | doc: /* Style to use for single quotes when generating text. |
| 1027 | ‘curve’ means quote with curved single quotes \\=‘like this\\=’. | 1027 | `curve' means quote with curved single quotes \\=‘like this\\=’. |
| 1028 | ‘straight’ means quote with straight apostrophes \\='like this\\='. | 1028 | `straight' means quote with straight apostrophes \\='like this\\='. |
| 1029 | ‘grave’ means quote with grave accent and apostrophe \\=`like this\\='. | 1029 | `grave' means quote with grave accent and apostrophe \\=`like this\\='. |
| 1030 | The default value nil acts like ‘curve’ if curved single quotes are | 1030 | The default value nil acts like `curve' if curved single quotes are |
| 1031 | displayable, and like ‘grave’ otherwise. */); | 1031 | displayable, and like `grave' otherwise. */); |
| 1032 | Vtext_quoting_style = Qnil; | 1032 | Vtext_quoting_style = Qnil; |
| 1033 | 1033 | ||
| 1034 | DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag, | 1034 | DEFVAR_BOOL ("internal--text-quoting-flag", text_quoting_flag, |
| 1035 | doc: /* If nil, a nil ‘text-quoting-style’ is treated as ‘grave’. */); | 1035 | doc: /* If nil, a nil `text-quoting-style' is treated as `grave'. */); |
| 1036 | /* Initialized by ‘main’. */ | 1036 | /* Initialized by ‘main’. */ |
| 1037 | 1037 | ||
| 1038 | defsubr (&Sdocumentation); | 1038 | defsubr (&Sdocumentation); |
diff --git a/src/editfns.c b/src/editfns.c index e7d5dd89e51..831edb4c171 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3837,11 +3837,11 @@ DEFUN ("format-message", Fformat_message, Sformat_message, 1, MANY, 0, | |||
| 3837 | The first argument is a format control string. | 3837 | The first argument is a format control string. |
| 3838 | The other arguments are substituted into it to make the result, a string. | 3838 | The other arguments are substituted into it to make the result, a string. |
| 3839 | 3839 | ||
| 3840 | This acts like ‘format’, except it also replaces each left single | 3840 | This acts like `format', except it also replaces each left single |
| 3841 | quotation mark (\\=‘) and grave accent (\\=`) by a left quote, and each | 3841 | quotation mark (\\=‘) and grave accent (\\=`) by a left quote, and each |
| 3842 | right single quotation mark (\\=’) and apostrophe (\\=') by a right quote. | 3842 | right single quotation mark (\\=’) and apostrophe (\\=') by a right quote. |
| 3843 | The left and right quote replacement characters are specified by | 3843 | The left and right quote replacement characters are specified by |
| 3844 | ‘text-quoting-style’. | 3844 | `text-quoting-style'. |
| 3845 | 3845 | ||
| 3846 | usage: (format-message STRING &rest OBJECTS) */) | 3846 | usage: (format-message STRING &rest OBJECTS) */) |
| 3847 | (ptrdiff_t nargs, Lisp_Object *args) | 3847 | (ptrdiff_t nargs, Lisp_Object *args) |
diff --git a/src/keyboard.c b/src/keyboard.c index 7d6a2b00860..ccd340557dd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -703,11 +703,11 @@ force_auto_save_soon (void) | |||
| 703 | 703 | ||
| 704 | DEFUN ("recursive-edit", Frecursive_edit, Srecursive_edit, 0, 0, "", | 704 | DEFUN ("recursive-edit", Frecursive_edit, Srecursive_edit, 0, 0, "", |
| 705 | doc: /* Invoke the editor command loop recursively. | 705 | doc: /* Invoke the editor command loop recursively. |
| 706 | To get out of the recursive edit, a command can throw to ‘exit’ -- for | 706 | To get out of the recursive edit, a command can throw to `exit' -- for |
| 707 | instance ‘(throw \\='exit nil)’. | 707 | instance (throw \\='exit nil). |
| 708 | If you throw a value other than t, ‘recursive-edit’ returns normally | 708 | If you throw a value other than t, `recursive-edit' returns normally |
| 709 | to the function that called it. Throwing a t value causes | 709 | to the function that called it. Throwing a t value causes |
| 710 | ‘recursive-edit’ to quit, so that control returns to the command loop | 710 | `recursive-edit' to quit, so that control returns to the command loop |
| 711 | one level up. | 711 | one level up. |
| 712 | 712 | ||
| 713 | This function is called by the editor initialization to begin editing. */) | 713 | This function is called by the editor initialization to begin editing. */) |
diff --git a/test/automated/textprop-tests.el b/test/automated/textprop-tests.el index f6604fb8ff5..0baa911421b 100644 --- a/test/automated/textprop-tests.el +++ b/test/automated/textprop-tests.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | (require 'ert) | 25 | (require 'ert) |
| 26 | 26 | ||
| 27 | (ert-deftest textprop-tests-format () | 27 | (ert-deftest textprop-tests-format () |
| 28 | "Test ‘format’ with text properties." | 28 | "Test `format' with text properties." |
| 29 | ;; See Bug#21351. | 29 | ;; See Bug#21351. |
| 30 | (should (equal-including-properties | 30 | (should (equal-including-properties |
| 31 | (format #("mouse-1, RET: %s -- w: copy %s" | 31 | (format #("mouse-1, RET: %s -- w: copy %s" |