diff options
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)))) |
