 (server-start)
 
 ;; Customize vertical window divider:
-;; Reverse colors for the border to have nicer line.
-(set-face-inverse-video-p 'vertical-border nil)
-(set-face-background 'vertical-border (face-background 'default))
 ;; Set symbol for the border.
 (set-display-table-slot standard-display-table
                         'vertical-border

           (file (list file)))))
    (setq doIt (if (<= (length myFileList) 5)
                   t
                 (y-or-n-p "Open more than 5 files? ") ) )
    (when doIt
      (cond
       ((ar/windowsp)
        (mapc (lambda (fPath) (w32-shell-execute "open" (replace-regexp-in-string "/" "\\" fPath t t)) ) myFileList))
       ((ar/osxp)
        (mapc (lambda (fPath) (shell-command (format "open \"%s\"" fPath)) )  myFileList) )
       ((ar/gnulinuxp)
        (mapc (lambda (fPath) (let ((process-connection-type nil)) (start-process "" nil "xdg-open" fPath)) ) myFileList) ) ) ) ) )
(global-set-key (kbd "C-M-o") 'xah-open-in-external-app)

(setq ring-bell-function 'ignore)


(defun ar/markdown-mode-hook-function ()
  "Called when entering `markdown-mode'."
  (set (make-local-variable 'markdown-indent-on-enter) nil)
  (local-set-key (kbd "RET") 'electric-newline-and-maybe-indent))

(ar/add-functions-to-mode-hooks '(ar/prog-mode-hook-function)
                                '(prog-mode-hook))
