aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorPaul Eggert2011-11-17 01:09:20 -0800
committerPaul Eggert2011-11-17 01:09:20 -0800
commit4c36be58ca2b4777a5e7bf0d3e692cfd9fa1aea3 (patch)
tree04a24b4e53c431ec3deb9281a0454ede7ace7337 /lisp/progmodes
parentb6e63cbebdac53be5ba3ce9261d7edc8dfda8bf5 (diff)
downloademacs-4c36be58ca2b4777a5e7bf0d3e692cfd9fa1aea3.tar.gz
emacs-4c36be58ca2b4777a5e7bf0d3e692cfd9fa1aea3.zip
Spelling fixes.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/ada-xref.el3
-rw-r--r--lisp/progmodes/cc-awk.el2
-rw-r--r--lisp/progmodes/cperl-mode.el6
-rw-r--r--lisp/progmodes/ebnf2ps.el2
-rw-r--r--lisp/progmodes/etags.el2
-rw-r--r--lisp/progmodes/gud.el2
-rw-r--r--lisp/progmodes/idlw-help.el3
-rw-r--r--lisp/progmodes/js.el2
-rw-r--r--lisp/progmodes/meta-mode.el2
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/verilog-mode.el6
11 files changed, 17 insertions, 15 deletions
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el
index 4cf00cd3cfd..0cfdab23702 100644
--- a/lisp/progmodes/ada-xref.el
+++ b/lisp/progmodes/ada-xref.el
@@ -1163,7 +1163,8 @@ If OTHER-FRAME is non-nil, display the cross-reference in another frame."
1163 1163
1164(defun ada-goto-declaration-other-frame (pos) 1164(defun ada-goto-declaration-other-frame (pos)
1165 "Display the declaration of the identifier around POS. 1165 "Display the declaration of the identifier around POS.
1166The declation is shown in another frame if `ada-xref-other-buffer' is non-nil." 1166The declaration is shown in another frame if `ada-xref-other-buffer' is
1167non-nil."
1167 (interactive "d") 1168 (interactive "d")
1168 (ada-goto-declaration pos t)) 1169 (ada-goto-declaration pos t))
1169 1170
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el
index 74f9acab5b5..aa1289cd632 100644
--- a/lisp/progmodes/cc-awk.el
+++ b/lisp/progmodes/cc-awk.el
@@ -776,7 +776,7 @@
776 (setq anchor (point)) 776 (setq anchor (point))
777 (search-forward-regexp c-awk-harmless-string*-here-re nil t) 777 (search-forward-regexp c-awk-harmless-string*-here-re nil t)
778 ;; We are now looking at either a " or a /. 778 ;; We are now looking at either a " or a /.
779 ;; Do our thing on the string, regexp or divsion sign. 779 ;; Do our thing on the string, regexp or division sign.
780 (setq anchor-state-/div 780 (setq anchor-state-/div
781 (if (looking-at "_?\"") 781 (if (looking-at "_?\"")
782 (c-awk-syntax-tablify-string) 782 (c-awk-syntax-tablify-string)
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 13858ad0da1..1925d16ba58 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1304,7 +1304,7 @@ versions of Emacs."
1304 (get-text-property (point) 'syntax-type)) 1304 (get-text-property (point) 'syntax-type))
1305 '(here-doc pod))] 1305 '(here-doc pod))]
1306 "----" 1306 "----"
1307 ["CPerl pretty print (exprmntl)" cperl-ps-print 1307 ["CPerl pretty print (experimental)" cperl-ps-print
1308 (fboundp 'ps-extend-face-list)] 1308 (fboundp 'ps-extend-face-list)]
1309 "----" 1309 "----"
1310 ["Syntaxify region" cperl-find-pods-heres-region 1310 ["Syntaxify region" cperl-find-pods-heres-region
@@ -5793,7 +5793,7 @@ indentation and initial hashes. Behaves usually outside of comment."
5793 ;; "\\|") 5793 ;; "\\|")
5794 '("-[rwxoRWXOezsfdlpSbctugkTBMAC]\\>\\([ \t]+_\\>\\)?" 0 5794 '("-[rwxoRWXOezsfdlpSbctugkTBMAC]\\>\\([ \t]+_\\>\\)?" 0
5795 font-lock-function-name-face keep) ; Not very good, triggers at "[a-z]" 5795 font-lock-function-name-face keep) ; Not very good, triggers at "[a-z]"
5796 ;; This highlights declarations and definitions differenty. 5796 ;; This highlights declarations and definitions differently.
5797 ;; We do not try to highlight in the case of attributes: 5797 ;; We do not try to highlight in the case of attributes:
5798 ;; it is already done by `cperl-find-pods-heres' 5798 ;; it is already done by `cperl-find-pods-heres'
5799 (list (concat "\\<sub" 5799 (list (concat "\\<sub"
@@ -8946,7 +8946,7 @@ do extra unwind via `cperl-unwind-to-safe'."
8946;; Called when any modification is made to buffer text. 8946;; Called when any modification is made to buffer text.
8947(defun cperl-after-change-function (beg end old-len) 8947(defun cperl-after-change-function (beg end old-len)
8948 ;; We should have been informed about changes by `font-lock'. Since it 8948 ;; We should have been informed about changes by `font-lock'. Since it
8949 ;; does not inform as which calls are defered, do it ourselves 8949 ;; does not inform as which calls are deferred, do it ourselves
8950 (if cperl-syntax-done-to 8950 (if cperl-syntax-done-to
8951 (setq cperl-syntax-done-to (min cperl-syntax-done-to beg)))) 8951 (setq cperl-syntax-done-to (min cperl-syntax-done-to beg))))
8952 8952
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index 597d84619ab..f98f3d191d7 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -2084,7 +2084,7 @@ special."
2084 "*Specify extra width for arrow shape drawing. 2084 "*Specify extra width for arrow shape drawing.
2085 2085
2086The extra width is used to avoid that the arrowhead and the terminal border 2086The extra width is used to avoid that the arrowhead and the terminal border
2087overlap. It depens on `ebnf-arrow-shape' and `ebnf-line-width'." 2087overlap. It depends on `ebnf-arrow-shape' and `ebnf-line-width'."
2088 :type 'number 2088 :type 'number
2089 :version "22" 2089 :version "22"
2090 :group 'ebnf-shape) 2090 :group 'ebnf-shape)
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index d321e9c1388..13cba0fe701 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1144,7 +1144,7 @@ error message."
1144 (setq order tag-order)) 1144 (setq order tag-order))
1145 ;; We throw out on match, so only get here if there were no matches. 1145 ;; We throw out on match, so only get here if there were no matches.
1146 ;; Clear out the markers we use to avoid duplicate matches so they 1146 ;; Clear out the markers we use to avoid duplicate matches so they
1147 ;; don't slow down editting and are immediately available for GC. 1147 ;; don't slow down editing and are immediately available for GC.
1148 (while tag-lines-already-matched 1148 (while tag-lines-already-matched
1149 (set-marker (car tag-lines-already-matched) nil nil) 1149 (set-marker (car tag-lines-already-matched) nil nil)
1150 (setq tag-lines-already-matched (cdr tag-lines-already-matched))) 1150 (setq tag-lines-already-matched (cdr tag-lines-already-matched)))
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index b54b2dc5f47..c60e8d72abc 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3387,7 +3387,7 @@ This event can be examined by forms in `gud-tooltip-display'.")
3387 3387
3388(defun gud-tooltip-dereference (&optional arg) 3388(defun gud-tooltip-dereference (&optional arg)
3389 "Toggle whether tooltips should show `* expr' or `expr'. 3389 "Toggle whether tooltips should show `* expr' or `expr'.
3390With arg, dereference expr if ARG is positive, otherwise do not derereference." 3390With arg, dereference expr if ARG is positive, otherwise do not dereference."
3391 (interactive "P") 3391 (interactive "P")
3392 (setq gud-tooltip-dereference 3392 (setq gud-tooltip-dereference
3393 (if (null arg) 3393 (if (null arg)
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el
index 8d8966ee159..a2dd67a0f13 100644
--- a/lisp/progmodes/idlw-help.el
+++ b/lisp/progmodes/idlw-help.el
@@ -705,7 +705,8 @@ Those words in `idlwave-completion-help-links' have links. The
705 ;; we kill the help frame before the return-frame is selected. 705 ;; we kill the help frame before the return-frame is selected.
706 ;; To protect the workings, we wait for up to one second 706 ;; To protect the workings, we wait for up to one second
707 ;; and check if the return-frame *is* now selected. 707 ;; and check if the return-frame *is* now selected.
708 ;; This is marked "eperimental" since we are not sure when its OK. 708 ;; This is marked "experimental" since we are not sure when
709 ;; it's OK.
709 (let ((maxtime 1.0) (time 0.) (step 0.1)) 710 (let ((maxtime 1.0) (time 0.) (step 0.1))
710 (select-frame idlwave-help-return-frame) 711 (select-frame idlwave-help-return-frame)
711 (while (and (sit-for step) 712 (while (and (sit-for step)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 4040a5c431e..0e3fdc78a39 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -3352,7 +3352,7 @@ If one hasn't been set, or if it's stale, prompt for a new one."
3352 ;; etc. and produce maddening "unbalanced parenthesis" errors. 3352 ;; etc. and produce maddening "unbalanced parenthesis" errors.
3353 ;; When we attempt to find the error and scroll to the portion of 3353 ;; When we attempt to find the error and scroll to the portion of
3354 ;; the buffer containing the problem, JIT-lock will apply the 3354 ;; the buffer containing the problem, JIT-lock will apply the
3355 ;; correct syntax to the regular expresion literal and the problem 3355 ;; correct syntax to the regular expression literal and the problem
3356 ;; will mysteriously disappear. 3356 ;; will mysteriously disappear.
3357 ;; FIXME: We should actually do this fontification lazily by adding 3357 ;; FIXME: We should actually do this fontification lazily by adding
3358 ;; calls to syntax-propertize wherever it's really needed. 3358 ;; calls to syntax-propertize wherever it's really needed.
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el
index 958c1bfb0cc..d0a34179cc8 100644
--- a/lisp/progmodes/meta-mode.el
+++ b/lisp/progmodes/meta-mode.el
@@ -161,7 +161,7 @@
161 "[ \t\f]+\\(\\sw+\\|\\s_+\\|\\s.+\\)") 161 "[ \t\f]+\\(\\sw+\\|\\s_+\\|\\s.+\\)")
162 '((1 font-lock-keyword-face) 162 '((1 font-lock-keyword-face)
163 (2 font-lock-function-name-face))) 163 (2 font-lock-function-name-face)))
164 ;; binary macro defintions: <leveldef> x operator y 164 ;; binary macro definitions: <leveldef> x operator y
165 (cons (concat "\\<" macro-keywords-2 "\\>" 165 (cons (concat "\\<" macro-keywords-2 "\\>"
166 "[ \t\f]+\\(\\sw+\\)" 166 "[ \t\f]+\\(\\sw+\\)"
167 "[ \t\f]*\\(\\sw+\\|\\s.+\\)" 167 "[ \t\f]*\\(\\sw+\\|\\s.+\\)"
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index fe6bab0160d..8d2e6715444 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -119,7 +119,7 @@
119 (1 font-lock-type-face)) 119 (1 font-lock-type-face))
120 ;; Built-ins. (The next three blocks are from 120 ;; Built-ins. (The next three blocks are from
121 ;; `__builtin__.__dict__.keys()' in Python 2.7) These patterns 121 ;; `__builtin__.__dict__.keys()' in Python 2.7) These patterns
122 ;; are debateable, but they at least help to spot possible 122 ;; are debatable, but they at least help to spot possible
123 ;; shadowing of builtins. 123 ;; shadowing of builtins.
124 (,(rx symbol-start (or 124 (,(rx symbol-start (or
125 ;; exceptions 125 ;; exceptions
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 3a3c7f0baa3..2d8334bcb7d 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -913,7 +913,7 @@ the MSB or LSB of a signal inside an AUTORESET."
913(put 'verilog-assignment-delay 'safe-local-variable 'stringp) 913(put 'verilog-assignment-delay 'safe-local-variable 'stringp)
914 914
915(defcustom verilog-auto-arg-sort nil 915(defcustom verilog-auto-arg-sort nil
916 "*If set, AUTOARG signal names will be sorted, not in delaration order. 916 "*If set, AUTOARG signal names will be sorted, not in declaration order.
917Declaration order is advantageous with order based instantiations 917Declaration order is advantageous with order based instantiations
918and is the default for backward compatibility. Sorted order 918and is the default for backward compatibility. Sorted order
919reduces changes when declarations are moved around in a file, and 919reduces changes when declarations are moved around in a file, and
@@ -2151,7 +2151,7 @@ find the errors."
2151 "interface" "endinterface" 2151 "interface" "endinterface"
2152 "module" "macromodule" "endmodule" 2152 "module" "macromodule" "endmodule"
2153 "package" "endpackage" 2153 "package" "endpackage"
2154 "primitive" "endprimative" 2154 "primitive" "endprimitive"
2155 "program" "endprogram" 2155 "program" "endprogram"
2156 "property" "endproperty" 2156 "property" "endproperty"
2157 "sequence" "randsequence" "endsequence" 2157 "sequence" "randsequence" "endsequence"
@@ -3579,7 +3579,7 @@ With ARG, first kill any existing labels."
3579 "Move backward to beginning of statement." 3579 "Move backward to beginning of statement."
3580 (interactive) 3580 (interactive)
3581 ;; Move back token by token until we see the end 3581 ;; Move back token by token until we see the end
3582 ;; of some ealier line. 3582 ;; of some earlier line.
3583 (let (h) 3583 (let (h)
3584 (while 3584 (while
3585 ;; If the current point does not begin a new 3585 ;; If the current point does not begin a new