 (when (< emacs-major-version 24)
   ;; For important compatibility libraries like cl-lib
   (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
+;; Fix broken connection to elpa in emacs 26.1 and 26.2
+(when (and (eq emacs-major-version 26)
+		   (< emacs-minor-version 3))
+  (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3"))
 (package-initialize)
 
 ;; load-path setting


;; start the emacsclient server
; (server-start)

;; Package repositories
(require 'package)

(define-key global-map "\C-cl" 'org-store-link)
(define-key global-map "\C-ca" 'org-agenda)


