aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuanma Barranquero2011-11-20 04:48:53 +0100
committerJuanma Barranquero2011-11-20 04:48:53 +0100
commitcd1181dbece7f23a801ce9c56b985f9466cd6511 (patch)
tree59d07d411c4de52f8e100fc1d71dbadd9095d1b2 /lisp/progmodes
parent17e845af732cf7bd0ada49375f014e10deb3d06a (diff)
downloademacs-cd1181dbece7f23a801ce9c56b985f9466cd6511.tar.gz
emacs-cd1181dbece7f23a801ce9c56b985f9466cd6511.zip
Fix typos.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-langs.el2
-rw-r--r--lisp/progmodes/cfengine.el2
-rw-r--r--lisp/progmodes/cwarn.el10
-rw-r--r--lisp/progmodes/ebnf-dtd.el2
-rw-r--r--lisp/progmodes/idlwave.el2
-rw-r--r--lisp/progmodes/pascal.el2
6 files changed, 10 insertions, 10 deletions
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 76dfb3c7a28..4a6344727b4 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -221,7 +221,7 @@ the evaluated constant value at compile time."
221 ;; 221 ;;
222 ;; OPS either has the structure of `c-operators', is a single 222 ;; OPS either has the structure of `c-operators', is a single
223 ;; group in `c-operators', or is a plain list of operators. 223 ;; group in `c-operators', or is a plain list of operators.
224 ;; 224 ;;
225 ;; OPGROUP-FILTER specifies how to select the operator groups. It 225 ;; OPGROUP-FILTER specifies how to select the operator groups. It
226 ;; can be t to choose all groups, a list of group type symbols 226 ;; can be t to choose all groups, a list of group type symbols
227 ;; (such as 'prefix) to accept, or a function which will be called 227 ;; (such as 'prefix) to accept, or a function which will be called
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index eea822328f1..823304bd250 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -24,7 +24,7 @@
24;;; Commentary: 24;;; Commentary:
25 25
26;; Provides support for editing GNU Cfengine files, including 26;; Provides support for editing GNU Cfengine files, including
27;; font-locking, Imenu and indention, but with no special keybindings. 27;; font-locking, Imenu and indentation, but with no special keybindings.
28 28
29;; The CFEngine 3.x support doesn't have Imenu support but patches are 29;; The CFEngine 3.x support doesn't have Imenu support but patches are
30;; welcome. 30;; welcome.
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 211c856f9b7..0516aca8d2b 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -210,16 +210,16 @@ This function is designed to be added to hooks, for example:
210 210
211(defun cwarn-is-enabled (mode &optional feature) 211(defun cwarn-is-enabled (mode &optional feature)
212 "Non-nil if CWarn FEATURE is enabled for MODE. 212 "Non-nil if CWarn FEATURE is enabled for MODE.
213feature is an atom representing one construction to highlight. 213FEATURE is an atom representing one construction to highlight.
214 214
215Check if any feature is enabled for MODE if no feature is specified. 215Check if any feature is enabled for MODE if no feature is specified.
216 216
217The valid features are described by the variable 217The valid features are described by the variable
218`cwarn-font-lock-feature-keywords-alist'." 218`cwarn-font-lock-feature-keywords-alist'."
219 (let ((mode-configuraion (assq mode cwarn-configuration))) 219 (let ((mode-configuration (assq mode cwarn-configuration)))
220 (and mode-configuraion 220 (and mode-configuration
221 (or (null feature) 221 (or (null feature)
222 (let ((list-or-t (nth 1 mode-configuraion))) 222 (let ((list-or-t (nth 1 mode-configuration)))
223 (or (eq list-or-t t) 223 (or (eq list-or-t t)
224 (if (eq (car-safe list-or-t) 'not) 224 (if (eq (car-safe list-or-t) 'not)
225 (not (memq feature (cdr list-or-t))) 225 (not (memq feature (cdr list-or-t)))
@@ -235,7 +235,7 @@ The valid features are described by the variable
235 (eq (char-after) ?#))) 235 (eq (char-after) ?#)))
236 236
237(defun cwarn-font-lock-keywords (addp) 237(defun cwarn-font-lock-keywords (addp)
238 "Install/Remove keywords into current buffer. 238 "Install/remove keywords into current buffer.
239If ADDP is non-nil, install else remove." 239If ADDP is non-nil, install else remove."
240 (dolist (pair cwarn-font-lock-feature-keywords-alist) 240 (dolist (pair cwarn-font-lock-feature-keywords-alist)
241 (let ((feature (car pair)) 241 (let ((feature (car pair))
diff --git a/lisp/progmodes/ebnf-dtd.el b/lisp/progmodes/ebnf-dtd.el
index 204b6a91b0f..7b63575195e 100644
--- a/lisp/progmodes/ebnf-dtd.el
+++ b/lisp/progmodes/ebnf-dtd.el
@@ -515,7 +515,7 @@
515;; ----- 515;; -----
516;; 516;;
517;; At moment, only the `<!ELEMENT' generates a syntactic chart. The 517;; At moment, only the `<!ELEMENT' generates a syntactic chart. The
518;; `<!ATTLIST', `<!NOTATION' and `<!ENTITY' are syntacticly checked but they 518;; `<!ATTLIST', `<!NOTATION' and `<!ENTITY' are syntactically checked but they
519;; don't generate a syntactic chart. 519;; don't generate a syntactic chart.
520;; 520;;
521;; Besides the syntax above, ebnf-dtd also accepts a `pure' dtd file. An 521;; Besides the syntax above, ebnf-dtd also accepts a `pure' dtd file. An
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 1233ee19ff6..d8715599d74 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -5789,7 +5789,7 @@ end
5789 (setq idlwave-idlwave_routine_info-compiled t)) 5789 (setq idlwave-idlwave_routine_info-compiled t))
5790 5790
5791 ;; Restore if necessary. Must use execute to hide lame routine_info 5791 ;; Restore if necessary. Must use execute to hide lame routine_info
5792 ;; errors on undefinded routine 5792 ;; errors on undefined routine
5793 (idlwave-shell-send-command 5793 (idlwave-shell-send-command
5794 (format "if execute(\"_v=routine_info('idlwave_routine_info',/SOURCE)\") eq 0 then restore,'%s' else if _v.path eq '' then restore,'%s'" 5794 (format "if execute(\"_v=routine_info('idlwave_routine_info',/SOURCE)\") eq 0 then restore,'%s' else if _v.path eq '' then restore,'%s'"
5795 idlwave-shell-temp-rinfo-save-file 5795 idlwave-shell-temp-rinfo-save-file
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 91a2e946753..b1502adbeb1 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -427,7 +427,7 @@ no args, if that value is non-nil."
427 (pascal-indent-command)))) 427 (pascal-indent-command))))
428 428
429(defun electric-pascal-equal () 429(defun electric-pascal-equal ()
430 "Insert `=', and do indention if within type declaration." 430 "Insert `=', and do indentation if within type declaration."
431 (interactive) 431 (interactive)
432 (insert last-command-event) 432 (insert last-command-event)
433 (if (eq (car (pascal-calculate-indent)) 'declaration) 433 (if (eq (car (pascal-calculate-indent)) 'declaration)