Whenever I compile my package org-ref I get lots of warnings like: Warning (comp): openalex.el:622:2: Warning: docstring wider than 80 characters.

It is a fair warning, but it caused by a hydra with a string more than 80 characters wide that will not be changed. Is there a way to suppress these warnings during a compilation? They make it hard to spot other issues.


1 Answer 1


See byte-compile-warnings:

List of warnings that the byte-compiler should issue (t for almost all).

Elements of the list may be:

docstrings: docstrings that are too wide (longer than byte-compile-docstring-max-column or fill-column characters, whichever is bigger) or have other stylistic issues.

  • 1
    Thanks. I set this as a file-local variable and the warnings went away. Feb 20 at 22:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.