[slime-cvs] CVS slime

CVS User sboukarev sboukarev at common-lisp.net
Fri May 25 01:25:06 UTC 2012


Update of /project/slime/cvsroot/slime
In directory tiger.common-lisp.net:/tmp/cvs-serv16116

Modified Files:
	ChangeLog slime.el 
Log Message:
* 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).


--- /project/slime/cvsroot/slime/ChangeLog	2012/05/21 08:08:07	1.2341
+++ /project/slime/cvsroot/slime/ChangeLog	2012/05/25 01:25:05	1.2342
@@ -1,3 +1,10 @@
+2012-05-25  Stas Boukarev  <stassats at 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 at common-lisp.net>
 
 	Reduce dependecy on pre-defined faces.
--- /project/slime/cvsroot/slime/slime.el	2012/05/21 08:08:07	1.1408
+++ /project/slime/cvsroot/slime/slime.el	2012/05/25 01:25:06	1.1409
@@ -786,7 +786,7 @@
   "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 ()





More information about the slime-cvs mailing list