diff options
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/cc-langs.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cfengine.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/cwarn.el | 10 | ||||
-rw-r--r-- | lisp/progmodes/ebnf-dtd.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/idlwave.el | 2 | ||||
-rw-r--r-- | lisp/progmodes/pascal.el | 2 |
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." ;; ;; OPS either has the structure of `c-operators', is a single ;; group in `c-operators', or is a plain list of operators. - ;; + ;; ;; OPGROUP-FILTER specifies how to select the operator groups. It ;; can be t to choose all groups, a list of group type symbols ;; (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 @@ ;;; Commentary: ;; Provides support for editing GNU Cfengine files, including -;; font-locking, Imenu and indention, but with no special keybindings. +;; font-locking, Imenu and indentation, but with no special keybindings. ;; The CFEngine 3.x support doesn't have Imenu support but patches are ;; 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: (defun cwarn-is-enabled (mode &optional feature) "Non-nil if CWarn FEATURE is enabled for MODE. -feature is an atom representing one construction to highlight. +FEATURE is an atom representing one construction to highlight. Check if any feature is enabled for MODE if no feature is specified. The valid features are described by the variable `cwarn-font-lock-feature-keywords-alist'." - (let ((mode-configuraion (assq mode cwarn-configuration))) - (and mode-configuraion + (let ((mode-configuration (assq mode cwarn-configuration))) + (and mode-configuration (or (null feature) - (let ((list-or-t (nth 1 mode-configuraion))) + (let ((list-or-t (nth 1 mode-configuration))) (or (eq list-or-t t) (if (eq (car-safe list-or-t) 'not) (not (memq feature (cdr list-or-t))) @@ -235,7 +235,7 @@ The valid features are described by the variable (eq (char-after) ?#))) (defun cwarn-font-lock-keywords (addp) - "Install/Remove keywords into current buffer. + "Install/remove keywords into current buffer. If ADDP is non-nil, install else remove." (dolist (pair cwarn-font-lock-feature-keywords-alist) (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 @@ ;; ----- ;; ;; At moment, only the `<!ELEMENT' generates a syntactic chart. The -;; `<!ATTLIST', `<!NOTATION' and `<!ENTITY' are syntacticly checked but they +;; `<!ATTLIST', `<!NOTATION' and `<!ENTITY' are syntactically checked but they ;; don't generate a syntactic chart. ;; ;; 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 (setq idlwave-idlwave_routine_info-compiled t)) ;; Restore if necessary. Must use execute to hide lame routine_info - ;; errors on undefinded routine + ;; errors on undefined routine (idlwave-shell-send-command (format "if execute(\"_v=routine_info('idlwave_routine_info',/SOURCE)\") eq 0 then restore,'%s' else if _v.path eq '' then restore,'%s'" 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." (pascal-indent-command)))) (defun electric-pascal-equal () - "Insert `=', and do indention if within type declaration." + "Insert `=', and do indentation if within type declaration." (interactive) (insert last-command-event) (if (eq (car (pascal-calculate-indent)) 'declaration) |