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

(wrong-type-argument sequencep variable-pitch) #193

Closed
hmelman opened this issue May 16, 2017 · 3 comments
Closed

(wrong-type-argument sequencep variable-pitch) #193

hmelman opened this issue May 16, 2017 · 3 comments
Labels

Comments

@hmelman
Copy link
Contributor

hmelman commented May 16, 2017

Just upgraded from melpa and now I get the following error entering markdown-mode:

Debugger entered--Lisp error: (wrong-type-argument sequencep variable-pitch)
append(variable-pitch (font-lock-function-name-face))
markdown-make-header-faces()
markdown-mode()

It fails for me when markdown-header-scaling is t.

@jrblevin
Copy link
Owner

Thanks for this report. The problem was introduced a couple of days ago in d587180, but it slipped past me at the time.

@galeo
Copy link
Contributor

galeo commented May 16, 2017

I'm sorry to introduce this bug by mistake, the code fix I use privately is

  (defface markdown-header-face
    `((t (:inherit (font-lock-function-name-face
                    ,@(when markdown-header-scaling 'variable-pitch))
                   :weight bold)))
    "Base face for headers."
    :group 'markdown-faces)

Also, thanks for this report.

@jrblevin
Copy link
Owner

No problem, @galeo. It looked fine to me at the time! Thanks again for your patch.

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

No branches or pull requests

3 participants