Skip to content

Instantly share code, notes, and snippets.

@offby1
Created July 12, 2015 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save offby1/042ab182a7383c1e69a2 to your computer and use it in GitHub Desktop.
Save offby1/042ab182a7383c1e69a2 to your computer and use it in GitHub Desktop.
;; This has been happening, on and off, for _years_. Some code,
;; somewhere, is turning on auto-fill-mode in ALL my buffers,including
;; the minibuffer. I've never figured out who the culprit is! THIS
;; OTTA CATCH 'EM RED-HANDED!1!
;; (debug-on-entry 'auto-fill-mode)
;;(cancel-debug-on-entry 'auto-fill-mode)
(when (default-value 'auto-fill-function)
(message "Hmm ... who gave auto-fill-function a default value?!")
(setq-default auto-fill-function nil))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment