chiark / gitweb /
dot/emacs: Include the turd created by Emacs's ELPA package system.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 8 May 2020 22:27:33 +0000 (23:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 13 May 2020 17:31:10 +0000 (18:31 +0100)
Guarded to make sure it doesn't break ancient Emacsen.

dot/emacs

index fe7ef112d931d17abf866d55a1060e4a8bff0295..7f876e7022bcdb27c7280c600ccc63bee156a9ab 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 
 ;; Load some other bits of code.
 
+;; Magic to make ELPA packages work.
+(trap
+(package-initialize)
+)
+
 (maybe-autoload 'cc-mode "cc-mode" nil t)
 (maybe-autoload 'rexx-mode "rexx-mode" nil t)
 (maybe-autoload 'cvs-update "pcl-cvs" nil t)