Function: semantic-emacs-lisp-obsoleted-doc

semantic-emacs-lisp-obsoleted-doc is a byte-compiled function defined in el.el.gz.

Signature

(semantic-emacs-lisp-obsoleted-doc TAG)

Documentation

Indicate that TAG is a new name that has obsoleted some old name.

Unfortunately, this requires that the tag in question has been loaded into Emacs Lisp's memory.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/bovine/el.el.gz
(defun semantic-emacs-lisp-obsoleted-doc (tag)
  "Indicate that TAG is a new name that has obsoleted some old name.
Unfortunately, this requires that the tag in question has been loaded
into Emacs Lisp's memory."
  (let ((obsoletethis (intern-soft (semantic-tag-name tag)))
	(obsoleter nil))
    ;; This asks if our tag is available in the Emacs name space for querying.
    (when obsoletethis
      (mapatoms (lambda (a)
		  (let ((oi (get a 'byte-obsolete-info)))
		    (if (and oi (eq (car oi) obsoletethis))
			(setq obsoleter a)))))
      (if obsoleter
	  (format "\n@obsolete{%s,%s}" obsoleter (semantic-tag-name tag))
	""))))