[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] [Linux] [Cosmetic] Emacs interface patch

hi sc-devs,

quite last minute before 3.2, but maybe still worth considering:

maybe it's just me, but I tend to have the sc PostBuffer in a separate
emacs frame.  the miniscule patch below changes the behaviour of
sclang-show-post-buffer such that if other frames already show the
PostBuffer the current window is not split anymore, e. g. on
recompiling (I found that annoying).



--- SuperCollider_Source/linux/scel/el/sclang-interp.el	2007-05-26 20:48:44.000000000 +0200
+++ SuperCollider_Source.new/linux/scel/el/sclang-interp.el	2008-01-27 12:11:12.000000000 +0100
@@ -97,7 +97,7 @@ Default behavior is to only scroll when 
 If EOB-P is non-nil, positions cursor at end of buffer."
   (interactive "P")
-   (let ((window (display-buffer (current-buffer))))
+   (let ((window (display-buffer (current-buffer) :frame t)))
      (when eob-p
        (goto-char (point-max))

Attachment: signature.asc
Description: Digital signature