about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2016-02-26T01·24+0800
committerChris Feng <chris.w.feng@gmail.com>2016-02-26T01·24+0800
commitbc4aafec1683a27209aec33f44c3947e169860c6 (patch)
tree017f4f46f350b241853ce683dcac4a1634b990c4 /exwm-workspace.el
parent84a9041b20e5477fb2ce2989de9dd2583ef12773 (diff)
Minor fixes for layout and workspace
* exwm-layout.el (exwm-layout-show-mode-line): Force update mode-line.

* exwm-workspace.el (exwm-workspace--update-minibuffer): Treat nil as empty
string.
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 8230bd7628..283b3849db 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -453,7 +453,7 @@ The optional FORCE option is for internal use only."
                               (setq result
                                     (+ result
                                        (ceiling (1+ (length i)) width))))
-                            (split-string (current-message) "\n"))
+                            (split-string (or (current-message) "") "\n"))
                       result)
                   (count-screen-lines))))))
     (when (and (integerp max-mini-window-height)