Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbol’s function definition is void: first #145

Open
AnabasisXu opened this issue Feb 19, 2024 · 0 comments
Open

Symbol’s function definition is void: first #145

AnabasisXu opened this issue Feb 19, 2024 · 0 comments

Comments

@AnabasisXu
Copy link

AnabasisXu commented Feb 19, 2024

Error message:

emmet-expr-on-line: Symbol’s function definition is void: first

It points to the following function, but I could not find any way to track the definition of the function first.

(defun emmet-expr-on-line ()
  "Extract a emmet expression and the corresponding bounds
   for the current line."
  (let* ((end (point))
         (start (emmet-find-left-bound))
         (line (buffer-substring-no-properties start end))
         (expr (emmet-regex "\\([ \t]*\\)\\([^\n]+\\)" line 2)))
    (if (first expr)
        (list (first expr) start end))))

Solved:
the problem is caused by the fact that first second third fourth fifth sixth need to be updated to cl-first...cl-sixth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant