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

Lines Matching +defs:function +defs:list

57 A list of elements of the form (FROM . TO), each meaning to replace
169 The value is a list of regular expressions.
178 The value is a list of the form (FILENUM DEVNUM).
341 Each transform is a list (REGEXP REPLACEMENT UNIQUIFY):
351 All the transforms in the list are tried, in the order they are listed.
362 :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement")
380 Each function is called with the directory name as the sole argument
485 variables list in the file will be ignored.
518 "History list of file names entered in the minibuffer.")
521 (put 'ange-ftp-completion-hook-function 'safe-magic t)
522 (defun ange-ftp-completion-hook-function (op &rest args)
528 (apply 'ange-ftp-hook-function op args)
530 (cons 'ange-ftp-completion-hook-function
545 This function's standard definition is trivial; it just returns
567 non-empty string that was inserted by this function.
570 If the user exits with an empty minibuffer, this function returns
594 "Value of the CDPATH environment variable, as a list.
598 "Explode a search path into a list of directory names.
603 (let (cd-list (cd-start 0) cd-colon)
606 (setq cd-list
607 (nconc cd-list
608 (list (if (= cd-start cd-colon)
614 cd-list)))
634 that list of directories (separated by occurrences of
638 (list (read-directory-name "Change default directory: "
646 (setq cd-path (or trypath (list "./")))))
649 (function (lambda (x)
662 (interactive (list (let ((completion-ignored-extensions
671 PATH should be a list of directories to look in, like the lists in
673 If SUFFIXES is non-nil, it should be a list of suffixes to append to
681 `executable', `readable', `writable', or `exists', or a list of
684 (setq predicate (list predicate)))
707 (add-to-list 'names (if string-dir (concat string-dir file) file))
725 This is an interface to the function `load'."
727 (list (completing-read "Load library: "
779 (or counter (setq counter (list 100)))
781 ;; For speed, remove the ange-ftp completion handler from the list.
787 (delq (rassq 'ange-ftp-completion-hook-function tem) tem)))))
788 (or prev-dirs (setq prev-dirs (list nil)))
797 ;; the most natural way, which on Windows is to call the function
972 (list filename from-coding to-coding)))
990 If BUFFER does not identify an existing buffer, then this function
994 or nil. If BUFFER is nil, then this function chooses a buffer
997 do not put this buffer at the front of the list of recently selected ones.
998 This function returns the buffer it switched to.
1000 This uses the function `display-buffer' as a subroutine; see its
1011 do not put this buffer at the front of the list of recently selected ones.
1013 This uses the function `display-buffer' as a subroutine; see its
1023 This uses the function `display-buffer' as a subroutine; see its
1058 (list (let ((find-file-default
1089 See the function `display-buffer'.
1109 See the function `display-buffer'.
1148 (if (listp value) value (list value)))
1163 (if (listp value) value (list value)))
1178 (if (listp value) value (list value)))
1196 (list (read-file-name
1223 (list (read-file-name
1344 (defcustom find-file-not-true-dirname-list nil
1349 name to this list as a string."
1364 (let ((list (buffer-list)) found)
1365 (while (and (not found) list)
1367 (set-buffer (car list))
1371 (setq found (car list))))
1372 (setq list (cdr list)))
1376 (list (buffer-list)) found)
1379 (while (and (not found) list)
1380 (with-current-buffer (car list)
1389 (setq found (car list))))
1390 (setq list (cdr list))))
1428 used and expanded, return a list of buffers that are visiting
1447 (error (list filename))))
1624 (signal 'file-error (list "File is not readable"
1635 (signal 'file-error (list "File is not readable"
1647 ;; On VMS, we may want to remember which directory in a search list
1654 (not (member logical find-file-not-true-dirname-list)))
1684 This function ensures that none of these modifications will take place."
1689 (find-buffer-file-type-function
1691 (symbol-function 'find-buffer-file-type)
1701 (if find-buffer-file-type-function
1702 (fset 'find-buffer-file-type find-buffer-file-type-function)
1707 (signal 'file-error (list "Opening input file" "file is a directory"
1720 This function is meant for the user to run interactively.
1740 You cannot absolutely rely on this function to result in
1757 "Called after finding a file and by the default revert function.
1852 This function is called automatically from `find-file'. In that case,
1860 in that case, this function acts as if `enable-local-variables' were t."
1967 ;; The list of archive file extensions should be in sync with
2034 ;; through this list (with the shortened name) rather than start over.
2045 mode function to use. FUNCTION will be called, unless it is nil.
2049 REGEXP and search the list again for another match.
2179 To find the right major mode, this function checks for a -*- mode tag,
2188 If `enable-local-variables' is nil, this function does not check for a
2320 (eq (indirect-function mode)
2321 (indirect-function major-mode)))
2391 Add expressions to this list if you want Emacs to evaluate them, when
2405 buffer-undo-list
2485 (put 'c-set-style 'safe-local-eval-function t)
2501 (insert "The local variables list in " name
2507 (insert "The local variables list in " name
2509 (insert "A local variables list is specified in " name ".")))
2511 y -- to apply the local variables list.
2512 n -- to ignore the local variables list.")
2515 ! -- to apply the local variables list, and permanently mark these
2561 (add-to-list 'safe-local-variable-values elt))
2670 (error "Local variables list is not properly terminated"))
2769 * The `safe-local-variable' property of SYM is a function that
2781 * Its name ends with \"hook(s)\", \"function(s)\", \"form(s)\", \"map\",
2828 (let ((prop (get (car exp) 'safe-local-eval-function)))
2839 (dolist (function prop)
2840 (if (funcall function exp)
2846 If VAR is `mode', call `VAL-mode' as a function unless it's
2851 (unless (eq (indirect-function mode)
2852 (indirect-function major-mode))
2859 ;; so it is risky to put them on with a local variable list.
2869 \(1) a local variables list or the `-*-' line specifies a major mode, or
2945 (kill-local-variable 'revert-buffer-function)
2984 ;; Don't change the mode if the local variable list specifies it.
3000 If optional second arg CONFIRM is non-nil, this function
3005 (list (if buffer-file-name
3219 (defcustom make-backup-file-name-function nil
3220 "A function to use instead of the default `make-backup-file-name'.
3230 (function :tag "Your function")))
3256 "Default `backup-enable-predicate' function.
3282 If the variable `make-backup-file-name-function' is non-nil, its value
3283 should be a function which will be called with FILE as its argument;
3289 (if make-backup-file-name-function
3290 (funcall make-backup-file-name-function file)
3356 This is a separate function so you can redefine it for customization.
3378 Value is a list whose car is the name for the backup file
3379 and whose cdr is a list of old versions to consider deleting now.
3384 ;; Run a handler for this function so that ange-ftp can refuse to do it.
3392 (list (make-backup-file-name fn))
3416 (list (make-backup-file-name fn))
3434 ;; This function returns a relative file name which is equivalent to FILENAME
3474 This function returns a relative file name which is equivalent to FILENAME
3612 Before and after saving the buffer, this function runs
3868 If PRED is a zero-argument function, it indicates for each buffer whether
3877 (dolist (buffer (buffer-list))
3888 (function
3908 (function
3912 (buffer-list)
3937 It is not a good idea to use this function in Lisp programs, because it
3975 This function is meant for the user to run interactively.
3983 When called from a function, expects three arguments,
4013 This function is useful for creating multiple shell process buffers
4039 (list (read-file-name "Make directory: " default-directory default-directory
4051 create-list)
4053 (setq create-list (cons dir create-list)
4055 (while create-list
4056 (make-directory-internal (car create-list))
4057 (setq create-list (cdr create-list))))))))
4060 (put 'revert-buffer-function 'permanent-local t)
4061 (defvar revert-buffer-function nil
4063 The function receives two arguments IGNORE-AUTO and NOCONFIRM,
4066 (put 'revert-buffer-insert-file-contents-function 'permanent-local t)
4067 (defvar revert-buffer-insert-file-contents-function nil
4072 The function you specify is responsible for updating (or preserving) point.")
4074 (defvar buffer-stale-function nil
4076 This should be a function with one optional argument NOCONFIRM.
4077 Auto Revert Mode passes t for NOCONFIRM. The function should return
4081 this function is called.
4093 If `revert-buffer-function' is used to override the normal revert
4102 If `revert-buffer-function' is used to override the normal revert
4115 for example, Dired buffers and `buffer-list' buffers. In these cases,
4131 If the value of `revert-buffer-function' is non-nil, it is called to
4134 and the end, and if `revert-buffer-insert-file-contents-function' is
4143 (interactive (list (not current-prefix-arg)))
4144 (if revert-buffer-function
4145 (funcall revert-buffer-function ignore-auto noconfirm)
4180 (revert-buffer-insert-file-contents-function
4181 (unless (eq buffer-undo-list t)
4183 (setq buffer-undo-list nil))
4185 (let ((buffer-undo-list t))
4186 (funcall revert-buffer-insert-file-contents-function
4304 (if (null auto-save-list-file-prefix)
4305 (error "You set `auto-save-list-file-prefix' to disable making session files"))
4306 (let ((dir (file-name-directory auto-save-list-file-prefix)))
4312 auto-save-list-file-prefix)))
4316 (dired (concat auto-save-list-file-prefix "*")
4344 ;; Read in the auto-save-list file.
4359 ;; auto-save-list file is probably corrupted.
4403 (defun kill-some-buffers (&optional list)
4406 specifies the list of buffers to kill, asking for approval for each one."
4408 (if (null list)
4409 (setq list (buffer-list)))
4410 (while list
4411 (let* ((buffer (car list))
4423 (setq list (cdr list))))
4466 before calling this function. You can redefine this for customization.
4473 (let ((list auto-save-file-name-transforms)
4478 (while (and list (not result))
4479 (if (string-match (car (car list)) filename)
4480 (setq result (replace-match (cadr (car list)) t nil
4482 uniq (car (cddr (car list)))))
4483 (setq list (cdr list)))
4646 (defcustom list-directory-brief-switches
4648 "Switches for `list-directory' to pass to `ls' for brief listing."
4652 (defcustom list-directory-verbose-switches
4656 "Switches for `list-directory' to pass to `ls' for verbose listing."
4662 This returns a list of file names which match the pattern.
4674 ;; A list of all dirs that DIRPART specifies.
4680 (list dirpart)))
4697 (mapcar (function (lambda (name) (concat (car dirs) name)))
4704 (defun list-directory (dirname &optional verbose)
4705 "Display a list of files in or matching DIRNAME, a la `ls'.
4708 Actions controlled by variables `list-directory-brief-switches'
4709 and `list-directory-verbose-switches'."
4711 (list (read-file-name (if pfx "List directory (verbose): "
4715 (let ((switches (if verbose list-directory-verbose-switches
4716 list-directory-brief-switches))
4794 If the function `file-system-info' is defined, it is always used in
4811 This function calls `file-system-info' if it is available, or invokes the
4919 SWITCHES may be a string of options, or a list of strings
4929 When SWITCHES contains the long `--dired' option, this function
4984 ;; SunOS 4.1.3, SVr4 and others need the "." to list the
4999 (list
5094 (push (list (point) (line-end-position)) error-lines))
5175 So this function converts to them to real buffer positions.
5176 ERROR-LINES is a list of buffer positions of error message lines,
5204 be a predicate function such as `yes-or-no-p'."
5216 (and (or (not (memq t (mapcar (function
5219 (buffer-list))))
5221 (or (not (fboundp 'process-list))
5222 ;; process-list is not defined on VMS.
5223 (let ((processes (process-list))
5231 (list-processes t)
5247 ;; We depend on being the last handler on the list,
5260 ;; Get a list of the indices of the args which are file names.
5336 (define-key ctl-x-map "\C-d" 'list-directory)