Elisp parser shows defun args
This commit is contained in:
parent
90a3c55a19
commit
80b7547ea8
@ -75,7 +75,7 @@ children of the pair."
|
||||
(let (beg end offset acc)
|
||||
(while (< (point) (point-max))
|
||||
(setq beg (point))
|
||||
(search-forward-regexp "(def\\w*\\s-*\\(\\s_\\|\\w\\)*" nil t)
|
||||
(search-forward-regexp "(def\\w*\\s-*\\(\\s_\\|\\w\\|[?!]\\)*\\([ \\t]*(.*?)\\)?" nil t)
|
||||
(setq offset (- (point) beg))
|
||||
(end-of-defun)
|
||||
(backward-char)
|
||||
|
Loading…
Reference in New Issue
Block a user