/
init.el
503 lines (462 loc) · 20.8 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
;;; --------------------------------------------------- -*- emacs-lisp -*-
;;;
;;; .emacs
;;;
;;; ----------------------------------------------------------------------
;;; 28 Dec 21 : gap in logging. Lots as changed in 8 years.
;;; + melpa moved
;;; + added markdown-mode and grip-mode
;;; 6 Jun 13 : tweats jedi
;;; 13 Mai 13 : add pymacs
;;; 13 Mai 13 : add rope
;;; 13 Mai 13 : add flymode
;;; 13 Mai 13 : add autocomplete
;;; 13 Mai 13 : add js2 to remplace javascript mode
;;; 24 Avr 12 : port to acquamacs
;;; 03 Sep 08 : add python mode and erlang mode
;;; 11 Nov 05 : resetup under cygwin
;;; 23 Sep 05 : add a ruby mode
;;; 07 Sep 04 : add sql mode
;;; 13 Aug 04 : replace php by php-mode
;;; 26 Jan 04 : desactivation of VM
;;; 12 Oct 03 : activate xml mode for wsdl file
;;; 12 Fev 03 : activate xml mode for xml schema on .xsd file
;;; 26 Sep 02 : add css-mode, activate xml-mode for rdf-file
;;; 10 Sep 02 : custom w3m/w3/vm
;;; 16 Aou 02 : *.tcl load tcl mode
;;; 08 Jul 02 : try again with w3m
;;; 20 May 02 : bound C-xm to vm-mail, remove mew, apel and semi
;;; can't have w3m to replace vm
;;; 17 May 02 : update to vm-7.05
;;; 23 Mar 02 : update cperl-mode
;;; 30 Oct 01 : add antlr-mode
;;; 25 Jun 01 : add perl-mode
;;; 22 Mai 01 : add tdtd
;;; 11 Mai 01 : add xml-mode
;;; 15 Mar 01 : update to vm-6.92
;;; 25 Jan 01 : update to bbdb 2.20
;;; 19 Jan 01 : update to Oort Gnus
;;; 12 Jan 01 : various ack with mail-abbrev
;;; 12 Dec 00 : implement cc-mode customization for KE2
;;; 04 Nov 00 : oo-browser
;;; 30 Oct 00 : place cc-mode en mode ansi
;;; 24 Sep 00 : add php-mode
;;; 21 Mai 00 : add debug command at beginning of file
;;; + add icomplete
;;; 23 Dec 99 : add C-² binding to mimic traditional next-error on
;;; + azerty keyboard
;;; 10 Dec 99 : add a4 as default format for postscript
;;; 03 Nov 99 : explicitly load reftex on .tex files
;;; + update x-symbol
;;; + update w3
;;; 14 Oct 99 : add a reply To field for vm and rmail
;;; 11 Oct 99 : enhance ispell with french via Francais-GUTenberg-v1.0
;;; : add flyspell-1.5
;;; 13 Jul 99 : portage a xemacs21.1.4
;;; 01 Jul 99 : align-regexp -> align-2.5
;;; + add fmailutils+vcard+vm-vcard
;;; + custom bbdb-2.00.05
;;; 23 Feb 99 : align-regexp -> align-2.0
;;; 22 Jan 99 : mime et gnus
;;; 07 Jan 99 : replace ispell by aspell
;;; 12 Dec 98 : portage a xemacs21.0
;;; 05 Dec 98 : portage a xemacs20.4
;;; 26 Nov 98 : portage a emacs20.3
;;; 06 Nov 98 : remove /home2/paubert replace by ~
;;; 12 Sep 98 : modify mailboxes
;;; 21 Aou 98 : add support for emacs-20.3
;;; 04 Aou 98 : add support for logitech 6 button mouse
;;; 03 Aou 98 : installation sur pcmath03.insa-lyon.fr
;;; 25 Apr 98 : suppression de supercite
;;; 18 Mar 98 : bbdb-2.00 installation
;;; 13 Mar 98 : correction customization cc-mode
;;; 12 Mar 98 : cc-mode et customization pour pa (bis)
;;; 04 Feb 98 : modif speedbar 0.6.3
;;; 15 Jan 98 : (suite) + macros pour c++
;;; 12 Jan 98 : addition de regles pour les /= modes Makefile.am ...
;;; + dmacros for makefiles
;;; 18 Sep 97 : version mixte xemacs et emacs
;;; 15 Sep 97 : cc-mode et customization pour pa
;;; 01 Sep 97 : w3-3.0.103
;;; 10 Jul 97 : custom tiny
;;; 08 Jul 97 : add listbuf
;;; 07 Jul 97 : add tiny package
;;; 23 Jun 97 : suppress uniquify, hyperbole, oo-browser (all buggy)
;;; 14 Jun 97 : hyperbole + oo-browser
;;; 12 Jun 97 : ajoute des macros dynamiques pour c++
;;; 08 Jun 97 : add speedbar
;;; 01 Apr 97 : add uniquify
;;; 04 Mar 97 : correction passwd anonymous
;;; 24 Jan 97 : mail-setup-hook
;;; 09 Jan 97 : add m4-mode and mupad-mode
;;; 11 Nov 96 : installation de pcl-cvs et donc de elib en plus
;;; 08 Oct 96 : menage GENERAL
;;; 07 Oct 96 : tm
;;; 02 Oct 96 : calendar + diary
;;; 24 Sep 96 : nouvelle version de w3
;;; 23 Sep 96 : bbdb-letter ne marche toujours pas, je le mts en commentaire
;;; installation de dmacro 2.2 en remplacement de 2.0 (ok)
;;; 18 Sep 96 : installation bbdb-letter
;;; 02 Sep 96 : adaptation INSA-Lyon
;;; 06 Aou 96 : deplacement de la config GNUS dans ~/.gnus
;;; 17 Jul 96 : integration de OOBR et modif des paths
;;; 20 Jun 96 : modifs pour gnus (suites)
;;; 10 Jun 96 : modifs pour gnus (confort personel, demarage automatique des
;;; topics ... )
;;; 19 May 96 : ajout de gnus-save-newsrc
;;; ajout de grouplens
;;; 15 Avr 96 : pb avec sgnus > v0.80, oblige de changer l'appel du serveur
;;; 21 Mar 96 : relooking + fix pour ange ( eh presque pas touche en 3 mois
;;; etonnant non !)
;;; 11 Dec 95 : ptt' modif pour les caracteres 8 bits voir iso-
;;; 30 Nov 95 : modif pour 19.30
;;; 02 Nov 95 : modif pour gnus, on rajoute la possiblite de lire les fichiers
;;; crees par procmail sous forme de newsgroup
;;; selection un peu differente des articles
;;; mise a jour des fichiers SCORE
;;; 10 Oct 95 : modif pour bibtex on rajoute dvi,ps et html
;;; 25 Sep 95 : on charge .emacs.el
;;; 06 Aou 95 : mailcrypt.el 3.3
;;; hilit-LaTeX.el 1.15
;;; gri-mode.el
;;; 27 Jun 95 : ajout de 8bits-mode dans bibtex-mode + changements cosmetiques
;;; 26 Jun 95 : version compatible avec xemacs 19.12 et FSF emacs 19.29
;;; 26 Jun 95 : on installe une nouvelle version de mailcrypt qui colle avec
;;; PGP
;;; 05 Jun 95 : on installe vm-5.86 plus besoin de vm-print
;;; 22 Mai 95 : on installe vm-print
;;; 02 Mai 95 : on supprime tm et on le remplace par vm-metamail
;;; 01 Fev 95 : modif pour ispell -> on charge ispell-ireq
;;; ----------------------------------------------------------------------
;;; Creation: 24 Jan 88: emacs-18.45 on micro-vax
;;; ----------------------------------------------------------------------
;;;-------------------------------------------------------------------
;; Leave these here for debugging this file!
;;;-------------------------------------------------------------------
;(setq debug-on-error t)
;(add-hook 'after-init-hook
; '(lambda () (setq debug-on-error t)))
;(debug-on-entry 'command-line-1)
;(setq message-log-max 1000)
;;;-------------------------------------------------------------------
;;; des paths
;;;-------------------------------------------------------------------
(add-to-list 'load-path "~/.emacs.d/vendor")
(add-to-list 'load-path "~/share/emacs")
;;;-------------------------------------------------------------------
;;; (aqua)macs
;;;-------------------------------------------------------------------
;; key bindings
(when (eq system-type 'darwin) ;; mac specific settings
;; (setq mac-option-modifier 'hyper) ;; option = alt on macos keybaord
;; (setq mac-option-modifier 'super) ;; option = alt on macos keybaord
;;; must be nil if i want to get {} with alt-( on FR keyboard
(setq mac-option-modifier nil) ;; option = alt on macos keybaord
;; let command and control in normal place
;; i switch control/caps globally on mac kbd
(setq mac-command-modifier 'command) ;; command = apple
(setq mac-control-modifier 'control) ;; control (i swap it with caps lock)
(global-set-key [kp-delete] 'delete-char) ;; sets fn-delete to be right-delete
)
;;;-------------------------------------------------------------------
;; Frame and window management:
;;;-------------------------------------------------------------------
(when (fboundp 'tool-bar-mode)
(tool-bar-mode -1)) ; turn off toolbar
(menu-bar-mode -1) ; no scrollbars
(blink-cursor-mode -1)
(setq inhibit-startup-screen t)
(line-number-mode t)
(column-number-mode t)
(size-indication-mode t)
(if (fboundp 'fringe-mode)
(fringe-mode 4))
;;;-------------------------------------------------------------------
;;; align
;;;-------------------------------------------------------------------
; (require 'align)
;;;-------------------------------------------------------------------
;;; bind des touches (must be before X-Window)
;;;-------------------------------------------------------------------
(global-set-key "\C-h" 'delete-backward-char)
(global-set-key "\C-xh" 'help-command)
(setq gold-map (make-keymap))
(define-key gold-map " " 'set-mark-command)
(define-key gold-map "c" 'compile )
(define-key gold-map "g" 'goto-line )
(define-key gold-map "%" 'query-replace-regexp )
(define-key gold-map "z" 'suspend-emacs )
(define-key gold-map "i" 'c-indent-defun)
(define-key gold-map "d" 'gdb)
(define-key gold-map "t" 'tags-query-replace)
(define-key gold-map "!" 'next-error)
(global-set-key [f1] gold-map)
(global-set-key [f2] 'align)
(global-set-key [f3] 'undo)
(global-set-key [f4] 'next-error)
(global-set-key [f15] 'next-error)
;;;-------------------------------------------------------------------
;;; time
;;;-------------------------------------------------------------------
(display-time)
(setq display-time-24hr-format t)
(setq-default indent-tabs-mode nil) ; use only spaces and no tabs
(setq tab-width 4)
;;;-------------------------------------------------------------------
;;; calendar
;;;-------------------------------------------------------------------
(setq european-calendar-style t)
;;;-------------------------------------------------------------------
;;; completion dans le minibuffer
;;;-------------------------------------------------------------------
(require 'icomplete)
;;;-------------------------------------------------------------------
;;; packages archive
;;;-------------------------------------------------------------------
(require 'package)
(when (< emacs-major-version 24)
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t)
(package-initialize)
;;;-------------------------------------------------------------------
;;; yasnippet
;;;-------------------------------------------------------------------
(add-to-list 'load-path "~/.emacs.d/yasnippet")
(require 'yasnippet)
(yas-global-mode 1)
;;;-------------------------------------------------------------------
;;; C-Mode
;;;-------------------------------------------------------------------
(load "cc-mode")
(c-initialize-cc-mode)
;;;-------------------------------------------------------------------
;;; C++-Mode
;;;-------------------------------------------------------------------
(defconst pa-cc-style
'((indent-tabs-mode . nil)
(c-basic-offset . 4)
(c-offsets-alist . ((namespace-open . --)
(innamespace . 0)
(comment-intro . 0)
(substatement-open . 0)
(inline-open . 0)
))
(c-hanging-braces-alist . ((brace-list-open)
(brace-list-intro)
(brace-list-close)
(brace-entry-open)
))))
(defun pa-cc-mode-common-hook ()
(c-set-style "bsd")
(c-toggle-auto-hungry-state 1)
(c-add-style "PA style" pa-cc-style t)
)
(add-hook 'c-mode-common-hook 'pa-cc-mode-common-hook)
;;;-------------------------------------------------------------------
;;; python mode
;;; 2 solutions for autocomplete jedi et rope
;;; rope is more oriented toward refactorisation, i will use jedi for
;;; now
;;;-------------------------------------------------------------------
;(setq py-load-pymacs-p nil)
;(add-to-list 'load-path "~/.emacs.d/vendor/pymacs")
;(require 'pymacs)
;(pymacs-load "ropemacs" "rope-")
;(setq ropemacs-enable-autoimport t)
(setq jedi:setup-keys t)
(autoload 'jedi:setup "jedi" nil t)
(add-hook 'pyrhon-mode-hook 'jedi:setup)
;;;-------------------------------------------------------------------
;;; flymake
;;;-------------------------------------------------------------------
(require 'flymake-python-pyflakes)
(add-hook 'python-mode-hook 'flymake-python-pyflakes-load)
(require 'flymake-cursor)
(global-set-key [f13] 'python-check)
(require 'flymake-css)
(add-hook 'css-mode-hook 'flymake-css-load)
(require 'flymake-gjshint)
(add-hook 'js-mode-hook 'flymake-gjshint:load)
(require 'flymake-json)
(add-hook 'json-mode 'flymake-json-load)
;; or, if you use `js-mode' for json:
;; (add-hook 'js-mode-hook 'flymake-json-maybe-load)
(require 'flymake-php)
(add-hook 'php-mode-hook 'flymake-php-load)
(require 'flymake-yaml) ;; Not necessary if using ELPA package
(add-hook 'yaml-mode-hook 'flymake-yaml-load)
;;;-------------------------------------------------------------------
;;; autocomplete for python & others
;;;-------------------------------------------------------------------
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(ac-config-default)
;;; set the trigger key so that it can work together with yasnippet on tab key,
;;; if the word exists in yasnippet, pressing tab will cause yasnippet to
;;; activate, otherwise, auto-complete will
(ac-set-trigger-key "TAB")
(ac-set-trigger-key "<tab>")
;;;-------------------------------------------------------------------
;;; perl mode
;;;-------------------------------------------------------------------
(autoload 'cperl-mode "cperl-mode" "Cperl major mode." t)
(setq cperl-hairy t)
;;;-------------------------------------------------------------------
;;; markdown and grip
;;;-------------------------------------------------------------------
(autoload 'markdown-mode "markdown" "Major mode to edit Markdown files." t)
(add-hook 'markdown-mode-hook #'grip-mode)
;;;-------------------------------------------------------------------
;;; Misc-Modes
;;;-------------------------------------------------------------------
(autoload 'php-mode "php-mode" "PHP major mode." t)
(autoload 'antlr-mode "antlr-mode" "ANTLR major mode." t)
(autoload 'c++-mode "cc-mode" "C++ Editing Mode." t)
(autoload 'c-mode "cc-mode" "C Editing Mode." t)
(autoload 'java-mode "cc-mode" "Java Editing Mode." t)
(autoload 'awk-mode "cc-mode" "AWK Editing Mode." t)
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
(autoload 'css-mode "css-mode" "Major mode to edit CSS files." t)
(autoload 'erlang-mode "erlang" "Major mode to edit Erlang files." t)
;;;-------------------------------------------------------------------
;;; Auto-Mode-Alist
;;;-------------------------------------------------------------------
(setq-default auto-mode-alist
'(
("\\.inc$" . php-mode)
("\\.php$" . php-mode)
("\\.y$" . c-mode)
("\\.cc$" . c++-mode)
("\\.cpp$" . c++-mode)
("\\.cxx$" . c++-mode)
("\\.hxx$" . c++-mode)
("\\.hpp$" . c++-mode)
("\\.C$" . c++-mode)
("\\.H$" . c++-mode)
("\\.cc$" . c++-mode)
("\\.hh$" . c++-mode)
("\\.l$" . c-mode)
("\\.c$" . c-mode)
("\\.h$" . c-mode)
("\\.g$" . antlr-mode)
("\\.el$" . emacs-lisp-mode)
("\\.scm$" . scheme-mode)
("\\.ml$" . caml-mode)
("\\.mli$" . caml-mode)
("\\.tex$" . tex-mode)
("\\.sty$" . tex-mode)
("\\.bbl$" . tex-mode)
("\\.bib$" . bibtex-mode)
("\\.car$" . fortran-mode)
("\\.edt$" . fortran-mode)
("\\.f$" . fortran-mode)
("\\.f_[0-9]*$" . fortran-mode)
("\\.ftn$" . fortran-mode)
("\\.F$" . fortran-mode)
("\\.inc$" . fortran-mode)
;; ("\\.vm$" . vm-mode)
("\\.awk$" . awk-mode)
("[Mm]akefile$" . makefile-mode)
("[Mm]akefile.*.in$" . makefile-mode)
("[Mm]akefile.*.am$" . makefile-mode)
("GNUmakefile" . makefile-mode)
("\\.mk$" . makefile-mode)
("\\.md$" . markdown-mode)
("\\.kumac$" . kumac-mode)
("ChangeLog" . change-log-mode)
("\\.html$" . html-mode)
("\\.html.cpp$" . html-mode)
("\\.cpp$" . html-mode)
("\\.xml$" . xml-mode)
("\\.xsl$" . xml-mode)
("\\.xsd$" . xml-mode)
("\\.dcl$" . xml-mode)
("\\.dec$" . xml-mode)
("\\.dtd$" . xml-mode)
("\\.ele$" . xml-mode)
("\\.ent$" . xml-mode)
("\\.mod$" . xml-mode)
("\\.xul$" . xml-mode)
("\\.rdf$" . xml-mode)
("\\.wsdl$" . xml-mode)
("\\.css$" . css-mode)
("\\.mpl$" . maple-mode)
("\\.m$" . octave-mode)
("\\.tar$" . tar-mode)
("\\.ad[abs]$" . ada-mode)
("\\.lsp$" . lisp-mode)
("\\.pas$" . pascal-mode)
("\\.m4$" . m4-mode)
("\\.mu$" . mupad-mode)
("\\.pl$" . cperl-mode)
("\\.pm$" . cperl-mode)
("\\.java$" . java-mode)
("\\.js$" . js2-mode)
("\\.tcl$" . tcl-mode)
("\\.sql$" . sql-mode)
("\\.rb$" . ruby-mode)
("\\.txt$" . text-mode)
("\\.py$" . python-mode)
("\\.hrl$" . erlang-mode)
("\\.erl$" . erlang-mode)
))
(add-hook 'xml-mode-hooks 'turn-on-font-lock)
;;; ----------------------------------------------------------------------
;;; MODE HOOK
;;; ----------------------------------------------------------------------
(setq text-mode-hook
'(lambda ()
(setq require-final-newline t)
; not used any more utf8 replace all :)
; (iso-latin-1-mode 1)
(turn-on-auto-fill))
; ----------------------------------------------------------------------
makefile-mode-hook
'(lambda ()
(setq tab-stop-list nil)
(local-set-key "$" 'self-insert-command)
(local-set-key "\C-i" 'indent-for-tab-command)
)
)
;;; ----------------------------------------------------------------------
;;; listbuf
;;; ----------------------------------------------------------------------
(autoload 'listbuf "listbuf" nil t)
(substitute-key-definition 'list-buffers 'listbuf ctl-x-map)
(defalias 'list-buffers 'listbuf)
;;; ----------------------------------------------------------------------
;;; helm
;;; ----------------------------------------------------------------------
;(add-to-list 'load-path "~/.emacs.d/elpa/helm-20130528.922/")
;(require 'helm-config)
;;; ----------------------------------------------------------------------
;;; custom
;;; ----------------------------------------------------------------------
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(column-number-mode t)
'(custom-safe-themes
'("3bd9497fb8f39c28ab58a9e957152ba2dc41223c23c5520ef10fc7bd6b222384" "24cb1b9c182198f52df7cebf378ee9ecca93a2daeb9a90049a2f1f556119c742" "9372085daf286af2f75bf00f03f4403d213a843e649c5195cf325fe64a7bee82" "fc5fcb6f1f1c1bc01305694c59a1a861b008c534cae8d0e48e4d5e81ad718bc6" "77bd459212c0176bdf63c1904c4ba20fce015f730f0343776a1a14432de80990" "d677ef584c6dfc0697901a44b885cc18e206f05114c8a3b7fde674fce6180879" "78cfbd96775588c06c4fff22573aaa5fa762ca2b8eda43cb964b7739194ed3c1" "3c708b84612872e720796ea1b069cf3c8b3e909a2e1da04131f40e307605b7f9" "4aee8551b53a43a883cb0b7f3255d6859d766b6c5e14bcb01bed572fcbef4328" "e16a771a13a202ee6e276d06098bc77f008b73bbac4d526f160faa2d76c1dd0e" default))
'(display-time-mode t)
'(menu-bar-mode nil)
'(package-selected-packages
'(markdown-changelog markdown-mode grip-mode pungi python-pytest python-mode pytest pylint pyimport pydoc-info pydoc pycoverage json-mode jedi indium google-contacts go-imports go-guru github-stars github-search github-review git-command flymake-yaml flymake-rust flymake-python-pyflakes flymake-php flymake-lua flymake-less flymake-json flymake-gjshint flymake-eslint flymake-cursor flymake-css flymake-cppcheck ein-mumamo dired-rsync dired-git dashboard-project-status company-web company-shell company-math company-lua company-jedi company-go company-flow company-ctags company-bibtex company-auctex company-ansible browse-at-remote bind-key apache-mode ansible-vault ansible))
'(show-paren-mode t)
'(size-indication-mode t)
'(text-mode-hook
'(turn-on-auto-fill
(lambda nil
(setq require-final-newline t)
(turn-on-auto-fill))))
'(tool-bar-mode nil)
'(tooltip-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)