From f6b0811650b444da31920d675697569e6b36f218 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 19 Aug 2012 00:31:18 +0200 Subject: [PATCH] emacs/eshell-init.el --- emacs/eshell-init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/emacs/eshell-init.el b/emacs/eshell-init.el index 1dd8773..16f221d 100644 --- a/emacs/eshell-init.el +++ b/emacs/eshell-init.el @@ -28,10 +28,11 @@ " " (propertize (oni:shorten-dir dir) 'face 'font-lock-string-face) " " - (propertize (when (not (string= branch "")) - ;; Cut off "* " and "\n" - (substring branch 2 -1)) - 'face 'font-lock-function-name-face) + (when (not (string= branch "")) + (propertize + ;; Cut off "* " and "\n" + (substring branch 2 -1) + 'face 'font-lock-function-name-face)) " \n" (propertize (char-to-string userstatus) 'face `(:foreground ,(oni:color sky-blue-1)))