~ubuntu-branches/ubuntu/saucy/ecb/saucy

« back to all changes in this revision

Viewing changes to ecb-compatibility.el

  • Committer: Bazaar Package Importer
  • Author(s): Joerg Jaspert
  • Date: 2004-09-01 22:15:18 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040901221518-0jfdt2apb2rj69ey
Tags: 2.27-1
And include latest Upstream too...

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
;; GNU Emacs; see the file COPYING.  If not, write to the Free Software
25
25
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
26
 
27
 
;; $Id: ecb-compatibility.el,v 1.3 2004/02/16 08:56:41 berndl Exp $
 
27
;; $Id: ecb-compatibility.el,v 1.4 2004/02/17 16:50:10 berndl Exp $
28
28
 
29
29
;;; Commentary:
30
30
;;
69
69
    ;; now we handle if bs-show should always display in the compile-window
70
70
    (let ((my-bs-buffer (get-buffer-create "*buffer-selection*")))
71
71
      ;; ecb-compilation-buffer-p needs a living buffer!
72
 
      (if (and (ecb-compilation-buffer-p my-bs-buffer)
73
 
               ecb-compile-window-height)
74
 
          (ecb-with-adviced-functions
75
 
           (display-buffer (buffer-name my-bs-buffer)))))))
 
72
      (when (and (ecb-compilation-buffer-p my-bs-buffer)
 
73
                 ecb-compile-window-height)
 
74
        (ecb-with-adviced-functions
 
75
         (display-buffer (buffer-name my-bs-buffer)))))))
76
76
 
77
77
(defadvice Electric-pop-up-window (around ecb)
78
78
  "Ensures that the electric-* commands \(e.g. `electric-buffer-list') work