Skip to content

Commit d85409d

Browse files
authored
Merge pull request #62 from cgay/ing
Don't match ...ing words in dylan-with-statement-prefix
2 parents 040c8eb + 21e8565 commit d85409d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dylan.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ These must also be simple definitions and are appended to
204204
"iterate" "profiling")
205205
"Words that begin statements with implicit bodies.")
206206

207-
;; Names beginning "with-", "without-", and "...ing-" (e.g., printing-object)
208-
;; are commonly used as statement macros.
207+
;; Names beginning "with-", "without-", and "printing-" (for printing-object
208+
;; and printing-logical-block) are commonly used as statement macros.
209209
(defvar dylan-with-statement-prefix
210-
"\\(with\\|without\\|[a-zA-Z]+ing\\)-")
210+
"\\(with\\|without\\|printing\\)-")
211211

212212
(defvar dylan-statement-prefixes
213213
(concat "\\|\\_<" dylan-with-statement-prefix "[-_a-zA-Z?!*@<>$%]+"))

0 commit comments

Comments
 (0)