Function: idlwave-substitute-link-target

idlwave-substitute-link-target is a byte-compiled function defined in idlwave.el.gz.

Signature

(idlwave-substitute-link-target LINK TARGET)

Documentation

Substitute the TARGET anchor for the given LINK.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/idlwave.el.gz
(defun idlwave-substitute-link-target (link target)
  "Substitute the TARGET anchor for the given LINK."
  (let (main-base)
    (setq main-base (if (string-match "#" link)
			(substring link 0 (match-beginning 0))
		      link))
    (if target
	(concat main-base idlwave-html-link-sep (number-to-string target))
      link)))