Commit c2e145b9 authored by Stas Boukarev's avatar Stas Boukarev

* slime.el (slime-oneliner): Use minibuffer width instead of the

width of the current frame, minibuffer can be in a separate frame
with a different width.
Patch by Greg Pfeil (lp#1004252).
parent 84321f7d
2012-05-25 Stas Boukarev <stassats@gmail.com>
* slime.el (slime-oneliner): Use minibuffer width instead of the
width of the current frame, minibuffer can be in a separate frame
with a different width.
Patch by Greg Pfeil (lp#1004252).
2012-05-21 Helmut Eller <heller@common-lisp.net>
Reduce dependecy on pre-defined faces.
......
......@@ -786,7 +786,7 @@ It should be used for \"background\" messages such as argument lists."
"Return STRING truncated to fit in a single echo-area line."
(substring string 0 (min (length string)
(or (position ?\n string) most-positive-fixnum)
(1- (frame-width)))))
(1- (window-width (minibuffer-window))))))
;; Interface
(defun slime-set-truncate-lines ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment