(select-window olh-window)
(idlwave-help-quit))
(when (window-live-p ri-window)
- (delete-window ri-window))))
+ (quit-window nil ri-window))))
(defun idlwave-display-calling-sequence (name type class
&optional initial-class)
(display-completion-list allcomp))
;; Wait for a key press. Then delete *Completion* window
(momentary-string-display "" (point))
- (delete-window (get-buffer-window (get-buffer "*Completions*")))
- )))))
+ (quit-window nil (get-buffer-window "*Completions*")))))))
(defun verilog-show-completions ()
"Show all possible completions at current point."
(display-completion-list (nth 2 (verilog-completion-at-point))))
;; Wait for a key press. Then delete *Completion* window
(momentary-string-display "" (point))
- (delete-window (get-buffer-window (get-buffer "*Completions*"))))
+ (quit-window nil (get-buffer-window "*Completions*")))
+
(defun verilog-get-default-symbol ()
"Return symbol around current point as a string."
(customize-set-variable 'inhibit-startup-screen t)
(customize-mark-to-save 'inhibit-startup-screen)
(custom-save-all))
- (let ((w (get-buffer-window "*GNU Emacs*")))
- (and w (not (one-window-p)) (delete-window w)))
- (kill-buffer "*GNU Emacs*")))
+ (quit-windows-on "*GNU Emacs*" t)))
" ")
(when (or user-init-file custom-file)
(let ((checked (create-image "checked.xpm"
;;(defun strokes-edit-quit ()
;; (interactive)
-;; (or (one-window-p t 0)
-;; (delete-window))
-;; (kill-buffer "*Strokes List*"))
+;; (quit-windows-on "*Strokes List*" t))
;;(define-derived-mode edit-strokes-mode list-mode
;; "Edit-Strokes"