Function: idlwave-prev-index-position

idlwave-prev-index-position is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-prev-index-position)

Documentation

Search for the previous procedure or function.

Return nil if not found. For use with imenu.el.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
;; ----------------------------------------------------------------------------
;;
;; Online Help display


;; ----------------------------------------------------------------------------
;;
;; Additions for use with imenu.el
;; (pop-up a list of IDL units in the current file).
;;

(defun idlwave-prev-index-position ()
  "Search for the previous procedure or function.
Return nil if not found.  For use with imenu.el."
  (save-match-data
    (cond
     ((idlwave-find-key "\\<\\(pro\\|function\\)\\>" -1 'nomark))
     ;;   ((idlwave-find-key idlwave-begin-unit-reg 1 'nomark)
     (t nil))))