This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defcustom company-backends `(;; Emacs Lisp | |
;; In newer versions of Emacs, company-capf is used instead. | |
,@(unless (version< "24.3.51" emacs-version) | |
(list 'company-elisp)) | |
;; BBDB https://www.emacswiki.org/emacs/CategoryBbdb | |
company-bbdb | |
;; nxml-mode | |
;; In Emacs >= 26, company-capf is used instead. | |
,@(unless (version<= "26" emacs-version) | |
(list 'company-nxml)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(eval-and-compile | |
(customize-set-variable | |
'package-archives '(("org" . "https://orgmode.org/elpa/") | |
("melpa" . "https://melpa.org/packages/") | |
("gnu" . "https://elpa.gnu.org/packages/"))) | |
(package-initialize) | |
(unless (package-installed-p 'use-package) | |
(package-refresh-contents) | |
(package-install 'use-package))) |