From 7bdcbaab4f4125c47778c7afc36ac468adbe6c4e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 16 Mar 2019 08:58:29 -0400 Subject: [emacs] update packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit also remove the Org hack, as it’s now built into straight.el and enabled by default --- init.org | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index fd734b1..422af4c 100644 --- a/init.org +++ b/init.org @@ -873,41 +873,6 @@ system. In short, my favourite way of life. -First, we have to resort to a [[https://github.com/raxod502/straight.el#installing-org-with-straightel][hack]] to be able to use the correct -latest version of Org from upstream. - -#+begin_src emacs-lisp - (use-package git) - - (defun org-git-version () - "The Git version of org-mode. - Inserted by installing org-mode or when a release is made." - (require 'git) - (let ((git-repo (expand-file-name - "straight/repos/org/" user-emacs-directory))) - (string-trim - (git-run "describe" - "--match=release\*" - "--abbrev=6" - "HEAD")))) - - (defun org-release () - "The release version of org-mode. - Inserted by installing org-mode or when a release is made." - (require 'git) - (let ((git-repo (expand-file-name - "straight/repos/org/" user-emacs-directory))) - (string-trim - (string-remove-prefix - "release_" - (git-run "describe" - "--match=release\*" - "--abbrev=0" - "HEAD"))))) - -(provide 'org-version) -#+end_src - We will use the =org-plus-contrib= package to get the whole deal: #+begin_src emacs-lisp -- cgit v1.2.3-83-g751a