glyph / python-docstring-mode

Emacs minor-mode for editing Python docstrings.
MIT License
70 stars 22 forks source link

Fix for loading byte-compiled file #4

Closed syohex closed 8 years ago

syohex commented 9 years ago

'#$' is nil if file is byte-compiled then error occurs. Because file-name-directory does not accept nil argument.

How to reproduce error

  1. Byte-compile python-docstring.el
  2. Load python-docstring.elc which is generated by step 1
  3. The error (wrong-type-argument stringp nil) is occurred
glyph commented 8 years ago

Thanks!