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

Lines Matching +defs:mode +defs:function

30 ;; This package features a function called ff-find-other-file, which performs
31 ;; the following function:
58 ;; format above can be changed to include a function to be called when the
61 ;; '(("\\.cc$" cc--function)
62 ;; ("\\.hh$" hh-function))
66 ;; than one function, and one could imagine the following value for cc-other-
181 (defcustom ff-quiet-mode nil
199 `ff-treat-as-special' calls function EXTRACT with no args.
211 This alist should be set by the major mode."
212 :type '(choice (repeat (list regexp (choice (repeat string) function)))
273 :type '(repeat (list regexp (choice (repeat string) function)))
282 :type '(repeat (list regexp (choice (repeat string) function)))
298 (make-variable-buffer-local 'ff-quiet-mode)
344 - `ff-quiet-mode'
391 action ;; function to generate the names of the other files
448 ;; if we have a function to generate new names,
526 action ;; function to generate the names of the other files
581 ;; if we have a function to generate new names,
665 (if (not ff-quiet-mode)
707 (if (not ff-quiet-mode)
826 or `switch-to-buffer' / `switch-to-buffer-other-window' function pairs.
870 ;; This section offers an example of user defined function to select files
942 ;; This section offers an example of user defined function to place point.
945 (defvar ff-function-name nil "Name of the function we are in.")
947 ;; bind with (setq ff-pre-load-hook 'ff-which-function-are-we-in)
952 (defun ff-which-function-are-we-in ()
953 "Return the name of the function whose definition/declaration point is in.
954 Also remember that name in `ff-function-name'."
955 (setq ff-function-name
964 "Find the function specified in `ff-function-name'.
965 That name was previously determined by `ff-which-function-are-we-in'."
966 (if ff-function-name
969 (search-forward ff-function-name nil t))))