Let quelpa install org-menu instead of undo-tree

This commit is contained in:
Gerard Vermeulen 2022-04-22 18:54:55 +02:00
parent 526a2ffea3
commit d1bb2e2b8f

View File

@ -233,6 +233,7 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
nov ; EPUB reader
orderless ; Emacs completion style
org ; plain text thought organizer
org-menu ; transient menu for org-mode
pdf-tools ; interactive docview replacement
python ; mode to edit Python code
quelpa ; install Emacs packages from source
@ -240,7 +241,6 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
saveplace-pdf-view ; save pdf-view and doc-view places
sly ; Sylvester the Cat's Common Lisp IDE
smartparens ; smart editing of character pairs
undo-tree ; more advanced yet simpler undo system
vertico ; VERTical Interactive Completion
wgrep ; open a writable grep buffer
wordnut ; WordNet lexical database
@ -521,7 +521,7 @@ package on your computer before installation. The code in listing
state if the package [[https://github.com/emacscollective/no-littering][no-littering]] is not present:
1. It installs and loads [[https://github.com/emacscollective/no-littering][no-littering]] after ensuring refreshing of the
contents of available packages.
2. It ensures installation of [[https://github.com/quelpa/quelpa][quelpa]] before ensuring installation of [[https://www.reddit.com/r/emacs/comments/l6rcqh/undotree_repositorys_new_home_gitlab/][undo-tree]].
2. It ensures installation of [[https://github.com/quelpa/quelpa][quelpa]] before ensuring installation of [[https://github.com/sheijk/org-menu#readme][org-menu]].
3. It calls src_emacs-lisp{(package-install-selected-packages)} to check the
installation status of all packages in
src_emacs-lisp{package-selected-packages} and to install the missing packages
@ -541,9 +541,9 @@ the contents of packages and allows to update packages to the latest version.
(unless (package-installed-p 'quelpa)
(package-install 'quelpa))
(unless (package-installed-p 'undo-tree)
(unless (package-installed-p 'org-menu)
;; Neither GNU ELPA, nor MELPA have the latest version.
(quelpa '(undo-tree :repo "tsc25/undo-tree" :fetcher gitlab)))
(quelpa '(org-menu :repo "sheijk/org-menu" :fetcher github)))
(unless noninteractive
(package-install-selected-packages))
@ -1512,7 +1512,9 @@ backward compatibility. See table [[tab:org-latex-class-tag-placeholder]] and ty
(with-eval-after-load 'org
(define-key org-mode-map (kbd "$") #'org-electric-dollar)
(define-key org-mode-map (kbd "M-q") #'org-fill-paragraph)))
(define-key org-mode-map (kbd "M-q") #'org-fill-paragraph)
(when (require 'org-menu nil 'noerror)
(define-key org-mode-map (kbd "C-c m") 'org-menu))))
#+end_src
#+caption[Customize =org-export=]: