diff options
| author | Dan Nicolaescu | 2007-10-31 06:28:09 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2007-10-31 06:28:09 +0000 |
| commit | 91dd4dc44291d513b64ee95736c0b1dbd519bd82 (patch) | |
| tree | 254c41df95ab1b66ba0c8aefdf275e5b50869355 /lisp/textmodes | |
| parent | 2c3a09b1ac5070ffe0371c7ca9ea1bcf4f462237 (diff) | |
| download | emacs-91dd4dc44291d513b64ee95736c0b1dbd519bd82.tar.gz emacs-91dd4dc44291d513b64ee95736c0b1dbd519bd82.zip | |
* progmodes/mixal-mode.el (mixal-run, mixal-debug): Call mixvm
only if it is bound.
* textmodes/reftex.el: Move autoloads for before all uses.
(reftex-make-overlay, reftex-overlay-put, reftex-move-overlay)
(reftex-delete-overlay): Move to the top level with the condition
in the body.
* progmodes/simula.el: Use when instead of if.
* iimage.el (iimage-locate-file): Define unconditionally.
* mail/mailabbrev.el (mail-abbrev-next-line):
* emulation/vip.el (vip-enlarge-region, vip-line)
(vip-next-line-at-bol, vip-previous-line)
(vip-previous-line-at-bol, vip-find-char, vip-put-back, ex-read):
Wrap with-no-warnings around uses of next-line and previous-line.
* ediff.el (run-ediff-from-cvs-buffer):
* ediff-vers.el (cvs-run-ediff-on-file-descriptor): Remove
function not used by pcl-cvs anymore.
(noninteractive, generic-sc-get-latest-rev)
(ediff-generic-sc-internal, ediff-generic-sc-merge-internal):
Delete support for long obsolete generic-sc.el.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/reftex.el | 344 |
1 files changed, 171 insertions, 173 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 0c1beb17763..5383d88c386 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -338,6 +338,169 @@ | |||
| 338 | (defvar reftex-toc-auto-recenter-timer nil | 338 | (defvar reftex-toc-auto-recenter-timer nil |
| 339 | "The idle timer used to recenter the toc window.") | 339 | "The idle timer used to recenter the toc window.") |
| 340 | 340 | ||
| 341 | ;;; ========================================================================= | ||
| 342 | ;;; | ||
| 343 | ;;; Parser functions | ||
| 344 | |||
| 345 | (autoload 'reftex-parse-one "reftex-parse" | ||
| 346 | "Re-parse this file." t) | ||
| 347 | (autoload 'reftex-parse-all "reftex-parse" | ||
| 348 | "Re-parse entire document." t) | ||
| 349 | (autoload 'reftex-do-parse "reftex-parse") | ||
| 350 | (autoload 'reftex-where-am-I "reftex-parse") | ||
| 351 | (autoload 'reftex-init-section-numbers "reftex-parse") | ||
| 352 | (autoload 'reftex-section-info "reftex-parse") | ||
| 353 | (autoload 'reftex-section-number "reftex-parse") | ||
| 354 | (autoload 'reftex-what-macro "reftex-parse") | ||
| 355 | (autoload 'reftex-what-macro-safe "reftex-parse") | ||
| 356 | (autoload 'reftex-index-info "reftex-parse") | ||
| 357 | (autoload 'reftex-index-info-safe "reftex-parse") | ||
| 358 | (autoload 'reftex-short-context "reftex-parse") | ||
| 359 | (autoload 'reftex-what-environment "reftex-parse") | ||
| 360 | (autoload 'reftex-what-special-env "reftex-parse") | ||
| 361 | (autoload 'reftex-move-over-touching-args "reftex-parse") | ||
| 362 | (autoload 'reftex-notice-new "reftex-parse") | ||
| 363 | (autoload 'reftex-nth-arg "reftex-parse") | ||
| 364 | (autoload 'reftex-locate-bibliography-files "reftex-parse") | ||
| 365 | (autoload 'reftex-ensure-index-support "reftex-parse") | ||
| 366 | (autoload 'reftex-everything-regexp "reftex-parse") | ||
| 367 | |||
| 368 | |||
| 369 | ;;; ========================================================================= | ||
| 370 | ;;; | ||
| 371 | ;;; Labels and References | ||
| 372 | |||
| 373 | (autoload 'reftex-label-location "reftex-ref") | ||
| 374 | (autoload 'reftex-label-info-update "reftex-ref") | ||
| 375 | (autoload 'reftex-label-info "reftex-ref") | ||
| 376 | (autoload 'reftex-label "reftex-ref" | ||
| 377 | "Insert a unique label." t) | ||
| 378 | (autoload 'reftex-reference "reftex-ref" | ||
| 379 | "Make a LaTeX reference." t) | ||
| 380 | (autoload 'reftex-varioref-vref "reftex-ref" | ||
| 381 | "Make a varioref reference." t) | ||
| 382 | (autoload 'reftex-fancyref-fref "reftex-ref" | ||
| 383 | "Make a fancyref \\fref reference." t) | ||
| 384 | (autoload 'reftex-fancyref-Fref "reftex-ref" | ||
| 385 | "Make a fancyref \\Fref reference." t) | ||
| 386 | (autoload 'reftex-show-label-location "reftex-ref") | ||
| 387 | (autoload 'reftex-query-label-type "reftex-ref") | ||
| 388 | (autoload 'reftex-goto-label "reftex-ref" | ||
| 389 | "Prompt for label name and go to that location." t) | ||
| 390 | |||
| 391 | ;;; ========================================================================= | ||
| 392 | ;;; | ||
| 393 | ;;; Table of contents | ||
| 394 | |||
| 395 | (autoload 'reftex-toc "reftex-toc" | ||
| 396 | "Show the table of contents for the current document." t) | ||
| 397 | (autoload 'reftex-toc-recenter "reftex-toc" | ||
| 398 | "Display the TOC window and highlight line corresponding to current position." t) | ||
| 399 | (autoload 'reftex-toggle-auto-toc-recenter "reftex-toc" | ||
| 400 | "Toggle automatic recentering of TOC window." t) | ||
| 401 | |||
| 402 | ;;; ========================================================================= | ||
| 403 | ;;; | ||
| 404 | ;;; BibTeX citations. | ||
| 405 | |||
| 406 | (autoload 'reftex-citep "reftex-cite") | ||
| 407 | (autoload 'reftex-citet "reftex-cite") | ||
| 408 | (autoload 'reftex-make-cite-echo-string "reftex-cite") | ||
| 409 | (autoload 'reftex-get-bibfile-list "reftex-cite") | ||
| 410 | (autoload 'reftex-pop-to-bibtex-entry "reftex-cite") | ||
| 411 | (autoload 'reftex-end-of-bib-entry "reftex-cite") | ||
| 412 | (autoload 'reftex-parse-bibtex-entry "reftex-cite") | ||
| 413 | (autoload 'reftex-citation "reftex-cite" | ||
| 414 | "Make a citation using BibTeX database files." t) | ||
| 415 | (autoload 'reftex-default-bibliography "reftex-cite") | ||
| 416 | (autoload 'reftex-bib-or-thebib "reftex-cite") | ||
| 417 | (autoload 'reftex-create-bibtex-file "reftex-cite") | ||
| 418 | |||
| 419 | ;;; ========================================================================= | ||
| 420 | ;;; | ||
| 421 | ;;; Selection | ||
| 422 | |||
| 423 | (autoload 'reftex-select-label-mode "reftex-sel") | ||
| 424 | (autoload 'reftex-select-bib-mode "reftex-sel") | ||
| 425 | (autoload 'reftex-find-start-point "reftex-sel") | ||
| 426 | (autoload 'reftex-insert-docstruct "reftex-sel") | ||
| 427 | (autoload 'reftex-get-offset "reftex-sel") | ||
| 428 | (autoload 'reftex-select-item "reftex-sel") | ||
| 429 | |||
| 430 | |||
| 431 | ;;; ========================================================================= | ||
| 432 | ;;; | ||
| 433 | ;;; Index support | ||
| 434 | |||
| 435 | (autoload 'reftex-index "reftex-index" | ||
| 436 | "Query for an index macro and insert it along with its argments." t) | ||
| 437 | (autoload 'reftex-index-selection-or-word "reftex-index" | ||
| 438 | "Put selection or the word near point into the default index macro." t) | ||
| 439 | (autoload 'reftex-index-phrase-selection-or-word "reftex-index" | ||
| 440 | "Put selection or the word near point into Index Phrases File." t) | ||
| 441 | (autoload 'reftex-display-index "reftex-index" | ||
| 442 | "Display a buffer with an index compiled from the current document." t) | ||
| 443 | (autoload 'reftex-index-visit-phrases-buffer "reftex-index" | ||
| 444 | "Visit the Index Phrases File." t) | ||
| 445 | (autoload 'reftex-index-phrases-mode "reftex-index" | ||
| 446 | "Major mode for managing the Index phrases of a LaTeX document." t) | ||
| 447 | (autoload 'reftex-index-complete-tag "reftex-index") | ||
| 448 | (autoload 'reftex-index-complete-key "reftex-index") | ||
| 449 | (autoload 'reftex-index-show-entry "reftex-index") | ||
| 450 | (autoload 'reftex-index-select-tag "reftex-index") | ||
| 451 | |||
| 452 | |||
| 453 | ;;; ========================================================================= | ||
| 454 | ;;; | ||
| 455 | ;;; View cross references | ||
| 456 | |||
| 457 | (autoload 'reftex-view-crossref "reftex-dcr" | ||
| 458 | "View cross reference of \\ref or \\cite macro at point." t) | ||
| 459 | (autoload 'reftex-mouse-view-crossref "reftex-dcr" | ||
| 460 | "View cross reference of \\ref or \\cite macro where you click." t) | ||
| 461 | (autoload 'reftex-toggle-auto-view-crossref "reftex-dcr") | ||
| 462 | (autoload 'reftex-view-crossref-from-bibtex "reftex-dcr" | ||
| 463 | "View location in a LaTeX document which cites the BibTeX entry at point." t) | ||
| 464 | |||
| 465 | |||
| 466 | ;;; ========================================================================= | ||
| 467 | ;;; | ||
| 468 | ;;; Operations on entire Multifile documents | ||
| 469 | |||
| 470 | (autoload 'reftex-create-tags-file "reftex-global" | ||
| 471 | "Create TAGS file by running `etags' on the current document." t) | ||
| 472 | (autoload 'reftex-grep-document "reftex-global" | ||
| 473 | "Run grep query through all files related to this document." t) | ||
| 474 | (autoload 'reftex-search-document "reftex-global" | ||
| 475 | "Regexp search through all files of the current TeX document." t) | ||
| 476 | (autoload 'reftex-query-replace-document "reftex-global" | ||
| 477 | "Run a query-replace-regexp of FROM with TO over the entire TeX document." t) | ||
| 478 | (autoload 'reftex-find-duplicate-labels "reftex-global" | ||
| 479 | "Produce a list of all duplicate labels in the document." t) | ||
| 480 | (autoload 'reftex-change-label "reftex-global" | ||
| 481 | "Query replace FROM with TO in all \\label and \\ref commands." t) | ||
| 482 | (autoload 'reftex-renumber-simple-labels "reftex-global" | ||
| 483 | "Renumber all simple labels in the document to make them sequentially." t) | ||
| 484 | (autoload 'reftex-save-all-document-buffers "reftex-global" | ||
| 485 | "Save all documents associated with the current document." t) | ||
| 486 | |||
| 487 | |||
| 488 | ;;; ========================================================================= | ||
| 489 | ;;; | ||
| 490 | ;;; AUCTeX Interface | ||
| 491 | |||
| 492 | (autoload 'reftex-arg-label "reftex-auc") | ||
| 493 | (autoload 'reftex-arg-cite "reftex-auc") | ||
| 494 | (autoload 'reftex-arg-index-tag "reftex-auc") | ||
| 495 | (autoload 'reftex-arg-index "reftex-auc") | ||
| 496 | (autoload 'reftex-plug-into-AUCTeX "reftex-auc") | ||
| 497 | (autoload 'reftex-toggle-plug-into-AUCTeX "reftex-auc" | ||
| 498 | "Toggle Interface between AUCTeX and RefTeX on and off." t) | ||
| 499 | (autoload 'reftex-add-label-environments "reftex-auc") | ||
| 500 | (autoload 'reftex-add-to-label-alist "reftex-auc") | ||
| 501 | (autoload 'reftex-add-section-levels "reftex-auc") | ||
| 502 | (autoload 'reftex-notice-new-section "reftex-auc") | ||
| 503 | |||
| 341 | ;;;###autoload | 504 | ;;;###autoload |
| 342 | (defun turn-on-reftex () | 505 | (defun turn-on-reftex () |
| 343 | "Turn on RefTeX mode." | 506 | "Turn on RefTeX mode." |
| @@ -1608,169 +1771,6 @@ When DIE is non-nil, throw an error if file not found." | |||
| 1608 | 1771 | ||
| 1609 | ;;; ========================================================================= | 1772 | ;;; ========================================================================= |
| 1610 | ;;; | 1773 | ;;; |
| 1611 | ;;; Parser functions | ||
| 1612 | |||
| 1613 | (autoload 'reftex-parse-one "reftex-parse" | ||
| 1614 | "Re-parse this file." t) | ||
| 1615 | (autoload 'reftex-parse-all "reftex-parse" | ||
| 1616 | "Re-parse entire document." t) | ||
| 1617 | (autoload 'reftex-do-parse "reftex-parse") | ||
| 1618 | (autoload 'reftex-where-am-I "reftex-parse") | ||
| 1619 | (autoload 'reftex-init-section-numbers "reftex-parse") | ||
| 1620 | (autoload 'reftex-section-info "reftex-parse") | ||
| 1621 | (autoload 'reftex-section-number "reftex-parse") | ||
| 1622 | (autoload 'reftex-what-macro "reftex-parse") | ||
| 1623 | (autoload 'reftex-what-macro-safe "reftex-parse") | ||
| 1624 | (autoload 'reftex-index-info "reftex-parse") | ||
| 1625 | (autoload 'reftex-index-info-safe "reftex-parse") | ||
| 1626 | (autoload 'reftex-short-context "reftex-parse") | ||
| 1627 | (autoload 'reftex-what-environment "reftex-parse") | ||
| 1628 | (autoload 'reftex-what-special-env "reftex-parse") | ||
| 1629 | (autoload 'reftex-move-over-touching-args "reftex-parse") | ||
| 1630 | (autoload 'reftex-notice-new "reftex-parse") | ||
| 1631 | (autoload 'reftex-nth-arg "reftex-parse") | ||
| 1632 | (autoload 'reftex-locate-bibliography-files "reftex-parse") | ||
| 1633 | (autoload 'reftex-ensure-index-support "reftex-parse") | ||
| 1634 | (autoload 'reftex-everything-regexp "reftex-parse") | ||
| 1635 | |||
| 1636 | |||
| 1637 | ;;; ========================================================================= | ||
| 1638 | ;;; | ||
| 1639 | ;;; Labels and References | ||
| 1640 | |||
| 1641 | (autoload 'reftex-label-location "reftex-ref") | ||
| 1642 | (autoload 'reftex-label-info-update "reftex-ref") | ||
| 1643 | (autoload 'reftex-label-info "reftex-ref") | ||
| 1644 | (autoload 'reftex-label "reftex-ref" | ||
| 1645 | "Insert a unique label." t) | ||
| 1646 | (autoload 'reftex-reference "reftex-ref" | ||
| 1647 | "Make a LaTeX reference." t) | ||
| 1648 | (autoload 'reftex-varioref-vref "reftex-ref" | ||
| 1649 | "Make a varioref reference." t) | ||
| 1650 | (autoload 'reftex-fancyref-fref "reftex-ref" | ||
| 1651 | "Make a fancyref \\fref reference." t) | ||
| 1652 | (autoload 'reftex-fancyref-Fref "reftex-ref" | ||
| 1653 | "Make a fancyref \\Fref reference." t) | ||
| 1654 | (autoload 'reftex-show-label-location "reftex-ref") | ||
| 1655 | (autoload 'reftex-query-label-type "reftex-ref") | ||
| 1656 | (autoload 'reftex-goto-label "reftex-ref" | ||
| 1657 | "Prompt for label name and go to that location." t) | ||
| 1658 | |||
| 1659 | ;;; ========================================================================= | ||
| 1660 | ;;; | ||
| 1661 | ;;; Table of contents | ||
| 1662 | |||
| 1663 | (autoload 'reftex-toc "reftex-toc" | ||
| 1664 | "Show the table of contents for the current document." t) | ||
| 1665 | (autoload 'reftex-toc-recenter "reftex-toc" | ||
| 1666 | "Display the TOC window and highlight line corresponding to current position." t) | ||
| 1667 | (autoload 'reftex-toggle-auto-toc-recenter "reftex-toc" | ||
| 1668 | "Toggle automatic recentering of TOC window." t) | ||
| 1669 | |||
| 1670 | ;;; ========================================================================= | ||
| 1671 | ;;; | ||
| 1672 | ;;; BibTeX citations. | ||
| 1673 | |||
| 1674 | (autoload 'reftex-citep "reftex-cite") | ||
| 1675 | (autoload 'reftex-citet "reftex-cite") | ||
| 1676 | (autoload 'reftex-make-cite-echo-string "reftex-cite") | ||
| 1677 | (autoload 'reftex-get-bibfile-list "reftex-cite") | ||
| 1678 | (autoload 'reftex-pop-to-bibtex-entry "reftex-cite") | ||
| 1679 | (autoload 'reftex-end-of-bib-entry "reftex-cite") | ||
| 1680 | (autoload 'reftex-parse-bibtex-entry "reftex-cite") | ||
| 1681 | (autoload 'reftex-citation "reftex-cite" | ||
| 1682 | "Make a citation using BibTeX database files." t) | ||
| 1683 | (autoload 'reftex-default-bibliography "reftex-cite") | ||
| 1684 | (autoload 'reftex-bib-or-thebib "reftex-cite") | ||
| 1685 | (autoload 'reftex-create-bibtex-file "reftex-cite") | ||
| 1686 | |||
| 1687 | ;;; ========================================================================= | ||
| 1688 | ;;; | ||
| 1689 | ;;; Selection | ||
| 1690 | |||
| 1691 | (autoload 'reftex-select-label-mode "reftex-sel") | ||
| 1692 | (autoload 'reftex-select-bib-mode "reftex-sel") | ||
| 1693 | (autoload 'reftex-find-start-point "reftex-sel") | ||
| 1694 | (autoload 'reftex-insert-docstruct "reftex-sel") | ||
| 1695 | (autoload 'reftex-get-offset "reftex-sel") | ||
| 1696 | (autoload 'reftex-select-item "reftex-sel") | ||
| 1697 | |||
| 1698 | |||
| 1699 | ;;; ========================================================================= | ||
| 1700 | ;;; | ||
| 1701 | ;;; Index support | ||
| 1702 | |||
| 1703 | (autoload 'reftex-index "reftex-index" | ||
| 1704 | "Query for an index macro and insert it along with its argments." t) | ||
| 1705 | (autoload 'reftex-index-selection-or-word "reftex-index" | ||
| 1706 | "Put selection or the word near point into the default index macro." t) | ||
| 1707 | (autoload 'reftex-index-phrase-selection-or-word "reftex-index" | ||
| 1708 | "Put selection or the word near point into Index Phrases File." t) | ||
| 1709 | (autoload 'reftex-display-index "reftex-index" | ||
| 1710 | "Display a buffer with an index compiled from the current document." t) | ||
| 1711 | (autoload 'reftex-index-visit-phrases-buffer "reftex-index" | ||
| 1712 | "Visit the Index Phrases File." t) | ||
| 1713 | (autoload 'reftex-index-phrases-mode "reftex-index" | ||
| 1714 | "Major mode for managing the Index phrases of a LaTeX document." t) | ||
| 1715 | (autoload 'reftex-index-complete-tag "reftex-index") | ||
| 1716 | (autoload 'reftex-index-complete-key "reftex-index") | ||
| 1717 | (autoload 'reftex-index-show-entry "reftex-index") | ||
| 1718 | (autoload 'reftex-index-select-tag "reftex-index") | ||
| 1719 | |||
| 1720 | |||
| 1721 | ;;; ========================================================================= | ||
| 1722 | ;;; | ||
| 1723 | ;;; View cross references | ||
| 1724 | |||
| 1725 | (autoload 'reftex-view-crossref "reftex-dcr" | ||
| 1726 | "View cross reference of \\ref or \\cite macro at point." t) | ||
| 1727 | (autoload 'reftex-mouse-view-crossref "reftex-dcr" | ||
| 1728 | "View cross reference of \\ref or \\cite macro where you click." t) | ||
| 1729 | (autoload 'reftex-toggle-auto-view-crossref "reftex-dcr") | ||
| 1730 | (autoload 'reftex-view-crossref-from-bibtex "reftex-dcr" | ||
| 1731 | "View location in a LaTeX document which cites the BibTeX entry at point." t) | ||
| 1732 | |||
| 1733 | |||
| 1734 | ;;; ========================================================================= | ||
| 1735 | ;;; | ||
| 1736 | ;;; Operations on entire Multifile documents | ||
| 1737 | |||
| 1738 | (autoload 'reftex-create-tags-file "reftex-global" | ||
| 1739 | "Create TAGS file by running `etags' on the current document." t) | ||
| 1740 | (autoload 'reftex-grep-document "reftex-global" | ||
| 1741 | "Run grep query through all files related to this document." t) | ||
| 1742 | (autoload 'reftex-search-document "reftex-global" | ||
| 1743 | "Regexp search through all files of the current TeX document." t) | ||
| 1744 | (autoload 'reftex-query-replace-document "reftex-global" | ||
| 1745 | "Run a query-replace-regexp of FROM with TO over the entire TeX document." t) | ||
| 1746 | (autoload 'reftex-find-duplicate-labels "reftex-global" | ||
| 1747 | "Produce a list of all duplicate labels in the document." t) | ||
| 1748 | (autoload 'reftex-change-label "reftex-global" | ||
| 1749 | "Query replace FROM with TO in all \\label and \\ref commands." t) | ||
| 1750 | (autoload 'reftex-renumber-simple-labels "reftex-global" | ||
| 1751 | "Renumber all simple labels in the document to make them sequentially." t) | ||
| 1752 | (autoload 'reftex-save-all-document-buffers "reftex-global" | ||
| 1753 | "Save all documents associated with the current document." t) | ||
| 1754 | |||
| 1755 | |||
| 1756 | ;;; ========================================================================= | ||
| 1757 | ;;; | ||
| 1758 | ;;; AUCTeX Interface | ||
| 1759 | |||
| 1760 | (autoload 'reftex-arg-label "reftex-auc") | ||
| 1761 | (autoload 'reftex-arg-cite "reftex-auc") | ||
| 1762 | (autoload 'reftex-arg-index-tag "reftex-auc") | ||
| 1763 | (autoload 'reftex-arg-index "reftex-auc") | ||
| 1764 | (autoload 'reftex-plug-into-AUCTeX "reftex-auc") | ||
| 1765 | (autoload 'reftex-toggle-plug-into-AUCTeX "reftex-auc" | ||
| 1766 | "Toggle Interface between AUCTeX and RefTeX on and off." t) | ||
| 1767 | (autoload 'reftex-add-label-environments "reftex-auc") | ||
| 1768 | (autoload 'reftex-add-to-label-alist "reftex-auc") | ||
| 1769 | (autoload 'reftex-add-section-levels "reftex-auc") | ||
| 1770 | (autoload 'reftex-notice-new-section "reftex-auc") | ||
| 1771 | |||
| 1772 | ;;; ========================================================================= | ||
| 1773 | ;;; | ||
| 1774 | ;;; Some generally useful functions | 1774 | ;;; Some generally useful functions |
| 1775 | 1775 | ||
| 1776 | (defun reftex-typekey-check (typekey conf-variable &optional n) | 1776 | (defun reftex-typekey-check (typekey conf-variable &optional n) |
| @@ -2334,16 +2334,14 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2334 | (if (facep face) (throw 'exit face))))))) | 2334 | (if (facep face) (throw 'exit face))))))) |
| 2335 | 2335 | ||
| 2336 | ;; Highlighting uses overlays. For XEmacs, we use extends. | 2336 | ;; Highlighting uses overlays. For XEmacs, we use extends. |
| 2337 | (if (featurep 'xemacs) | 2337 | (defalias 'reftex-make-overlay |
| 2338 | (progn | 2338 | (if (featurep 'xemacs) 'make-extent 'make-overlay)) |
| 2339 | (defalias 'reftex-make-overlay 'make-extent) | 2339 | (defalias 'reftex-overlay-put |
| 2340 | (defalias 'reftex-overlay-put 'set-extent-property) | 2340 | (if (featurep 'xemacs) 'set-extent-property 'overlay-put)) |
| 2341 | (defalias 'reftex-move-overlay 'set-extent-endpoints) | 2341 | (defalias 'reftex-move-overlay |
| 2342 | (defalias 'reftex-delete-overlay 'detach-extent)) | 2342 | (if (featurep 'xemacs) 'set-extent-endpoints 'move-overlay)) |
| 2343 | (defalias 'reftex-make-overlay 'make-overlay) | 2343 | (defalias 'reftex-delete-overlay |
| 2344 | (defalias 'reftex-overlay-put 'overlay-put) | 2344 | (if (featurep 'xemacs) 'detach-extent 'delete-overlay)) |
| 2345 | (defalias 'reftex-move-overlay 'move-overlay) | ||
| 2346 | (defalias 'reftex-delete-overlay 'delete-overlay)) | ||
| 2347 | 2345 | ||
| 2348 | ;; We keep a vector with several different overlays to do our highlighting. | 2346 | ;; We keep a vector with several different overlays to do our highlighting. |
| 2349 | (defvar reftex-highlight-overlays [nil nil nil]) | 2347 | (defvar reftex-highlight-overlays [nil nil nil]) |