Function: idlwave-choose

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

Signature

(idlwave-choose FUNCTION &rest ARGS)

Documentation

Call FUNCTION as a completion chooser and pass ARGS to it.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/idlwave.el.gz
(defun idlwave-choose (function &rest args)
  "Call FUNCTION as a completion chooser and pass ARGS to it."
  (let ((completion-ignore-case t))	    ; install correct value
    (apply function args))
  (if (and (derived-mode-p 'idlwave-shell-mode)
	   (not font-lock-mode))
      ;; For the shell, remove the fontification of the word before point
      (let ((beg (save-excursion
		   (skip-chars-backward "a-zA-Z0-9_")
		   (point))))
	(remove-text-properties beg (point) '(face nil))))
  (funcall idlwave--complete-after-success-force-function))