diff options
| author | John Paul Wallington | 2003-05-31 07:59:33 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2003-05-31 07:59:33 +0000 |
| commit | 5d648479ea1277e1c7b57953f84fa62e90ba4713 (patch) | |
| tree | f1fd18147f30de3ee6b529fe71dd9db3cf353cbb | |
| parent | 778e2804186ee52c168ec5f49f97f4350e8d04b2 (diff) | |
| download | emacs-5d648479ea1277e1c7b57953f84fa62e90ba4713.tar.gz emacs-5d648479ea1277e1c7b57953f84fa62e90ba4713.zip | |
(large-file-warning-threshold): Add type, groups.
| -rw-r--r-- | lisp/files.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/delphi.el | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lisp/files.el b/lisp/files.el index 42a29f0b2b7..7ce59dd6035 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -1173,8 +1173,11 @@ suppresses this warning." | |||
| 1173 | :type 'boolean) | 1173 | :type 'boolean) |
| 1174 | 1174 | ||
| 1175 | (defcustom large-file-warning-threshold 10000000 | 1175 | (defcustom large-file-warning-threshold 10000000 |
| 1176 | "Maximum size of file above which a confirmation is requested." | 1176 | "Maximum size of file above which a confirmation is requested. |
| 1177 | :type 'integer) | 1177 | When nil, never request confirmation." |
| 1178 | :group 'files | ||
| 1179 | :group 'find-file | ||
| 1180 | :type '(choice integer (const :tag "Never request confirmation" nil))) | ||
| 1178 | 1181 | ||
| 1179 | (defun find-file-noselect (filename &optional nowarn rawfile wildcards) | 1182 | (defun find-file-noselect (filename &optional nowarn rawfile wildcards) |
| 1180 | "Read file FILENAME into a buffer and return the buffer. | 1183 | "Read file FILENAME into a buffer and return the buffer. |
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el index 5f1bed74770..6fae66ef455 100644 --- a/lisp/progmodes/delphi.el +++ b/lisp/progmodes/delphi.el | |||
| @@ -65,7 +65,7 @@ | |||
| 65 | (provide 'delphi) | 65 | (provide 'delphi) |
| 66 | 66 | ||
| 67 | (defconst delphi-version | 67 | (defconst delphi-version |
| 68 | (let ((revision "$Revision: 3.8 $")) | 68 | (let ((revision "$Revision: 3.9 $")) |
| 69 | (string-match ": \\([^ ]+\\)" revision) | 69 | (string-match ": \\([^ ]+\\)" revision) |
| 70 | (match-string 1 revision)) | 70 | (match-string 1 revision)) |
| 71 | "Version of this delphi mode.") | 71 | "Version of this delphi mode.") |
| @@ -742,7 +742,7 @@ routine.") | |||
| 742 | (delphi-step-progress p "Fontifying" delphi-fontifying-progress-step)) | 742 | (delphi-step-progress p "Fontifying" delphi-fontifying-progress-step)) |
| 743 | (delphi-progress-done))))) | 743 | (delphi-progress-done))))) |
| 744 | 744 | ||
| 745 | (defconst delphi-ignore-changes t | 745 | (defvar delphi-ignore-changes t |
| 746 | "Internal flag to control if the delphi-mode responds to buffer changes. | 746 | "Internal flag to control if the delphi-mode responds to buffer changes. |
| 747 | Defaults to t in case the delphi-after-change function is called on a | 747 | Defaults to t in case the delphi-after-change function is called on a |
| 748 | non-delphi buffer. Set to nil in a delphi buffer. To override, just do: | 748 | non-delphi buffer. Set to nil in a delphi buffer. To override, just do: |