comparison lisp/files.el @ 31914:ce648c184860

(find-file-suppress-same-file-warnings): period in doc string
author Sam Steingold <sds@gnu.org>
date Tue, 26 Sep 2000 16:25:29 +0000
parents 187803ce240e
children 4c0c7d7a9edc
comparison
equal deleted inserted replaced
31913:8e8bafe8c566 31914:ce648c184860
968 968
969 (defcustom find-file-suppress-same-file-warnings nil 969 (defcustom find-file-suppress-same-file-warnings nil
970 "*Non-nil means suppress warning messages for symlinked files. 970 "*Non-nil means suppress warning messages for symlinked files.
971 When nil, Emacs prints a warning when visiting a file that is already 971 When nil, Emacs prints a warning when visiting a file that is already
972 visited, but with a different name. Setting this option to t 972 visited, but with a different name. Setting this option to t
973 suppresses this warning " 973 suppresses this warning."
974 :group 'files 974 :group 'files
975 :version "21.1" 975 :version "21.1"
976 :type 'boolean) 976 :type 'boolean)
977 977
978 (defun find-file-noselect (filename &optional nowarn rawfile wildcards) 978 (defun find-file-noselect (filename &optional nowarn rawfile wildcards)
1521 (defvar inhibit-first-line-modes-suffixes nil 1521 (defvar inhibit-first-line-modes-suffixes nil
1522 "List of regexps for what to ignore, for `inhibit-first-line-modes-regexps'. 1522 "List of regexps for what to ignore, for `inhibit-first-line-modes-regexps'.
1523 When checking `inhibit-first-line-modes-regexps', we first discard 1523 When checking `inhibit-first-line-modes-regexps', we first discard
1524 from the end of the file name anything that matches one of these regexps.") 1524 from the end of the file name anything that matches one of these regexps.")
1525 1525
1526 (defvar auto-mode-interpreter-regexp 1526 (defvar auto-mode-interpreter-regexp
1527 "#![ \t]?\\([^ \t\n]*\ 1527 "#![ \t]?\\([^ \t\n]*\
1528 /bin/env[ \t]\\)?\\([^ \t\n]+\\)" 1528 /bin/env[ \t]\\)?\\([^ \t\n]+\\)"
1529 "Regular expression matching interpreters, for file mode determination. 1529 "Regular expression matching interpreters, for file mode determination.
1530 This regular expression is matched against the first line of a file 1530 This regular expression is matched against the first line of a file
1531 to determine the file's mode in `set-auto-mode' when Emacs can't deduce 1531 to determine the file's mode in `set-auto-mode' when Emacs can't deduce
3476 (concat (substring pattern 0 (match-beginning 0)) 3476 (concat (substring pattern 0 (match-beginning 0))
3477 "\\" 3477 "\\"
3478 (substring pattern (match-beginning 0))) 3478 (substring pattern (match-beginning 0)))
3479 beg (1+ (match-end 0))))) 3479 beg (1+ (match-end 0)))))
3480 pattern)))) 3480 pattern))))
3481 3481
3482 3482
3483 (defvar insert-directory-program "ls" 3483 (defvar insert-directory-program "ls"
3484 "Absolute or relative name of the `ls' program used by `insert-directory'.") 3484 "Absolute or relative name of the `ls' program used by `insert-directory'.")
3485 3485
3486 ;; insert-directory 3486 ;; insert-directory