Skip to content

Incompatibility with htmlize 1.47 #596

Closed
@pyr

Description

@pyr

Hi there!

htmlize (at version 1.47) recently stopped working with haskell. This is because of extra quoting when defining faces I had to change the lines:

(defface haskell-keyword-face
  '((t :inherit 'font-lock-keyword-face))
  "Face used to highlight Haskell keywords."
  :group 'haskell)

And remove the extraneous quoting:

(defface haskell-keyword-face
  '((t :inherit font-lock-keyword-face))
  "Face used to highlight Haskell keywords."
  :group 'haskell)

The same goes for every face declaration (https://github.com/haskell/haskell-mode/blob/master/haskell-font-lock.el#L91-L131). If this change does not introduce problems with earlier emacs/htmlize builds, I can provide a PR to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions