            (when ,flagvar
              (,mode-name 1)))))))
 
+(suspend-mode-during-cua-rect-selection 'whole-line-or-region-mode)
+
+
 (eval-after-load 'grep
   '(progn
      (dolist (v '("auto"

;; To be able to M-x without meta
(global-set-key (kbd "C-x C-m") 'execute-extended-command)

(global-set-key (kbd "C-.") 'set-mark-command)
(global-set-key (kbd "C-x C-.") 'pop-global-mark)

;;----------------------------------------------------------------------------
;; Page break lines
;;----------------------------------------------------------------------------
(global-page-break-lines-mode)

;;----------------------------------------------------------------------------
;; Use the printing package. This replaces the usual printing commands in the menu bar with a 'Pinting' submenu that contains various printing options.

;; Use evil-mode (strongly recommended) will make this file much smaller!

(require-package 'unfill)
(require-package 'whole-line-or-region)

(when (fboundp 'electric-pair-mode)
  (electric-pair-mode))

;;----------------------------------------------------------------------------
;; Some basic preferences
