 ;; Set the location for bookmarks
 (set 'bookmark-default-file "~/.emacs.d/bookmarks")
 
-;; Allow scrolling during incremental search
-(setq isearch-allow-scroll t)
-
 ;; save point in file
 (setq-default save-place t)
 

(set 'whitespace-style '(face lines-tail))

(add-hook 'prog-mode-hook 'whitespace-mode)

;; Saving
;; ============================================================

(set 'inhibit-startup-screen t) ;; No startup screen
(set-scroll-bar-mode 'right);; Scroll bar on the right
(global-visual-line-mode 1) ;; Wrap lines at nearest word
(global-subword-mode 1) ;; Treat CamelCase as separate words
(set 'truncate-partial-width-windows nil) ;; Make line wrapping work for
;; multiple frames
(tool-bar-mode -1) ;; Disable toolbar
