aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/ada-mode.el28
-rw-r--r--lisp/progmodes/ada-prj.el6
-rw-r--r--lisp/progmodes/ada-xref.el2
-rw-r--r--lisp/progmodes/cc-engine.el18
-rw-r--r--lisp/progmodes/cc-langs.el12
-rw-r--r--lisp/progmodes/cc-vars.el2
-rw-r--r--lisp/progmodes/cperl-mode.el2
-rw-r--r--lisp/progmodes/ebrowse.el2
-rw-r--r--lisp/progmodes/elisp-mode.el2
-rw-r--r--lisp/progmodes/etags.el4
-rw-r--r--lisp/progmodes/f90.el2
-rw-r--r--lisp/progmodes/flymake.el6
-rw-r--r--lisp/progmodes/fortran.el8
-rw-r--r--lisp/progmodes/gdb-mi.el18
-rw-r--r--lisp/progmodes/idlw-shell.el22
-rw-r--r--lisp/progmodes/idlwave.el22
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/prolog.el12
-rw-r--r--lisp/progmodes/python.el6
-rw-r--r--lisp/progmodes/sql.el2
-rw-r--r--lisp/progmodes/verilog-mode.el22
-rw-r--r--lisp/progmodes/vhdl-mode.el20
-rw-r--r--lisp/progmodes/xref.el4
23 files changed, 111 insertions, 113 deletions
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
295An example is: 295An 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
402An example is: 402An 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
410An example is: 410An 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
418An example is: 418An 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'.
3007ORGPOINT is the limit position used in the calculation." 3007ORGPOINT 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."
3429Moves point to the matching block start." 3429Moves 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.
3668Which block depends on the value of NEST-LEVEL, which defaults to zero. 3668Which block depends on the value of NEST-LEVEL, which defaults to zero.
3669If NOERROR is non-nil, it only returns nil if no matching start was found. 3669If NOERROR is non-nil, it only returns nil if no matching start was found.
3670If GOTOTHEN is non-nil, point moves to the then following if." 3670If 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'.
4150If BACKWARDP is non-nil, search backward; search forward otherwise." 4150If 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.
4369Moves to begin if in a declarative part." 4369Moves 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
310run your application, specify the name of a 310run your application, specify the name of a
311remote machine here. This capability requires 311remote machine here. This capability requires
312the rsh protocol on the remote machine.") 312the `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
315most convenient to specify the prefix of the 315most convenient to specify the prefix of the
316tool chain here. For instance, on PowerPc 316tool chain here. For instance, on PowerPc
317vxworks, you would enter powerpc-wrs-vxworks-. 317vxworks, you would enter `powerpc-wrs-vxworks-'.
318To use JGNAT, enter j.") 318To 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/cc-engine.el b/lisp/progmodes/cc-engine.el
index f26b8ec6dd1..82f0d722d03 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -634,7 +634,7 @@ move into or out of sexps (not even normal expression parentheses).
634 634
635If point is already at the earliest statement within braces or parens, 635If point is already at the earliest statement within braces or parens,
636this function doesn't move back into any whitespace preceding it; it 636this function doesn't move back into any whitespace preceding it; it
637returns 'same in this case. 637returns `same' in this case.
638 638
639Stop at statement continuation tokens like \"else\", \"catch\", 639Stop at statement continuation tokens like \"else\", \"catch\",
640\"finally\" and the \"while\" in \"do ... while\" if the start point 640\"finally\" and the \"while\" in \"do ... while\" if the start point
@@ -656,19 +656,19 @@ start of the definition in a \"#define\". Also stop at start of
656macros before leaving them. 656macros before leaving them.
657 657
658Return: 658Return:
659'label if stopped at a label or \"case...:\" or \"default:\"; 659`label' if stopped at a label or \"case...:\" or \"default:\";
660'same if stopped at the beginning of the current statement; 660`same' if stopped at the beginning of the current statement;
661'up if stepped to a containing statement; 661`up' if stepped to a containing statement;
662'previous if stepped to a preceding statement; 662`previous' if stepped to a preceding statement;
663'beginning if stepped from a statement continuation clause to 663`beginning' if stepped from a statement continuation clause to
664 its start clause; or 664 its start clause; or
665'macro if stepped to a macro start. 665`macro' if stepped to a macro start.
666Note that 'same and not 'label is returned if stopped at the same 666Note that `same' and not `label' is returned if stopped at the same
667label without crossing the colon character. 667label without crossing the colon character.
668 668
669LIM may be given to limit the search. If the search hits the limit, 669LIM may be given to limit the search. If the search hits the limit,
670point will be left at the closest following token, or at the start 670point will be left at the closest following token, or at the start
671position if that is less ('same is returned in this case). 671position if that is less (`same' is returned in this case).
672 672
673NOERROR turns off error logging to `c-parsing-error'. 673NOERROR turns off error logging to `c-parsing-error'.
674 674
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 0e904d23c5b..a1e26b9fcc4 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -926,14 +926,14 @@ following elements. The car of each element describes the type of the
926operator group, and the cdr is a list of the operator tokens in it. 926operator group, and the cdr is a list of the operator tokens in it.
927The operator group types are: 927The operator group types are:
928 928
929'prefix Unary prefix operators. 929`prefix' Unary prefix operators.
930'postfix Unary postfix operators. 930`postfix' Unary postfix operators.
931'postfix-if-paren 931`postfix-if-paren'
932 Unary postfix operators if and only if the chars have 932 Unary postfix operators if and only if the chars have
933 parenthesis syntax. 933 parenthesis syntax.
934'left-assoc Binary left associative operators (i.e. a+b+c means (a+b)+c). 934`left-assoc' Binary left associative operators (i.e. a+b+c means (a+b)+c).
935'right-assoc Binary right associative operators (i.e. a=b=c means a=(b=c)). 935`right-assoc' Binary right associative operators (i.e. a=b=c means a=(b=c)).
936'right-assoc-sequence 936`right-assoc-sequence'
937 Right associative operator that constitutes of a 937 Right associative operator that constitutes of a
938 sequence of tokens that separate expressions. All the 938 sequence of tokens that separate expressions. All the
939 tokens in the group are in this case taken as 939 tokens in the group are in this case taken as
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index df6e987721b..da36647f2cd 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -833,7 +833,7 @@ string in the mode line), and a semicolon or comma is typed (see
833no arguments, and should return one of the following values: 833no arguments, and should return one of the following values:
834 834
835 nil -- no determination made, continue checking 835 nil -- no determination made, continue checking
836 'stop -- do not insert a newline, and stop checking 836 `stop' -- do not insert a newline, and stop checking
837 (anything else) -- insert a newline, and stop checking 837 (anything else) -- insert a newline, and stop checking
838 838
839If every function in the list is called with no determination made, 839If every function in the list is called with no determination made,
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 322024ea448..b8ba170a246 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -724,7 +724,7 @@ mode-compile.el.
724If your Emacs does not default to `cperl-mode' on Perl files, and you 724If your Emacs does not default to `cperl-mode' on Perl files, and you
725want it to: put the following into your .emacs file: 725want it to: put the following into your .emacs file:
726 726
727 (defalias 'perl-mode 'cperl-mode) 727 (defalias \\='perl-mode \\='cperl-mode)
728 728
729Get perl5-info from 729Get perl5-info from
730 $CPAN/doc/manual/info/perl5-old/perl5-info.tar.gz 730 $CPAN/doc/manual/info/perl5-old/perl5-info.tar.gz
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/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index bcabf3cdf59..1ea9f174775 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1322,7 +1322,7 @@ which see."
1322 0 - contains the last symbol read from the buffer. 1322 0 - contains the last symbol read from the buffer.
1323 1 - contains the string last displayed in the echo area for variables, 1323 1 - contains the string last displayed in the echo area for variables,
1324 or argument string for functions. 1324 or argument string for functions.
1325 2 - 'function if function args, 'variable if variable documentation.") 1325 2 - `function' if function args, `variable' if variable documentation.")
1326 1326
1327(defun elisp-eldoc-documentation-function () 1327(defun elisp-eldoc-documentation-function ()
1328 "`eldoc-documentation-function' (which see) for Emacs Lisp." 1328 "`eldoc-documentation-function' (which see) for Emacs Lisp."
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index d38a7cd7706..0d5fc3a3cd3 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1268,7 +1268,7 @@ buffer-local values of tags table format variables."
1268 ;; \6 is the line to start searching at; 1268 ;; \6 is the line to start searching at;
1269 ;; \7 is the char to start searching at. 1269 ;; \7 is the char to start searching at.
1270 (while (re-search-forward 1270 (while (re-search-forward
1271 "^\\(\\([^\177]+[^-a-zA-Z0-9_+*$:\177]+\\)?\ 1271 "^\\(\\([^\177]*[^-a-zA-Z0-9_+*$:\177]+\\)?\
1272\\([-a-zA-Z0-9_+*$?:]+\\)[^-a-zA-Z0-9_+*$?:\177]*\\)\177\ 1272\\([-a-zA-Z0-9_+*$?:]+\\)[^-a-zA-Z0-9_+*$?:\177]*\\)\177\
1273\\(\\([^\n\001]+\\)\001\\)?\\([0-9]+\\)?,\\([0-9]+\\)?\n" 1273\\(\\([^\n\001]+\\)\001\\)?\\([0-9]+\\)?,\\([0-9]+\\)?\n"
1274 nil t) 1274 nil t)
@@ -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/f90.el b/lisp/progmodes/f90.el
index 43b057ba882..e8a1ae455ee 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1425,7 +1425,7 @@ single - statement is not continued.
1425begin - current line is the first in a continued statement. 1425begin - current line is the first in a continued statement.
1426end - current line is the last in a continued statement 1426end - current line is the last in a continued statement
1427middle - current line is neither first nor last in a continued statement. 1427middle - current line is neither first nor last in a continued statement.
1428Comment lines embedded amongst continued lines return 'middle." 1428Comment lines embedded amongst continued lines return `middle'."
1429 (let (pcont cont) 1429 (let (pcont cont)
1430 (save-excursion 1430 (save-excursion
1431 (setq pcont (if (f90-previous-statement) (f90-line-continued)))) 1431 (setq pcont (if (f90-previous-statement) (f90-line-continued))))
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/fortran.el b/lisp/progmodes/fortran.el
index 83e427da790..ee4733f6e4e 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -817,15 +817,15 @@ Variables controlling indentation style and extra features:
817 Amount of extra indentation for text in full-line comments (default 0). 817 Amount of extra indentation for text in full-line comments (default 0).
818`fortran-comment-indent-style' 818`fortran-comment-indent-style'
819 How to indent the text in full-line comments. Allowed values are: 819 How to indent the text in full-line comments. Allowed values are:
820 nil don't change the indentation 820 nil don't change the indentation
821 fixed indent to `fortran-comment-line-extra-indent' beyond the 821 `fixed' indent to `fortran-comment-line-extra-indent' beyond the
822 value of either 822 value of either
823 `fortran-minimum-statement-indent-fixed' (fixed format) or 823 `fortran-minimum-statement-indent-fixed' (fixed format) or
824 `fortran-minimum-statement-indent-tab' (TAB format), 824 `fortran-minimum-statement-indent-tab' (TAB format),
825 depending on the continuation format in use. 825 depending on the continuation format in use.
826 relative indent to `fortran-comment-line-extra-indent' beyond the 826 `relative' indent to `fortran-comment-line-extra-indent' beyond the
827 indentation for a line of code. 827 indentation for a line of code.
828 (default 'fixed) 828 (default `fixed')
829`fortran-comment-indent-char' 829`fortran-comment-indent-char'
830 Single-character string to be inserted instead of space for 830 Single-character string to be inserted instead of space for
831 full-line comment indentation (default \" \"). 831 full-line comment indentation (default \" \").
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 9942e17397a..1eff62c5acf 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -2065,7 +2065,7 @@ a GDB/MI reply message."
2065(defun gdbmi-bnf-gdb-prompt () 2065(defun gdbmi-bnf-gdb-prompt ()
2066 "Implementation of the following GDB/MI output grammar rule: 2066 "Implementation of the following GDB/MI output grammar rule:
2067 gdb-prompt ==> 2067 gdb-prompt ==>
2068 '(gdb)' nl 2068 `(gdb)' nl
2069 2069
2070 nl ==> 2070 nl ==>
2071 CR | CR-LF" 2071 CR | CR-LF"
@@ -2085,7 +2085,7 @@ a GDB/MI reply message."
2085 "Implementation of the following GDB/MI output grammar rule: 2085 "Implementation of the following GDB/MI output grammar rule:
2086 2086
2087 result-record ==> 2087 result-record ==>
2088 [ token ] '^' result-class ( ',' result )* nl 2088 [ token ] `^' result-class ( `,' result )* nl
2089 2089
2090 token ==> 2090 token ==>
2091 any sequence of digits." 2091 any sequence of digits."
@@ -2110,16 +2110,16 @@ a GDB/MI reply message."
2110 exec-async-output | status-async-output | notify-async-output 2110 exec-async-output | status-async-output | notify-async-output
2111 2111
2112 exec-async-output ==> 2112 exec-async-output ==>
2113 [ token ] '*' async-output 2113 [ token ] `*' async-output
2114 2114
2115 status-async-output ==> 2115 status-async-output ==>
2116 [ token ] '+' async-output 2116 [ token ] `+' async-output
2117 2117
2118 notify-async-output ==> 2118 notify-async-output ==>
2119 [ token ] '=' async-output 2119 [ token ] `=' async-output
2120 2120
2121 async-output ==> 2121 async-output ==>
2122 async-class ( ',' result )* nl" 2122 async-class ( `,' result )* nl"
2123 2123
2124 (gdbmi-bnf-result-and-async-record-impl)) 2124 (gdbmi-bnf-result-and-async-record-impl))
2125 2125
@@ -2130,13 +2130,13 @@ a GDB/MI reply message."
2130 console-stream-output | target-stream-output | log-stream-output 2130 console-stream-output | target-stream-output | log-stream-output
2131 2131
2132 console-stream-output ==> 2132 console-stream-output ==>
2133 '~' c-string 2133 `~' c-string
2134 2134
2135 target-stream-output ==> 2135 target-stream-output ==>
2136 '@' c-string 2136 `@' c-string
2137 2137
2138 log-stream-output ==> 2138 log-stream-output ==>
2139 '&' c-string" 2139 `&' c-string"
2140 (when (< gdbmi-bnf-offset (length gud-marker-acc)) 2140 (when (< gdbmi-bnf-offset (length gud-marker-acc))
2141 (if (and (member (aref gud-marker-acc gdbmi-bnf-offset) '(?~ ?@ ?&)) 2141 (if (and (member (aref gud-marker-acc gdbmi-bnf-offset) '(?~ ?@ ?&))
2142 (string-match (concat "\\([~@&]\\)\\(" gdb--string-regexp "\\)\n") 2142 (string-match (concat "\\([~@&]\\)\\(" gdb--string-regexp "\\)\n")
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index b5e799848de..50ebadf733b 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -152,7 +152,7 @@ This variable can have 3 values:
152nil Arrows just move the cursor 152nil Arrows just move the cursor
153t Arrows force the cursor back to the current command line and 153t Arrows force the cursor back to the current command line and
154 walk the history 154 walk the history
155'cmdline When the cursor is in the current command line, arrows walk the 155`cmdline' When the cursor is in the current command line, arrows walk the
156 history. Everywhere else in the buffer, arrows move the cursor." 156 history. Everywhere else in the buffer, arrows move the cursor."
157 :group 'idlwave-shell-general-setup 157 :group 'idlwave-shell-general-setup
158 :type '(choice 158 :type '(choice
@@ -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.
232Used for file name completion. Must not contain ', , and \" 232Used for file name completion. Must not contain `\\='', `,' and `\"'
233because these are used as separators by IDL." 233because 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)
@@ -439,15 +439,13 @@ Value decides about the method which is used to mark the line. Valid values
439are: 439are:
440 440
441nil Do not mark the line 441nil Do not mark the line
442'arrow Use the overlay arrow 442`arrow' Use the overlay arrow
443'face Use `idlwave-shell-stop-line-face' to highlight the line. 443`face' Use `idlwave-shell-stop-line-face' to highlight the line.
444t Use what IDLWAVE thinks is best. Will be a face where possible, 444t Use what IDLWAVE thinks is best. Will be a face where possible,
445 otherwise the overlay arrow. 445 otherwise the overlay arrow.
446The overlay-arrow has the disadvantage to hide the first chars of a line. 446The overlay-arrow has the disadvantage to hide the first chars of a line.
447Since many people do not have the main block of IDL programs indented, 447Since many people do not have the main block of IDL programs indented,
448a face highlighting may be better. 448a face highlighting may be better."
449In Emacs 21, the overlay arrow is displayed in a special area and never
450hides any code, so setting this to 'arrow on Emacs 21 sounds like a good idea."
451 :group 'idlwave-shell-highlighting-and-faces 449 :group 'idlwave-shell-highlighting-and-faces
452 :type '(choice 450 :type '(choice
453 (const :tag "No marking" nil) 451 (const :tag "No marking" nil)
@@ -494,10 +492,10 @@ where IDL is stopped, when in Electric Debug Mode."
494 "Non-nil means, mark breakpoints in the source files. 492 "Non-nil means, mark breakpoints in the source files.
495Valid values are: 493Valid values are:
496nil Do not mark breakpoints. 494nil Do not mark breakpoints.
497'face Highlight line with `idlwave-shell-breakpoint-face'. 495`face' Highlight line with `idlwave-shell-breakpoint-face'.
498'glyph Red dot at the beginning of line. If the display does not 496`glyph' Red dot at the beginning of line. If the display does not
499 support glyphs, will use 'face instead. 497 support glyphs, will use `face' instead.
500t Glyph when possible, otherwise face (same effect as 'glyph)." 498t Glyph when possible, otherwise face (same effect as `glyph')."
501 :group 'idlwave-shell-highlighting-and-faces 499 :group 'idlwave-shell-highlighting-and-faces
502 :type '(choice 500 :type '(choice
503 (const :tag "No marking" nil) 501 (const :tag "No marking" nil)
@@ -3911,7 +3909,7 @@ Elements of the alist have the form:
3911 3909
3912(defun idlwave-shell-module-source-query (module &optional type) 3910(defun idlwave-shell-module-source-query (module &optional type)
3913 "Determine the source file for a given module. 3911 "Determine the source file for a given module.
3914Query as a function if TYPE set to something beside 'pro." 3912Query as a function if TYPE set to something beside `pro'."
3915 (if module 3913 (if module
3916 (idlwave-shell-send-command 3914 (idlwave-shell-send-command
3917 (format "print,(routine_info('%s',/SOURCE%s)).PATH" module 3915 (format "print,(routine_info('%s',/SOURCE%s)).PATH" module
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index daf919adb2f..b524b761b75 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -376,7 +376,7 @@ The following values are allowed:
376 376
377nil Don't scan any buffers. 377nil Don't scan any buffers.
378t Scan all `idlwave-mode' buffers in the current editing session. 378t Scan all `idlwave-mode' buffers in the current editing session.
379current Scan only the current buffer, but no other buffers." 379`current' Scan only the current buffer, but no other buffers."
380 :group 'idlwave-routine-info 380 :group 'idlwave-routine-info
381 :type '(choice 381 :type '(choice
382 (const :tag "No buffer" nil) 382 (const :tag "No buffer" nil)
@@ -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.
745Possible characters to choose from: ~\\=`\% 745Possible characters to choose from: ~\\=`\%
746or even ?. . is not a good choice because it can make structure 746or even `?'. `.' is not a good choice because it can make structure
747field names act like abbrevs in certain circumstances. 747field names act like abbrevs in certain circumstances.
748 748
749Changes to this in `idlwave-mode-hook' will have no effect. Instead a user 749Changes to this in `idlwave-mode-hook' will have no effect. Instead a user
@@ -5833,15 +5833,15 @@ to override IDLWAVE's idea of what should be completed at point.
5833Possible values are: 5833Possible values are:
5834 5834
58350 <=> query for the completion type 58350 <=> query for the completion type
58361 <=> 'procedure 58361 <=> `procedure'
58372 <=> 'procedure-keyword 58372 <=> `procedure-keyword'
58383 <=> 'function 58383 <=> `function'
58394 <=> 'function-keyword 58394 <=> `function-keyword'
58405 <=> 'procedure-method 58405 <=> `procedure-method'
58416 <=> 'procedure-method-keyword 58416 <=> `procedure-method-keyword'
58427 <=> 'function-method 58427 <=> `function-method'
58438 <=> 'function-method-keyword 58438 <=> `function-method-keyword'
58449 <=> 'class 58449 <=> `class'
5845 5845
5846As a special case, the universal argument C-u forces completion of 5846As a special case, the universal argument C-u forces completion of
5847function names in places where the default would be a keyword. 5847function names in places where the default would be a keyword.
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.
1458In the makefile buffer, go to (end-of-line), insert a \\ 1458In the makefile buffer, go to (end-of-line), insert a `\\'
1459character, insert a new blank line, go to that line and indent by one TAB. 1459character, insert a new blank line, go to that line and indent by one TAB.
1460This is most useful in the process of creating continued lines when copying 1460This is most useful in the process of creating continued lines when copying
1461large dependencies from the browser to the client buffer. 1461large dependencies from the browser to the client buffer.
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index b95c3f97117..5a4ed84c346 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -402,11 +402,11 @@ Only used in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions."
402(defcustom prolog-parse-mode 'beg-of-clause 402(defcustom prolog-parse-mode 'beg-of-clause
403 "The parse mode used (decides from which point parsing is done). 403 "The parse mode used (decides from which point parsing is done).
404Legal values: 404Legal values:
405'beg-of-line - starts parsing at the beginning of a line, unless the 405`beg-of-line' - starts parsing at the beginning of a line, unless the
406 previous line ends with a backslash. Fast, but has 406 previous line ends with a backslash. Fast, but has
407 problems detecting multiline /* */ comments. 407 problems detecting multiline /* */ comments.
408'beg-of-clause - starts parsing at the beginning of the current clause. 408`beg-of-clause' - starts parsing at the beginning of the current clause.
409 Slow, but copes better with /* */ comments." 409 Slow, but copes better with /* */ comments."
410 :version "24.1" 410 :version "24.1"
411 :group 'prolog-indentation 411 :group 'prolog-indentation
412 :type '(choice (const :value beg-of-line) 412 :type '(choice (const :value beg-of-line)
@@ -1209,7 +1209,7 @@ using the commands `send-region', `send-string' and \\[prolog-consult-region].
1209Commands: 1209Commands:
1210Tab indents for Prolog; with argument, shifts rest 1210Tab indents for Prolog; with argument, shifts rest
1211 of expression rigidly with the current line. 1211 of expression rigidly with the current line.
1212Paragraphs are separated only by blank lines and '%%'. '%'s start comments. 1212Paragraphs are separated only by blank lines and `%%'. `%'s start comments.
1213 1213
1214Return at end of buffer sends line as input. 1214Return at end of buffer sends line as input.
1215Return not at end copies rest of line to end and sends it. 1215Return not at end copies rest of line to end and sends it.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 63a43c1b31a..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
@@ -2979,7 +2979,7 @@ This is a wrapper over `buffer-substring' that takes care of
2979different transformations for the code sent to be evaluated in 2979different transformations for the code sent to be evaluated in
2980the python shell: 2980the python shell:
2981 1. When optional argument NOMAIN is non-nil everything under an 2981 1. When optional argument NOMAIN is non-nil everything under an
2982 \"if __name__ == '__main__'\" block will be removed. 2982 \"if __name__ == \\='__main__\\='\" block will be removed.
2983 2. When a subregion of the buffer is sent, it takes care of 2983 2. When a subregion of the buffer is sent, it takes care of
2984 appending extra empty lines so tracebacks are correct. 2984 appending extra empty lines so tracebacks are correct.
2985 3. When the region sent is a substring of the current buffer, a 2985 3. When the region sent is a substring of the current buffer, a
@@ -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.
7224TYPE is module, tf for task or function, or t if unknown." 7224TYPE 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
7294really be a match. If VERILOG-FLAG is t, the function returns a list of 7294really be a match. If VERILOG-FLAG is t, the function returns a list of
7295all possible completions. If VERILOG-FLAG is nil it returns a string, 7295all possible completions. If VERILOG-FLAG is nil it returns a string,
7296the longest possible completion, or t if VERILOG-STR is an exact match. 7296the longest possible completion, or t if VERILOG-STR is an exact match.
7297If VERILOG-FLAG is lambda, the function returns t if VERILOG-STR is an 7297If VERILOG-FLAG is `lambda', the function returns t if VERILOG-STR is an
7298exact match, nil otherwise." 7298exact 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
7489to check if this should really be a match. If VERILOG-FLAG is t, the 7489to check if this should really be a match. If VERILOG-FLAG is t, the
7490function returns a list of all possible completions. If it is nil it 7490function returns a list of all possible completions. If it is nil it
7491returns a string, the longest possible completion, or t if VERILOG-STR is 7491returns a string, the longest possible completion, or t if VERILOG-STR is
7492an exact match. If VERILOG-FLAG is lambda, the function returns t if 7492an exact match. If VERILOG-FLAG is `lambda', the function returns t if
7493VERILOG-STR is an exact match, nil otherwise." 7493VERILOG-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 47b15d886bc..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
@@ -4361,7 +4361,7 @@ Usage:
4361 ;;; --> \" := \" [[ --> [ --CR --> comment-out code 4361 ;;; --> \" := \" [[ --> [ --CR --> comment-out code
4362 .. --> \" => \" ] --> ) --- --> horizontal line 4362 .. --> \" => \" ] --> ) --- --> horizontal line
4363 ,, --> \" <= \" ]] --> ] ---- --> display comment 4363 ,, --> \" <= \" ]] --> ] ---- --> display comment
4364 == --> \" == \" '' --> \\\" 4364 == --> \" == \" \\='\\=' --> \\\"
4365 4365
4366 4366
4367 WORD COMPLETION: 4367 WORD COMPLETION:
@@ -4808,7 +4808,7 @@ Usage:
4808 automatically recognized as VHDL source files. To add an extension 4808 automatically recognized as VHDL source files. To add an extension
4809 \".xxx\", add the following line to your Emacs start-up file (`.emacs'): 4809 \".xxx\", add the following line to your Emacs start-up file (`.emacs'):
4810 4810
4811 \(push '(\"\\\\.xxx\\\\'\" . vhdl-mode) auto-mode-alist) 4811 \(push \\='(\"\\\\.xxx\\\\\\='\" . vhdl-mode) auto-mode-alist)
4812 4812
4813 4813
4814 HINTS: 4814 HINTS:
@@ -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/progmodes/xref.el b/lisp/progmodes/xref.el
index b0a8eb7a316..7eff1f123b5 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -390,8 +390,8 @@ elements is negated."
390 "Go to the location of ITEM and display the buffer. 390 "Go to the location of ITEM and display the buffer.
391WINDOW controls how the buffer is displayed: 391WINDOW controls how the buffer is displayed:
392 nil -- switch-to-buffer 392 nil -- switch-to-buffer
393 'window -- pop-to-buffer (other window) 393 `window' -- pop-to-buffer (other window)
394 'frame -- pop-to-buffer (other frame)" 394 `frame' -- pop-to-buffer (other frame)"
395 (let* ((marker (save-excursion 395 (let* ((marker (save-excursion
396 (xref-location-marker (xref-item-location item)))) 396 (xref-location-marker (xref-item-location item))))
397 (buf (marker-buffer marker))) 397 (buf (marker-buffer marker)))