branch: externals/hydra
commit ab67b29835ed550427b75e94784b63d98a00c0e0
Author: Joe Wreschnig <joe.wresch...@gmail.com>
Commit: Joe Wreschnig <joe.wresch...@gmail.com>

    Declare the third argument of `defhydra’ as a (potential) docstring.
    
    This enables proper fontification of them within emacs-lisp-mode.
---
 hydra.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hydra.el b/hydra.el
index e3b3703a00..a517c7a46e 100644
--- a/hydra.el
+++ b/hydra.el
@@ -1161,7 +1161,7 @@ It is possible to omit both BODY-MAP and BODY-KEY if you 
don't
 want to bind anything.  In that case, typically you will bind the
 generated NAME/body command.  This command is also the return
 result of `defhydra'."
-  (declare (indent defun))
+  (declare (indent defun) (doc-string 3))
   (setq heads (copy-tree heads))
   (cond ((stringp docstring))
         ((and (consp docstring)

Reply via email to