I am using Aquamacs on OS X 10.9.4. I have the following lines in my Preferences.el
file
(which is similar to the .emacs
init file):
(add-to-list 'load-path "~/.emacs.d/")
(require 'fill-column-indicator)
(setq-default fci-mode t)
I use M-x fci-mode
to manually toggle the column indicator.
How can fci-mode
be enabled on startup using Aquamacs?
You should remove (setq-default fci-mode t)
.
fci-mode
is not global, so you could use a mode hook. If, for example, your opening document on startup is emacs-lisp-mode
, you could place something like this inside your Preferences.el
file.
(add-hook 'emacs-lisp-mode-hook (lambda ()
(fci-mode 1)
))
You will need to use a mode hook for each major mode; or, you will need to modify fci-mode by adding a global setting.
For anyone who is interested in looking at the source-code, here is the link to the Github repository: https://github.com/alpaker/Fill-Column-Indicator