diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-04-05 10:05:14 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2019-04-05 10:05:14 +0200 |
| commit | afdf846cdea02e5156b1849906b96d92247f0ac9 (patch) | |
| tree | 2ad7c851bfa989159ad92c3ced382a0d64e1e87e /.emacs | |
| parent | cc7f3629d2da9f2fdf96e588562066fb3a229bfb (diff) | |
| download | dotfiles-afdf846cdea02e5156b1849906b96d92247f0ac9.tar.xz | |
Add documentation to lambdas created by my/make-tabless
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -227,9 +227,10 @@ ;; Helper functions and miscellaneous settings. (defun my/make-tabless (f) - "Make a function which will run F with indent-tabs-mode disabled." - (lambda () (interactive) - ;; TODO: copy documentation from F + "Make a function which will run F with `indent-tabs-mode' disabled." + (lambda () + (:documentation (format "Run `%s' with `indent-tabs-mode' set to nil." f)) + (interactive) (let ((indent-tabs-mode nil)) (call-interactively f)))) |
