mirror of
https://github.com/vale981/python-docstring-mode
synced 2025-03-05 09:31:43 -05:00
Add docstring to python-docstring-install
This commit is contained in:
parent
61e9fdc1a9
commit
065fbda3d7
1 changed files with 2 additions and 2 deletions
|
@ -157,8 +157,8 @@ Null prefix argument turns off the mode."
|
||||||
(font-lock-remove-keywords nil docstring-keywords)))
|
(font-lock-remove-keywords nil docstring-keywords)))
|
||||||
|
|
||||||
(defun python-docstring-install ()
|
(defun python-docstring-install ()
|
||||||
(add-hook 'python-mode-hook (lambda () (python-docstring-mode t)))
|
"Add python-docstring-mode as a hook to python.mode."
|
||||||
)
|
(add-hook 'python-mode-hook (lambda () (python-docstring-mode t))))
|
||||||
|
|
||||||
(provide 'python-docstring)
|
(provide 'python-docstring)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue