Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing plugin for Emacs

I'm using this instructional page to install a Prolog plugin for Emacs, and it says the following:

In a nutshell, place the downloaded file where Emacs can see it, 
and insert into your ~/.emacs or ~/.xemacs/init.el the following 
lines:

What does it mean to place a file where Emacs can see it, and how do I insert into ~/.emacs?

like image 420
QuietThud Avatar asked Aug 26 '26 15:08

QuietThud


1 Answers

"Place a file where Emacs can see it" means placing the file prolog.el in a directory devoted to additional per-user Emacs-specific files, e.g. in a subdirectory of ~/.emacs.d/ (like ~/.emacs.d/elisp) and if needed, adding that directory toload-path.

The other instructions refer to modifying the standard Emacs initialization file, e.g. ~/.emacs.d/init.el. Insert the lines given in those instructions into your own Emacs initialization file, then save the file and restart Emacs.

like image 89
Keith Flower Avatar answered Aug 29 '26 13:08

Keith Flower



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!