Commit | Line | Data |
---|---|---|
1cd7adc6 | 1 | ;;; cus-start.el --- define customization properties of builtins |
1444b0c0 | 2 | ;; |
0d30b337 | 3 | ;; Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
d7a0267c | 4 | ;; 2005, 2006, 2007 Free Software Foundation, Inc. |
1444b0c0 PA |
5 | ;; |
6 | ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> | |
7 | ;; Keywords: internal | |
8 | ||
c2383d2d RS |
9 | ;; This file is part of GNU Emacs. |
10 | ||
11 | ;; GNU Emacs is free software; you can redistribute it and/or modify | |
12 | ;; it under the terms of the GNU General Public License as published by | |
b4aa6026 | 13 | ;; the Free Software Foundation; either version 3, or (at your option) |
c2383d2d RS |
14 | ;; any later version. |
15 | ||
16 | ;; GNU Emacs is distributed in the hope that it will be useful, | |
17 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 | ;; GNU General Public License for more details. | |
20 | ||
21 | ;; You should have received a copy of the GNU General Public License | |
22 | ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
086add15 LK |
23 | ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
24 | ;; Boston, MA 02110-1301, USA. | |
c2383d2d | 25 | |
1444b0c0 PA |
26 | ;;; Commentary: |
27 | ;; | |
4883633e | 28 | ;; This file adds customize support for built-in variables. |
1444b0c0 | 29 | |
4883633e RS |
30 | ;; While dumping Emacs, this file is loaded, but it only records |
31 | ;; the standard values; it does not do the rest of the job. | |
32 | ;; Later on, if the user makes a customization buffer, | |
33 | ;; this file is loaded again with (require 'cus-start); | |
34 | ;; then it does the whole job. | |
1444b0c0 | 35 | |
4883633e | 36 | ;;; Code: |
1444b0c0 | 37 | |
e047f448 | 38 | (let ((all '(;; alloc.c |
1444b0c0 | 39 | (gc-cons-threshold alloc integer) |
0f014aa1 | 40 | (garbage-collection-messages alloc boolean) |
1444b0c0 PA |
41 | ;; buffer.c |
42 | (mode-line-format modeline sexp) ;Hard to do right. | |
43 | (default-major-mode internal function) | |
924ef223 | 44 | (enable-multibyte-characters mule boolean) |
1444b0c0 PA |
45 | (case-fold-search matching boolean) |
46 | (fill-column fill integer) | |
47 | (left-margin fill integer) | |
48 | (tab-width editing-basics integer) | |
49 | (ctl-arrow display boolean) | |
50 | (truncate-lines display boolean) | |
1444b0c0 | 51 | (selective-display-ellipses display boolean) |
516b77a3 | 52 | (indicate-empty-lines fringe boolean) |
eb94dac6 LT |
53 | (indicate-buffer-boundaries |
54 | fringe | |
55 | (choice | |
56 | (const :tag "No indicators" nil) | |
57 | (const :tag "On left, with arrows" left) | |
58 | (const :tag "On right, with arrows" right) | |
a4fbb790 LT |
59 | (set :tag "Pick your own design" |
60 | :value ((t . nil)) | |
61 | :format "%{%t%}:\n%v\n%d" | |
62 | :doc "You can specify a default and then override it \ | |
63 | for individual indicators. | |
64 | Leaving \"Default\" unchecked is equivalent with specifying a default of | |
65 | \"Do not show\"." | |
66 | (choice :tag "Default" | |
67 | :value (t . nil) | |
68 | (const :tag "Do not show" (t . nil)) | |
69 | (const :tag "On the left" (t . left)) | |
70 | (const :tag "On the right" (t . right))) | |
71 | (choice :tag "Top" | |
72 | :value (top . left) | |
73 | (const :tag "Do not show" (top . nil)) | |
74 | (const :tag "On the left" (top . left)) | |
75 | (const :tag "On the right" (top . right))) | |
76 | (choice :tag "Bottom" | |
77 | :value (bottom . left) | |
78 | (const :tag "Do not show" (bottom . nil)) | |
79 | (const :tag "On the left" (bottom . left)) | |
80 | (const :tag "On the right" (bottom . right))) | |
81 | (choice :tag "Up arrow" | |
82 | :value (up . left) | |
83 | (const :tag "Do not show" (up . nil)) | |
84 | (const :tag "On the left" (up . left)) | |
85 | (const :tag "On the right" (up . right))) | |
86 | (choice :tag "Down arrow" | |
87 | :value (down . left) | |
88 | (const :tag "Do not show" (down . nil)) | |
89 | (const :tag "On the left" (down . left)) | |
90 | (const :tag "On the right" (down . right)))) | |
516b77a3 | 91 | (other :tag "On left, no arrows" t))) |
c6d57325 RS |
92 | (scroll-up-aggressively windows |
93 | (choice (const :tag "off" nil) number) | |
94 | "21.1") | |
95 | (scroll-down-aggressively windows | |
96 | (choice (const :tag "off" nil) number) | |
97 | "21.1") | |
b12e97dc | 98 | (line-spacing display (choice (const :tag "none" nil) integer)) |
1444b0c0 PA |
99 | ;; callint.c |
100 | (mark-even-if-inactive editing-basics boolean) | |
101 | ;; callproc.c | |
102 | (shell-file-name execute file) | |
103 | (exec-path execute | |
f747a488 | 104 | (repeat (choice (const :tag "default directory" nil) |
72e869ba | 105 | (directory :format "%v")))) |
5fc9eb7c DL |
106 | ;; coding.c |
107 | (inhibit-eol-conversion mule boolean) | |
de0d1fc5 EZ |
108 | (eol-mnemonic-undecided mule string) |
109 | (eol-mnemonic-unix mule string) | |
110 | (eol-mnemonic-dos mule string) | |
111 | (eol-mnemonic-mac mule string) | |
13eb63ff DL |
112 | (file-coding-system-alist |
113 | mule | |
114 | (alist | |
115 | :key-type (regexp :tag "File regexp") | |
116 | :value-type (choice | |
117 | :value (undecided . undecided) | |
118 | (cons :tag "Encoding/decoding pair" | |
119 | :value (undecided . undecided) | |
120 | (coding-system :tag "Decoding") | |
121 | (coding-system :tag "Encoding")) | |
70c2811c KY |
122 | (coding-system |
123 | :tag "Single coding system" | |
124 | :value undecided | |
125 | :match (lambda (widget value) | |
126 | (and value (not (functionp value))))) | |
13eb63ff | 127 | (function :value ignore)))) |
e5f51929 | 128 | (selection-coding-system mule coding-system) |
1444b0c0 | 129 | ;; dired.c |
71296446 | 130 | (completion-ignored-extensions dired |
1444b0c0 | 131 | (repeat (string :format "%v"))) |
0849a37e | 132 | ;; dispnew.c |
1444b0c0 PA |
133 | (baud-rate display integer) |
134 | (inverse-video display boolean) | |
135 | (visible-bell display boolean) | |
136 | (no-redraw-on-reenter display boolean) | |
137 | ;; editfns.c | |
138 | (user-full-name mail string) | |
139 | ;; eval.c | |
140 | (max-specpdl-size limits integer) | |
141 | (max-lisp-eval-depth limits integer) | |
f8add097 RS |
142 | (max-mini-window-height limits |
143 | (choice (const :tag "quarter screen" nil) | |
144 | number)) | |
1444b0c0 PA |
145 | (stack-trace-on-error debug |
146 | (choice (const :tag "off") | |
147 | (repeat :menu-tag "When" | |
148 | :value (nil) | |
149 | (symbol :format "%v")) | |
150 | (const :tag "always" t))) | |
71296446 | 151 | (debug-on-error debug |
1444b0c0 PA |
152 | (choice (const :tag "off") |
153 | (repeat :menu-tag "When" | |
154 | :value (nil) | |
155 | (symbol :format "%v")) | |
156 | (const :tag "always" t))) | |
157 | (debug-ignored-errors debug (repeat (choice symbol regexp))) | |
507c9247 RS |
158 | (debug-on-quit debug |
159 | (choice (const :tag "off") | |
160 | (repeat :menu-tag "When" | |
161 | :value (nil) | |
162 | (symbol :format "%v")) | |
163 | (const :tag "always" t))) | |
1444b0c0 PA |
164 | ;; fileio.c |
165 | (insert-default-directory minibuffer boolean) | |
bf247b6e | 166 | (read-file-name-completion-ignore-case minibuffer boolean "22.1") |
78976e0a | 167 | ;; fns.c |
37328bcd | 168 | (use-dialog-box menu boolean "21.1") |
bf247b6e | 169 | (use-file-dialog menu boolean "22.1") |
f4c307a5 | 170 | (focus-follows-mouse frames boolean "20.3") |
1444b0c0 PA |
171 | ;; frame.c |
172 | (default-frame-alist frames | |
173 | (repeat (cons :format "%v" | |
174 | (symbol :tag "Parameter") | |
175 | (sexp :tag "Value")))) | |
140fb7ff KS |
176 | (mouse-highlight mouse (choice (const :tag "disabled" nil) |
177 | (const :tag "always shown" t) | |
178 | (other :tag "hidden by keypress" 1))) | |
48d707c5 | 179 | ;; fringe.c |
516b77a3 | 180 | (overflow-newline-into-fringe fringe boolean) |
1444b0c0 | 181 | ;; indent.c |
01892a52 | 182 | (indent-tabs-mode indent boolean) |
1444b0c0 PA |
183 | ;; keyboard.c |
184 | (meta-prefix-char keyboard character) | |
185 | (auto-save-interval auto-save integer) | |
186 | (auto-save-timeout auto-save (choice (const :tag "off" nil) | |
187 | (integer :format "%v"))) | |
ac1b1728 | 188 | (echo-keystrokes minibuffer number) |
1444b0c0 | 189 | (polling-period keyboard integer) |
4db2b1c7 RS |
190 | (double-click-time mouse (restricted-sexp |
191 | :match-alternatives (integerp 'nil 't))) | |
3284b301 | 192 | (double-click-fuzz mouse integer) |
1444b0c0 PA |
193 | (inhibit-local-menu-bar-menus menu boolean) |
194 | (help-char keyboard character) | |
195 | (help-event-list keyboard (repeat (sexp :format "%v"))) | |
196 | (menu-prompting menu boolean) | |
1444b0c0 PA |
197 | (suggest-key-bindings keyboard (choice (const :tag "off" nil) |
198 | (integer :tag "time" 2) | |
79221864 | 199 | (other :tag "on"))) |
2f566b18 YM |
200 | ;; macselect.c |
201 | (mac-dnd-known-types mac (repeat string) "22.1") | |
814b36fe YM |
202 | ;; macterm.c |
203 | (mac-control-modifier mac (choice (const :tag "No modifier" nil) | |
204 | (const control) (const meta) | |
205 | (const alt) (const hyper) | |
206 | (const super)) "22.1") | |
207 | (mac-command-modifier mac (choice (const :tag "No modifier" nil) | |
208 | (const control) (const meta) | |
209 | (const alt) (const hyper) | |
210 | (const super)) "22.1") | |
211 | (mac-option-modifier mac (choice (const :tag "No modifier (work as option)" nil) | |
212 | (const control) (const meta) | |
213 | (const alt) (const hyper) | |
214 | (const super)) "22.1") | |
215 | (mac-function-modifier mac | |
216 | (choice (const :tag "No modifier (work as function)" nil) | |
217 | (const control) (const meta) | |
218 | (const alt) (const hyper) | |
219 | (const super)) "22.1") | |
220 | (mac-emulate-three-button-mouse mac | |
221 | (choice (const :tag "No emulation" nil) | |
222 | (const :tag "Option->2, Command->3" t) | |
223 | (const :tag "Command->2, Option->3" reverse)) | |
224 | "22.1") | |
225 | (mac-wheel-button-is-mouse-2 mac boolean "22.1") | |
226 | (mac-pass-command-to-system mac boolean "22.1") | |
227 | (mac-pass-control-to-system mac boolean "22.1") | |
228 | (mac-allow-anti-aliasing mac boolean "22.1") | |
2d4a5c50 YM |
229 | (mac-ts-script-language-on-focus mac |
230 | (choice (const :tag "System default behavior" nil) | |
231 | (const :tag "Restore to script/language used in the last focus frame" t) | |
232 | (cons :tag "Specify script/language" | |
233 | (integer :tag "Script code") | |
234 | (integer :tag "Language code"))) | |
235 | "22.1") | |
5f537e54 | 236 | |
37328bcd DL |
237 | ;; This is not good news because it will use the wrong |
238 | ;; version-specific directories when you upgrade. We need | |
239 | ;; customization of the front of the list, maintaining the standard | |
240 | ;; value intact at the back. | |
71296446 | 241 | ;;; (load-path environment |
37328bcd DL |
242 | ;;; (repeat (choice :tag "[Current dir?]" |
243 | ;;; :format "%[Current dir?%] %v" | |
244 | ;;; (const :tag " current dir" nil) | |
245 | ;;; (directory :format "%v")))) | |
1444b0c0 PA |
246 | ;; minibuf.c |
247 | (completion-auto-help minibuffer boolean) | |
248 | (enable-recursive-minibuffers minibuffer boolean) | |
408f56b2 RS |
249 | (history-length minibuffer |
250 | (choice (const :tag "Infinite" t) | |
251 | integer)) | |
1e64386e | 252 | (history-delete-duplicates minibuffer boolean) |
8f62f2b8 MB |
253 | (minibuffer-prompt-properties |
254 | minibuffer | |
255 | (list | |
256 | (checklist :inline t | |
257 | (const :tag "Read-Only" | |
258 | :doc "Prevent prompt from being modified" | |
259 | :format "%t%n%h" | |
260 | :inline t | |
261 | (read-only t)) | |
c9133fa6 | 262 | (const :tag "Don't Enter" |
8f62f2b8 MB |
263 | :doc "Prevent point from ever entering prompt" |
264 | :format "%t%n%h" | |
265 | :inline t | |
266 | (point-entered minibuffer-avoid-prompt))) | |
267 | (repeat :inline t | |
268 | :tag "Other Properties" | |
269 | (list :inline t | |
270 | :format "%v" | |
271 | (symbol :tag "Property") | |
ecf5279a DL |
272 | (sexp :tag "Value")))) |
273 | "21.1") | |
1444b0c0 | 274 | (minibuffer-auto-raise minibuffer boolean) |
ecf5279a | 275 | ;; options property set at end |
a8a1b05d DL |
276 | (read-buffer-function minibuffer |
277 | (choice (const nil) | |
278 | (function-item iswitchb-read-buffer) | |
279 | function)) | |
b78fba02 EZ |
280 | ;; msdos.c |
281 | (dos-unsupported-char-glyph display integer) | |
1444b0c0 | 282 | ;; process.c |
4883633e | 283 | (delete-exited-processes processes-basics boolean) |
1444b0c0 PA |
284 | ;; syntax.c |
285 | (parse-sexp-ignore-comments editing-basics boolean) | |
286 | (words-include-escapes editing-basics boolean) | |
779d0b80 DL |
287 | (open-paren-in-column-0-is-defun-start editing-basics boolean |
288 | "21.1") | |
98e071b5 SM |
289 | ;; term.c |
290 | (visible-cursor cursor boolean "22.1") | |
0f08b956 LT |
291 | ;; undo.c |
292 | (undo-limit undo integer) | |
293 | (undo-strong-limit undo integer) | |
294 | (undo-outer-limit undo | |
295 | (choice integer | |
296 | (const :tag "No limit" | |
297 | :format "%t\n%d" | |
298 | :doc | |
299 | "With this choice, \ | |
300 | the undo info for the current command never gets discarded. | |
301 | This should only be chosen under exceptional circumstances, | |
302 | since it could result in memory overflow and make Emacs crash." | |
303 | nil)) | |
304 | "22.1") | |
1444b0c0 | 305 | ;; window.c |
4cb464b7 DL |
306 | (temp-buffer-show-function windows (choice (const nil) function)) |
307 | (display-buffer-function windows (choice (const nil) function)) | |
1444b0c0 PA |
308 | (pop-up-frames frames boolean) |
309 | (pop-up-frame-function frames function) | |
71296446 JB |
310 | (special-display-buffer-names |
311 | frames | |
1444b0c0 PA |
312 | (repeat (choice :tag "Buffer" |
313 | :value "" | |
314 | (string :format "%v") | |
315 | (cons :tag "With attributes" | |
316 | :format "%v" | |
317 | :value ("" . nil) | |
318 | (string :format "%v") | |
319 | (repeat :tag "Attributes" | |
320 | (cons :format "%v" | |
321 | (symbol :tag "Parameter") | |
322 | (sexp :tag "Value"))))))) | |
323 | (special-display-regexps | |
71296446 | 324 | frames |
1444b0c0 PA |
325 | (repeat (choice :tag "Buffer" |
326 | :value "" | |
327 | (regexp :format "%v") | |
328 | (cons :tag "With attributes" | |
329 | :format "%v" | |
330 | :value ("" . nil) | |
331 | (regexp :format "%v") | |
332 | (repeat :tag "Attributes" | |
333 | (cons :format "%v" | |
334 | (symbol :tag "Parameter") | |
335 | (sexp :tag "Value"))))))) | |
336 | (special-display-function frames function) | |
337 | (same-window-buffer-names windows (repeat (string :format "%v"))) | |
338 | (same-window-regexps windows (repeat (regexp :format "%v"))) | |
339 | (pop-up-windows windows boolean) | |
d2946490 | 340 | (even-window-heights windows boolean) |
74f54b54 | 341 | (next-screen-context-lines windows integer) |
1444b0c0 | 342 | (split-height-threshold windows integer) |
c8f1ea76 SM |
343 | (split-window-preferred-function |
344 | windows | |
345 | (choice (const :tag "vertically" split-window) | |
346 | ;; FIXME: Add `sensibly' which chooses between | |
347 | ;; vertical or horizontal splits depending on the size | |
348 | ;; and shape of the window. | |
349 | (const :tag "horizontally" | |
350 | (lambda (window) | |
351 | (split-window window nil 'horiz))))) | |
1444b0c0 PA |
352 | (window-min-height windows integer) |
353 | (window-min-width windows integer) | |
7704b6b1 KS |
354 | (scroll-preserve-screen-position |
355 | windows (choice | |
356 | (const :tag "Off (nil)" :value nil) | |
357 | (const :tag "Full screen (t)" :value t) | |
358 | (other :tag "Always" 1))) | |
13eb63ff | 359 | (display-buffer-reuse-frames windows boolean "21.1") |
1444b0c0 PA |
360 | ;; xdisp.c |
361 | (scroll-step windows integer) | |
ccbb360e RS |
362 | (scroll-conservatively windows integer) |
363 | (scroll-margin windows integer) | |
4e371ce8 EZ |
364 | (hscroll-margin windows integer "22.1") |
365 | (hscroll-step windows number "22.1") | |
1444b0c0 | 366 | (truncate-partial-width-windows display boolean) |
67ee1125 | 367 | (mode-line-inverse-video modeline boolean) |
4e371ce8 | 368 | (mode-line-in-non-selected-windows modeline boolean "22.1") |
37328bcd DL |
369 | (line-number-display-limit display |
370 | (choice integer | |
371 | (const :tag "No limit" nil))) | |
779d0b80 | 372 | (line-number-display-limit-width display integer) |
1444b0c0 PA |
373 | (highlight-nonselected-windows display boolean) |
374 | (message-log-max debug (choice (const :tag "Disable" nil) | |
375 | (integer :menu-tag "lines" | |
376 | :format "%v") | |
79221864 | 377 | (other :tag "Unlimited" t))) |
daba3e25 | 378 | (unibyte-display-via-language-environment mule boolean) |
bf247b6e | 379 | (blink-cursor-alist cursor alist "22.1") |
03c25271 | 380 | (overline-margin display integer "22.1") |
612c16f1 CY |
381 | (mouse-autoselect-window |
382 | display (choice | |
383 | (const :tag "Off (nil)" :value nil) | |
384 | (const :tag "Immediate" :value t) | |
385 | (number :tag "Delay by secs" :value 0.5)) "22.1") | |
e5f51929 DL |
386 | ;; xfaces.c |
387 | (scalable-fonts-allowed display boolean) | |
1444b0c0 PA |
388 | ;; xfns.c |
389 | (x-bitmap-file-path installation | |
0849a37e | 390 | (repeat (directory :format "%v"))) |
c4823934 | 391 | (x-gtk-use-old-file-dialog menu boolean "22.1") |
91b5a204 | 392 | (x-gtk-show-hidden-files menu boolean "22.1") |
c4823934 | 393 | (x-gtk-file-dialog-help-text menu boolean "22.1") |
0dd95b49 | 394 | (x-gtk-whole-detached-tool-bar x boolean "22.1") |
0849a37e | 395 | ;; xterm.c |
4e371ce8 | 396 | (x-use-underline-position-properties display boolean "22.1") |
03c25271 | 397 | (x-underline-at-descent-line display boolean "22.1") |
37328bcd | 398 | (x-stretch-cursor display boolean "21.1"))) |
a200d998 | 399 | this symbol group type standard version native-p |
4883633e RS |
400 | ;; This function turns a value |
401 | ;; into an expression which produces that value. | |
402 | (quoter (lambda (sexp) | |
403 | (if (or (memq sexp '(t nil)) | |
017266f8 | 404 | (keywordp sexp) |
4883633e RS |
405 | (and (listp sexp) |
406 | (memq (car sexp) '(lambda))) | |
407 | (stringp sexp) | |
37328bcd | 408 | (numberp sexp)) |
4883633e RS |
409 | sexp |
410 | (list 'quote sexp))))) | |
71296446 | 411 | (while all |
1444b0c0 PA |
412 | (setq this (car all) |
413 | all (cdr all) | |
414 | symbol (nth 0 this) | |
415 | group (nth 1 this) | |
00377857 | 416 | type (nth 2 this) |
37328bcd | 417 | version (nth 3 this) |
a200d998 RS |
418 | ;; If we did not specify any standard value expression above, |
419 | ;; use the current value as the standard value. | |
420 | standard (if (nthcdr 4 this) | |
421 | (nth 4 this) | |
720f4c79 | 422 | (when (default-boundp symbol) |
92233e7e | 423 | (funcall quoter (default-value symbol)))) |
00377857 EZ |
424 | ;; Don't complain about missing variables which are |
425 | ;; irrelevant to this platform. | |
426 | native-p (save-match-data | |
427 | (cond | |
428 | ((string-match "\\`dos-" (symbol-name symbol)) | |
429 | (eq system-type 'ms-dos)) | |
430 | ((string-match "\\`w32-" (symbol-name symbol)) | |
431 | (eq system-type 'windows-nt)) | |
feba0cd6 | 432 | ((string-match "\\`mac-" (symbol-name symbol)) |
ce00d093 | 433 | (featurep 'mac-carbon)) |
2702394e | 434 | ((string-match "\\`x-.*gtk" (symbol-name symbol)) |
79cf2123 | 435 | (featurep 'gtk)) |
197a09bf EZ |
436 | ((string-match "\\`x-" (symbol-name symbol)) |
437 | (fboundp 'x-create-frame)) | |
6eb33acb EZ |
438 | ((string-match "selection" (symbol-name symbol)) |
439 | (fboundp 'x-selection-exists-p)) | |
440 | ((string-match "fringe" (symbol-name symbol)) | |
441 | (fboundp 'define-fringe-bitmap)) | |
00377857 | 442 | (t t)))) |
1444b0c0 PA |
443 | (if (not (boundp symbol)) |
444 | ;; If variables are removed from C code, give an error here! | |
00377857 EZ |
445 | (and native-p |
446 | (message "Note, built-in variable `%S' not bound" symbol)) | |
4883633e RS |
447 | ;; Save the standard value, unless we already did. |
448 | (or (get symbol 'standard-value) | |
a200d998 | 449 | (put symbol 'standard-value (list standard))) |
4883633e RS |
450 | ;; If this is NOT while dumping Emacs, |
451 | ;; set up the rest of the customization info. | |
452 | (unless purify-flag | |
453 | ;; Add it to the right group. | |
454 | (custom-add-to-group group symbol 'custom-variable) | |
455 | ;; Set the type. | |
37328bcd DL |
456 | (put symbol 'custom-type type) |
457 | (put symbol 'custom-version version))))) | |
4883633e | 458 | |
ecf5279a | 459 | (custom-add-to-group 'iswitchb 'read-buffer-function 'custom-variable) |
779d0b80 DL |
460 | (custom-add-to-group 'font-lock 'open-paren-in-column-0-is-defun-start |
461 | 'custom-variable) | |
e5f51929 DL |
462 | (put 'selection-coding-system 'custom-set |
463 | (lambda (symbol value) | |
464 | (set-selection-coding-system value) | |
465 | (set symbol value))) | |
ecf5279a | 466 | |
4883633e RS |
467 | ;; Record cus-start as loaded |
468 | ;; if we have set up all the info that we can set up. | |
469 | ;; Don't record cus-start as loaded | |
470 | ;; if we have set up only the standard values. | |
471 | (unless purify-flag | |
472 | (provide 'cus-start)) | |
1444b0c0 | 473 | |
c8f1ea76 | 474 | ;; arch-tag: 4502730d-bcb3-4f5e-99a3-a86f2d54af60 |
1cd7adc6 | 475 | ;;; cus-start.el ends here |