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

Fix previous commit

parent d235b1d2
...@@ -186,10 +186,10 @@ ...@@ -186,10 +186,10 @@
(setf pos (or pos (point))) (setf pos (or pos (point)))
(save-match-data (save-match-data
(save-excursion (save-excursion
(ignore-errors
(goto-char pos) (goto-char pos)
(or (eql (char-before) ?\') (or (eql (char-before) ?\')
(let ((parent (let ((parent
(ignore-errors
(up-list -1) (up-list -1)
(cond (cond
((looking-at (rx "(" (* (syntax -)) "(")) ((looking-at (rx "(" (* (syntax -)) "("))
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
(group-n 1 (+ (or (syntax w) (syntax _)))) (group-n 1 (+ (or (syntax w) (syntax _))))
symbol-end)) symbol-end))
(prog1 (intern-soft (match-string-no-properties 1)) (prog1 (intern-soft (match-string-no-properties 1))
(goto-char (match-end 1)))))))) (goto-char (match-end 1)))))))
(or (eq parent 'declare) (or (eq parent 'declare)
(and (eq parent 'let) (and (eq parent 'let)
(progn (progn
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
(and (eq parent 'condition-case) (and (eq parent 'condition-case)
(progn (progn
(forward-sexp 2) (forward-sexp 2)
(< (point) pos))))))))) (< (point) pos))))))))))
(defun lisp--el-match-keyword (limit) (defun lisp--el-match-keyword (limit)
(catch 'found (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