help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Aspell and Emacs


From: Bruce Ingalls
Subject: Re: Aspell and Emacs
Date: Wed, 28 Jan 2004 23:18:59 GMT
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Chris Swoyer wrote:
I just downloaded and installed cocoAspell 1.4.1. I am using
enhanced carbon emacs (under Mac's OS 10.3.2).

1. what do I need to insert in my .emacs file so Emacs will use
    Aspell
 ...
Are you using Fink? I added the following contribution recently to
<url: http://emacro.sf.net/ > for Mac users.

Hmm. I bet I can change the first line to simply
        (when (file-readable-p "/sw/bin")
as well as drop the defun declaration...

;;__________________________________________________________________________
;;;;            Fink Paths
(when (and (file-readable-p "/sw/bin") (file-exists-p "/sw/sbin"))
  (defvar shell-bin-path
    '("/sw/bin" "/sw/sbin")
    "The paths where fink binaries can be found")

  (defun fix-shell-paths nil
    (if (and (boundp 'exec-path) (listp exec-path))
        (setq exec-path (append shell-bin-path exec-path))
      (setq exec-path shell-bin-path)))

  (fix-shell-paths))


reply via email to

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