Emacs没有看到新的Org-Mode的安装 [英] Emacs does not see new installation of Org-Mode
本文介绍了Emacs没有看到新的Org-Mode的安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经从emacs list-packages安装了org-mode版本8.2.1。
我下载了最新版本8.2.4并将其放在.emacs.d中,并将以下内容添加到.emacs,
I had installed org-mode version 8.2.1 from emacs list-packages. I downloaded the latest version 8.2.4 and placed it in .emacs.d and added the following to my .emacs,
(add-to-list'load-path〜/ .emacs.d / org-8.2.4 / lisp)
Emacs仍然报告org-mode版本为8.2.1
Emacs still reports org-mode version to be 8.2.1
推荐答案
尝试从 load-path
first:
(require 'cl)
;; Org-mode that was shipped with Emacs
(setq load-path (remove-if (lambda (x) (string-match-p "org$" x)) load-path))
;; ELPA
(setq load-path (remove-if (lambda (x) (string-match-p "org-20" x)) load-path))
(setq custom-org-path "~/.emacs.d/org-8.2.4/lisp")
(add-to-list 'load-path custom-org-path)
还要确保尽可能早地在您的 init.el
中 - 特别是您可以使用基于组织模式的系统进行emacs配置文件。
Also make sure to do it as early as possible in your init.el
- especially if you use org-mode-based system for your emacs configuration files.
这篇关于Emacs没有看到新的Org-Mode的安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文