about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <Vincent Ambo>2020-01-11T23·23+0000
committerVincent Ambo <Vincent Ambo>2020-01-11T23·23+0000
commit829de752da8039c7e3dab99db06d4e2112ca6ef4 (patch)
tree52e13d18bccc59a60d5c5bd905f12f120d8f5907 /tools
parent700a4c2e052c1d7ec4beda1f4cdc6de96718a47d (diff)
fix(emacs.d): Trim superfluous whitespace from TODO comments r/370
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs/config/functions.el2
1 files changed, 1 insertions, 1 deletions
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))))