File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -358,36 +358,6 @@ Otherwise open the file and do the changes non-interactively."
358
358
(" ht" . (hydra-cljr-toplevel-form-menu/body " Hydra menu for top level refactorings " ?t (" hydra" )))
359
359
(" hs" . (hydra-cljr-cljr-menu/body " Hydra menu for self features" ?s (" hydra" )))))
360
360
361
- (defun hydra-docstring (type )
362
- (apply
363
- 'concat
364
- (cons
365
- (format " \n %s related refactorings\n ------------------------------------------------------------------------------------------------------------------------------------------------------\n " (s-capitalize (s-replace " -" " " type)))
366
- (->> cljr--all-helpers
367
- (-filter
368
- (lambda (fn-description ) (-contains-p (-last-item (cdr fn-description)) type)))
369
- (-map (lambda (description ) (list (car description)
370
- (nth 1 (cdr description)))))
371
- (-map (lambda (tuple ) (format " _%s _: %- 45s " (car tuple) (cadr tuple))))
372
- (-partition-all 3 )
373
- (-map-first (lambda (line )
374
- (/= 3 (length line)))
375
- (lambda (line )
376
- (cond
377
- ((= 1 (length line))
378
- (cons (car line) '(" " " " )))
379
-
380
- ((= 2 (length line))
381
- (list (car line) (cadr line) " " )))))
382
- (-map (lambda (line ) (apply 'format " %s%s%s\n " line)))))))
383
-
384
- (defun hydra-heads (type )
385
- (->> cljr--all-helpers
386
- (-filter
387
- (lambda (fn-description ) (-contains-p (-last-item (cdr fn-description)) type)))
388
- (-map (lambda (description ) (list (format " %s " (car description))
389
- (cadr description))))))
390
-
391
361
(defhydra hydra-cljr-ns-menu (:color pink :hint nil )
392
362
"
393
363
Ns related refactorings
You can’t perform that action at this time.
0 commit comments