emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/mmm-mode 3801389a9e 5/8: Update installation instructio


From: ELPA Syncer
Subject: [elpa] externals/mmm-mode 3801389a9e 5/8: Update installation instructions in mmm.texi
Date: Thu, 22 Feb 2024 00:58:17 -0500 (EST)

branch: externals/mmm-mode
commit 3801389a9ee8f562790827c6f62727e49cc66b9c
Author: Ola Nilsson <ola.nilsson@gmail.com>
Commit: Ola Nilsson <ola.nilsson@gmail.com>

    Update installation instructions in mmm.texi
    
    The `standard installation process' is no more.  Refer to make
    instead.
---
 mmm.texi | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

diff --git a/mmm.texi b/mmm.texi
index 0ad02da693..c47f37d781 100644
--- a/mmm.texi
+++ b/mmm.texi
@@ -291,25 +291,31 @@ buffer's file extension, dominant mode, or local 
variables.
 @node Installation
 @section Installing MMM Mode
 
-MMM Mode has a standard installation process.  See the file INSTALL for
-generic information on this process.  To summarize, unpack the archive,
-@command{cd} to the created MMM Mode directory, type @samp{./configure},
-then @samp{make}, then @samp{make install}.  If all goes correctly, this
-will compile the MMM Mode elisp files, install them in your local
-site-lisp directory, and install the MMM Mode info file @file{mmm.info}
-in your local info directory.
-
-Now you need to configure your Emacs initialization file (usually
-@file{~/.emacs}) to use MMM Mode.  First, Emacs has to know where to
-find MMM Mode.  In other words, the MMM Mode directory has to be in
-@code{load-path}.  This can be done in the parent directory's
-@file{subdirs.el} file, or in the init file with a line such as:
+The recommended way to install MMM Mode is from GNU ELPA.
 
 @lisp
-(add-to-list 'load-path "/path/to/site-lisp/mmm/")
+(package-install 'mmm-mode)
 @end lisp
 
-Once @code{load-path} is configured, MMM Mode must be loaded.  You can
+@noindent
+You can also add the MMM Mode directory to your @code{load-path}.
+
+@lisp
+(add-to-list 'load-path "/path/to/mmm-mode/")
+@end lisp
+
+@noindent
+The Makefile distributed with MMM Mode can be used to byte compile the
+code and build the Info documentation with a simple @code{make}
+command.  Don't forget to add the MMM mode directory to your
+@code{Info-directory-list}.
+
+@lisp
+(add-to-list 'Info-directory-list pkg-dir)
+@end lisp
+
+Once the package is installed or @code{load-path} configured, MMM Mode
+must be loaded.  You can
 load all of MMM Mode with the line
 
 @lisp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]