; Generated by Chef for <%= node[:fqdn] %>
; Local modifications will be overwritten.

(setq tags-file-name "TAGS")
(setq-default tab-width 2)
(setq js-indent-level 2)
(setq-default indent-tabs-mode nil)
(setq mac-emulate-three-button-mouse nil)
(setq cua-highlight-region-shift-only t)
(prefer-coding-system 'utf-8)
(setq vc-handled-backends nil)
(cua-mode nil)
(setq gist-view-gist t)
(menu-bar-mode -1)

;; works in both aquamacs and carbon
(when (functionp 'tool-bar-mode)
  (tool-bar-mode -1))

;; configure cua for terminal
(cua-selection-mode t)

;; aquamacs specific
(when (boundp 'aquamacs-version)
  (one-buffer-one-frame-mode 0))

;; all modes
(add-hook 'before-save-hook 'delete-trailing-whitespace)

; Generated by Chef for <%= node[:fqdn] %>
; Local modifications will be overwritten.

(setq tags-file-name "TAGS")
(setq-default tab-width 2)
(setq js-indent-level 2)
(setq-default indent-tabs-mode nil)
(setq mac-emulate-three-button-mouse nil)
(setq cua-highlight-region-shift-only t)
(prefer-coding-system 'utf-8)
(setq vc-handled-backends nil)
(cua-mode t)
(setq cua-enable-cua-keys nil)
(setq gist-view-gist t)
(menu-bar-mode -1)

;; works in both aquamacs and carbon
(when (functionp 'tool-bar-mode)
  (tool-bar-mode -1))

;; aquamacs specific
(when (boundp 'aquamacs-version)
  (one-buffer-one-frame-mode 0))

;; all modes
(add-hook 'before-save-hook 'delete-trailing-whitespace)

Fix cua-mode for emacs 24.4
Fix cua-mode for emacs 24.4