Ray Salemi
Ray Salemi

Reputation: 5913

Problems Installing markdown-mode emacs 23.1.1

In trying to install markdown-mode on my Emacs 23.1.1 I followed the README.md and added the following to my .emacs file:

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/"))
(package-initialize)

Then, I'm supposed to be able to do this:

M-x package-install RET markdown-mode RET.

However I get a [No Match] error.

What am I doing wrong?

Upvotes: 0

Views: 360

Answers (1)

Chris
Chris

Reputation: 136984

markdown-mode 2.3, the version available on MELPA Stable, requires Emacs 24.3 or later. Version 2.1, from January, 2016, looks like it might work with Emacs 23:

Fix Emacs 23 compatibility by checking for font-lock-refresh-defaults before calling it.

Although, even in that version:

Markdown Mode is developed and tested primarily for compatibility with GNU Emacs versions 24.3 and later.

You can try installing it manually following the old installation instructions from version 2.1. Make sure to check out the v2.1 tag after cloning the source!

Upvotes: 1

Related Questions