Skip to content

Commit eccba09

Browse files
committed
Fix typos and minor code issues
- Fix "marser" → "parser" and "wich" → "which" in docstring - Fix "delmited" → "delimited" in comment - Fix "keywoard" → "keyword" and "paraphraph" → "paragraph" in comment - Fix "adjancted" → "adjacent" in comment - Fix "doesn't has" → "doesn't have" in comment - Fix "the the" → "to the" in comment - Fix missing space before paren in :box defface spec
1 parent 8ffcb95 commit eccba09

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

adoc-mode.el

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ AsciiDoc: *bold emphasis text* or _emphasis text_
737737

738738
(defface adoc-command-face
739739
'((default (:inherit (adoc-meta-face bold)
740-
:box(
740+
:box (
741741
:line-width 2
742742
:style released-button)))
743743
(((background light))(:background "#f5f5f5" :foreground "black" :box (:color "#dcdcdc")))
@@ -759,10 +759,10 @@ AsciiDoc: *bold emphasis text* or _emphasis text_
759759

760760
(defface adoc-passthrough-face
761761
'((t :inherit (fixed-pitch adoc-gen-face)))
762-
"For text that is passed through yet another marser/renderer.
762+
"For text that is passed through yet another parser/renderer.
763763
764764
Since this text is passed to an arbitrary renderer, it is unknown
765-
wich of its chars are meta characters and which are literal characters."
765+
which of its chars are meta characters and which are literal characters."
766766
:group 'adoc-faces)
767767
(defvar adoc-passthrough-face 'adoc-passthrough-face)
768768

@@ -1180,7 +1180,7 @@ Subgroups:
11801180
"\\)"))
11811181

11821182
;; KLUDGE: Contrary to what the AsciiDoc manual specifies, adoc-mode does not
1183-
;; allow that either the first or the last line within a delmited block is
1183+
;; allow that either the first or the last line within a delimited block is
11841184
;; blank. That shall help to prevent the case that adoc-mode wrongly
11851185
;; interprets the end of a delimited block as the beginning, and the beginning
11861186
;; of a following delimited block as the ending, thus wrongly interpreting the
@@ -1221,9 +1221,9 @@ Subgroups:
12211221
;; 2nd+ line is neither a blank line nor a list continuation line
12221222
"\\(?:\n\\(?:[^+ \t\n]\\|[ \t]+[^ \t\n]\\|\\+[ \t]*[^ \t\n]\\).*?\\)*?"
12231223
;; paragraph delimited by blank line or list continuation or end of buffer
1224-
;; NOTE: now list continuation belongs the the verbatim paragraph sequence,
1224+
;; NOTE: now list continuation belongs to the verbatim paragraph sequence,
12251225
;; but actually we want to highlight it differently. Thus the font lock
1226-
;; keywoard handling list continuation must come after verbatim paraphraph
1226+
;; keyword handling list continuation must come after verbatim paragraph
12271227
;; sequence.
12281228
"\\(?:\n[ \t]*\\(?:\n\\|\\'\\)\\|\n\\+[ \t]*\n\\|\\'\\)"
12291229
"\\)+"
@@ -1437,8 +1437,8 @@ subgroups:
14371437
"\\(" qldel "\\)"
14381438
"\\([^ \t\n]\\|[^ \t\n]" (adoc-re-content) "[^ \t\n]\\)"
14391439
"\\(" qrdel "\\)"
1440-
;; BUG: now that Emacs doesn't has look-ahead, the match is too long, and
1441-
;; adjancted quotes of the same type wouldn't be recognized.
1440+
;; BUG: now that Emacs doesn't have look-ahead, the match is too long, and
1441+
;; adjacent quotes of the same type wouldn't be recognized.
14421442
"\\(?:[^A-Za-z0-9\n]\\|[ \t]*$\\)")))
14431443

14441444
(defun adoc-re-quote (type ldel &optional rdel)

0 commit comments

Comments
 (0)