TobiasZawada / texfrag

Emacs package for previewing LaTeX fragments such as in doxygen comments.
GNU General Public License v3.0
68 stars 4 forks source link

After fresh install texfrag for html complains about invalid function texfrag-match-plist #16

Closed TobiasZawada closed 5 years ago

TobiasZawada commented 5 years ago

Backtrace:

Debugger entered--Lisp error: (invalid-function texfrag-match-plist)
  texfrag-match-plist((126 144 "$z=\\sqrt{x^2+y^2}$" ("\\$" "\\$" "$" "$")))
  texfrag-region(41 209)
  texfrag-html-region-function(1 209)
  texfrag-document()
  funcall-interactively(texfrag-document)
  call-interactively(texfrag-document nil nil)
  command-execute(texfrag-document)

texfrag-match-plist is actually a macro. So it should be compiled in and never occur as function call. Wired!

TobiasZawada commented 5 years ago

texfrag-match-plist was defined below texfrag-region. Fixed in https://github.com/TobiasZawada/texfrag/commit/270a8a4b5dadddc5b226d9a9c6c7868ea6bfe86f