purcell / envrc

Emacs support for direnv which operates buffer-locally
378 stars 35 forks source link

Deal with warnings about quote escaping #73

Closed ZharMeny closed 8 months ago

ZharMeny commented 8 months ago

This commit deals with the "docstring has wrong usage of unescaped single quotes" warnings that may appear at compilatin time. Note that I got rid of additional text in the description of `envrc-mode-map' option, I personally think you probably shouldn't include text containing double quotation marks in docstrings, but your call here.

purcell commented 8 months ago

Thanks! In these cases you actually need two backslashes. I applied similar fixes directly myself, and kept the suggested code snippet in the docstring because I think it's important usage information.