diff options
Diffstat (limited to 'lisp/eshell/esh-module.el')
-rw-r--r-- | lisp/eshell/esh-module.el | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el index 45c4c9e13c0..10994ba3010 100644 --- a/lisp/eshell/esh-module.el +++ b/lisp/eshell/esh-module.el @@ -65,16 +65,15 @@ Changes will only take effect in future Eshell buffers." :type (append (list 'set ':tag "Supported modules") (mapcar - (function - (lambda (modname) - (let ((modsym (intern modname))) - (list 'const - ':tag (format "%s -- %s" modname - (get modsym 'custom-tag)) - ':link (caar (get modsym 'custom-links)) - ':doc (concat "\n" (get modsym 'group-documentation) - "\n ") - modsym)))) + (lambda (modname) + (let ((modsym (intern modname))) + (list 'const + ':tag (format "%s -- %s" modname + (get modsym 'custom-tag)) + ':link (caar (get modsym 'custom-links)) + ':doc (concat "\n" (get modsym 'group-documentation) + "\n ") + modsym))) (sort (mapcar 'symbol-name (eshell-subgroups 'eshell-module)) 'string-lessp)) |