From 829de752da8039c7e3dab99db06d4e2112ca6ef4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 11 Jan 2020 23:23:46 +0000 Subject: fix(emacs.d): Trim superfluous whitespace from TODO comments --- tools/emacs/config/functions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/emacs') diff --git a/tools/emacs/config/functions.el b/tools/emacs/config/functions.el index 2b97130068..a7889ca915 100644 --- a/tools/emacs/config/functions.el +++ b/tools/emacs/config/functions.el @@ -203,7 +203,7 @@ (save-excursion (move-end-of-line nil) (insert (format " %s TODO(%s): %s" - comment-start + (s-trim-right comment-start) (if prefix (read-string "Who needs to do this? ") (getenv "USER")) todo)))) -- cgit 1.4.1