Re: Spell Checking in Emacs

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



Le mercredi 20 à 22:47, Rthoreau a écrit :
> What would be ideal is to get Hunspell working if you follow the
> emacswiki I still do not have a valid Hunspell working on two operating
> systems.  One being Arch, the other OpenIndiana so I had to resort back
> to aspell for both.

Is the problem that you are sharing you .emacs between the two OSs, but
Hunspell is available on only one? In that case, what about:

(if (string-match "-ARCH" operating-system-release)
     (use hunspell)
  (fallback to aspell))

Or:

(if (executable-find "hunspell")
     (use hunspell...)
  (fallback to aspell))

-- 
Fred


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux