Function: idlwave-scroll-completions

idlwave-scroll-completions is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-scroll-completions &optional MESSAGE)

Documentation

Scroll the completion window on this frame.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defun idlwave-scroll-completions (&optional message)
  "Scroll the completion window on this frame."
  (let ((cwin (get-buffer-window "*Completions*" 'visible))
	(win (selected-window)))
    (unwind-protect
	(progn
	  (select-window cwin)
	  (condition-case nil
	      (scroll-up)
	    (error (if (and (listp last-command)
			    (nth 2 last-command))
		       (progn
			 (select-window win)
			 (funcall idlwave--complete-after-success-function))
		     (set-window-start cwin (point-min)))))
	  (and message (message "%s" message)))
      (select-window win))))