Skip to content
AutotHotkey major mode for emacs
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

License GPL 3 MELPA MELPA Stable


An Emacs major mode for editing AutoHotkey scripts (.ahk).


  • Syntax highlighting
  • company-mode and ac-complete compatibility
  • indentation and commenting functionality
  • Documentation lookup capability


Available on all major package.el community maintained repos - MELPA Stable and MELPA repos.

MELPA Stable is recommended as it has the latest stable version. MELPA has a development snapshot for users who don't mind breakage but don't want to run from a git checkout.

You can install ahk-mode using the following command:

M-x package-install [RET] ahk-mode [RET]

or if you'd rather keep it in your dotfiles:

(unless (package-installed-p 'ahk-mode)
  (package-install 'ahk-mode))

If the installation doesn't work try refreshing the package list:

M-x package-refresh-contents


  • Improve indentation heuristics.
  • Allow documentation lookup with local chm files.
  • Allow commenting of block using alternate commenting syntax (/* */).


Copyright © 2015-2016 Rich Alesi and contributors.

Distributed under the GNU General Public License; type C-h C-c to view it.

You can’t perform that action at this time.