branch: externals/setup
commit 04cfdc2fa0525cfb6d45b8f591cdc833e5ece8fe
Author: Philip Kaludercic <phil...@posteo.net>
Commit: Philip Kaludercic <phil...@posteo.net>

    Remove setup--describe-macro
    
    This code doesn't work and shouldn't have had been committed.
---
 setup.el | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/setup.el b/setup.el
index a2be32cb0c..ae6902c01b 100644
--- a/setup.el
+++ b/setup.el
@@ -281,17 +281,6 @@ functions `func'.  Any other value is invalid."
 (add-to-list 'elisp-xref-find-def-functions
              #'setup--xref-def-function)
 
-(defun setup--describe-macro (symbol)
-  ""
-  (when (assq symbol setup-macros)
-    (let ((start (point)))
-      (insert (or (get symbol 'setup-documentation)
-                  "No documentation."))
-      (fill-region start (point)))))
-
-(add-hook 'help-fns-describe-function-functions
-          #'setup--describe-macro)
-
 
 ;;; Common utility functions for local macros
 

Reply via email to