読者です 読者をやめる 読者になる 読者になる

cloverrose's blog

Python, Machine learning, Emacs, CI/CD, Webアプリなど

Pythonのdocstringを普通の文字列と違うfaceで扱う

Over Emacs24.2 gallina python.el is the official python.el (EmacsWiki: Programming With Python Dot El).

But this elisp shows docstring like as same as normal string.
If you want to show it different look, try this patch Fontify docstring with font-lock-doc-face by ryuslash · Pull Request #110 · fgallina/python.el · GitHub and byte-compile python.el in /usr/share/emacs/24.3/lisp/progmodes(in my environment).


(頑張って英語で書いてみた)