   (sml/setup)
   )
 
+;; undo
+(unless (boundp 'warning-suppress-types)
+  (setq warning-suppress-types nil))
+(push '(undo discard-info) warning-suppress-types)
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; undo-tree ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (use-package undo-tree
-  :demand t
   :config
   ;; reset the undo tree history (useful after reverting buffer)
   (global-set-key "\C-cu" (lambda()(interactive)(setq buffer-undo-tree nil)))

;; Author: Dan Harms <danielrharms@gmail.com>
;; Created: Friday, February 27, 2015
;; Version: 1.0
;; Modified Time-stamp: <2016-04-15 08:29:09 dan.harms>
;; Modified by: Dan Harms
;; Keywords:


(setq kill-do-not-save-duplicates t)
(file-name-shadow-mode 1)
(setq enable-recursive-minibuffers t)
;;  truncate long lines
(setq-default truncate-lines t)
;; interactive regexp-search space character stands only for 1 char
