Emacs: removed auto-fill-mode when called from dwb.

master
Pierre Neidhardt 2013-06-05 17:50:15 +02:00
parent 1651ea1f84
commit f596bc53e4
1 changed files with 8 additions and 0 deletions

View File

@ -245,3 +245,11 @@
(other-window 1))
;; Set GUD to display many windows by default.
(setq gdb-many-windows t)
;; Support for dwb edit.
(add-hook
'find-file-hook
(lambda ()
(if (string-match "edit*" (buffer-name))
(auto-fill-mode -1))))