Skip to content

Commit 515f9d5

Browse files
committed
add more gen rules
1 parent c7b8447 commit 515f9d5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

scripts/generate-api.el

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@
3434
(string-empty-p (string-trim line)))
3535
(let-kill-line))
3636
;; skip these
37-
((or (string-prefix-p "(defun " line)
37+
((or (string-prefix-p "(defclass " line)
38+
(string-prefix-p "(defconst " line)
3839
(string-prefix-p "(defcustom " line)
39-
(string-prefix-p "(defvar " line)
40-
(string-prefix-p "(defmacro " line))
40+
(string-prefix-p "(defun " line)
41+
(string-prefix-p "(defmacro " line)
42+
(string-prefix-p "(defvar " line))
4143
(forward-sexp)
4244
(forward-line 1)
4345
(goto-char (line-beginning-position)))

0 commit comments

Comments
 (0)