• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/textmodes/

Lines Matching +defs:mode +defs:alist

1 ;;; reftex-toc.el --- RefTeX's table of contents mode
46 (defun reftex-toc-mode ()
47 "Major mode for managing Table of Contents for LaTeX files.
56 (setq major-mode 'reftex-toc-mode
57 mode-name "TOC")
59 (set (make-local-variable 'transient-mark-mode) t)
67 (setq mode-line-format
68 (list "---- " 'mode-line-buffer-identification
69 " " 'global-mode-string " (" mode-name ")"
83 (run-hooks 'reftex-toc-mode-hook))
104 f / g Toggle follow mode / Refresh *toc* buffer.
130 ;; If follow mode is active, arrange to delay it one command
131 (if reftex-toc-follow-mode
132 (setq reftex-toc-follow-mode 1))
145 (xr-alist (cons (cons "" (buffer-file-name)) (nth 1 xr-data)))
174 (let ((default-major-mode 'reftex-toc-mode))
177 (or (eq major-mode 'reftex-toc-mode) (reftex-toc-mode))
203 (put-text-property (point-min) (1+ (point-min)) 'xr-alist xr-alist)
280 (if (integerp reftex-toc-follow-mode)
282 (setq reftex-toc-follow-mode t)
284 reftex-toc-follow-mode
322 ;; If follow mode is active, arrange to delay it one command
323 (if reftex-toc-follow-mode
324 (setq reftex-toc-follow-mode 1)))
357 (setq reftex-toc-follow-mode (not reftex-toc-follow-mode)))
526 (xr-alist (get-text-property 1 'xr-alist))
528 xr-alist 0)))
530 (cdr (nth xr-index xr-alist)))
696 (newname (reftex-toc-newhead-from-alist newlevel name
723 (defun reftex-toc-newhead-from-alist (nlevel head alist)
727 the one with the smallest distance to the assocation of HEAD in the alist.
729 if these sets are sorted blocks in the alist."
730 (let* ((al alist)
929 reftex-mode
931 (fboundp 'reftex-toc-mode)
1092 :selected reftex-toc-follow-mode]