Commit b8d7d7e8 authored by Daniel Colascione's avatar Daniel Colascione
Browse files

Fix previous commit

parent d235b1d2
......@@ -186,10 +186,10 @@
(setf pos (or pos (point)))
(save-match-data
(save-excursion
(ignore-errors
(goto-char pos)
(or (eql (char-before) ?\')
(let ((parent
(ignore-errors
(up-list -1)
(cond
((looking-at (rx "(" (* (syntax -)) "("))
......@@ -202,7 +202,7 @@
(group-n 1 (+ (or (syntax w) (syntax _))))
symbol-end))
(prog1 (intern-soft (match-string-no-properties 1))
(goto-char (match-end 1))))))))
(goto-char (match-end 1)))))))
(or (eq parent 'declare)
(and (eq parent 'let)
(progn
......@@ -211,7 +211,7 @@
(and (eq parent 'condition-case)
(progn
(forward-sexp 2)
(< (point) pos)))))))))
(< (point) pos))))))))))
(defun lisp--el-match-keyword (limit)
(catch 'found
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment