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

Lines Matching +defs:mode +defs:function

107   (defvar isearch-next-buffer-function))
315 The function is useful after a global action like replacing or renumbering
329 Also checks if buffers visiting the files are in read-only mode."
349 (defun reftex-isearch-wrap-function ()
352 (funcall isearch-next-buffer-function (current-buffer) t)))
355 (defun reftex-isearch-push-state-function ()
357 (reftex-isearch-pop-state-function cmd ,(current-buffer))))
359 (defun reftex-isearch-pop-state-function (cmd buffer)
376 (when isearch-next-buffer-function
381 (funcall isearch-next-buffer-function
390 (funcall isearch-next-buffer-function
400 ;;; This function is called when isearch reaches the end of a
403 ;;; the document. This function looks through list of files in the
427 (defun reftex-isearch-minor-mode (&optional arg)
429 This minor mode allows isearch to search through all the files of
433 `reftex-isearch-minor-mode'. With a prefix argument ARG, turn
434 `reftex-isearch-minor-mode' on iff ARG is positive."
436 (let ((old-reftex-isearch-minor-mode reftex-isearch-minor-mode))
437 (setq reftex-isearch-minor-mode
438 (not (or (and (null arg) reftex-isearch-minor-mode)
440 (unless (eq reftex-isearch-minor-mode old-reftex-isearch-minor-mode)
441 (if reftex-isearch-minor-mode
445 (when reftex-mode
446 (set (make-local-variable 'isearch-wrap-function)
447 'reftex-isearch-wrap-function)
448 (set (make-local-variable 'isearch-search-fun-function)
450 (set (make-local-variable 'isearch-push-state-function)
451 'reftex-isearch-push-state-function)
452 (set (make-local-variable 'isearch-next-buffer-function)
454 (setq reftex-isearch-minor-mode t))))
455 (add-hook 'reftex-mode-hook 'reftex-isearch-minor-mode))
458 (when reftex-mode
459 (kill-local-variable 'isearch-wrap-function)
460 (kill-local-variable 'isearch-search-fun-function)
461 (kill-local-variable 'isearch-push-state-function)
462 (kill-local-variable 'isearch-next-buffer-function)
463 (setq reftex-isearch-minor-mode nil))))
464 (remove-hook 'reftex-mode-hook 'reftex-isearch-minor-mode)))
468 (add-minor-mode 'reftex-isearch-minor-mode "/I" nil nil
469 'reftex-isearch-minor-mode)