Skip to content

Instantly share code, notes, and snippets.

@nicferrier
Created October 29, 2011 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicferrier/1324471 to your computer and use it in GitHub Desktop.
Save nicferrier/1324471 to your computer and use it in GitHub Desktop.
(defun ispell-lookup (word)
(interactive "Mword: ")
(with-current-buffer (get-buffer-create "* ispell-lookup *")
(erase-buffer)
(insert word)
(goto-char (point-min))
(switch-to-buffer-other-window (current-buffer))
(ispell-word)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment