Skip to main content

Thread: emacs : intalling a new mode


hi,

i'm beginning emacs, , i'd add new mode : hightlight indentation mode. downloaded lisp file, added in ~/.emacs.d, , modified .emacs.d follow :
code:
(menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) (setq ring-bell-function 'ignore) (add-to-list 'load-path "~/.emacs.d/") (autoload 'highlight-indentation-mode "highlight-indentation.el")
but when try m-x hightlight-indentation or m-x highlight-indentation-mode, emacs tells me command not exists...

should ?

you should try include elisp file via require:

code:
(add-to-list 'load-path "~/.emacs.d") (require 'highlight-indentation)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [other] emacs : intalling a new mode


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?