   "Align text columns"
   (interactive "r")
   ;; align-regexp syntax:  align-regexp (beg end regexp &optional group spacing repeat)
-  (align-regexp begin end "\\(\\s-+\\)[a-z=(),?':`\.]" 1 1 t)
+  (align-regexp begin end "\\(\\s-+\\)[a-z=(),?':`\.{}]" 1 1 t)
   (indent-region begin end) ;; ident the region correctly after alignment
   )
 

  (setq str-before-point (buffer-substring (line-beginning-position) (point)))
  ;; (message "%s" str-before-point)
  (if (not (string-match "\\w" str-before-point))
      (open-line 1)
    (progn (move-end-of-line nil)
           (newline-and-indent))))


(setq setup-editing-loaded t)

;; Align
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Source: http://stackoverflow.com/questions/6217153/aligning-or-prettifying-code-in-emacs
;; Source: http://stackoverflow.com/questions/3633120/emacs-hotkey-to-align-equal-signs
(defun align-to-equals (begin end)
  "Align region to equal signs"
