Skip to content

Instantly share code, notes, and snippets.

@mcfunley
Last active December 15, 2015 09:39
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 mcfunley/5240069 to your computer and use it in GitHub Desktop.
Save mcfunley/5240069 to your computer and use it in GitHub Desktop.
### Before using:
### pear install doc.php.net/pman
(defun php-pman ()
(interactive)
(let ((man-term (read-from-minibuffer "Term: " (current-word))))
(man (concat "-M /usr/share/pear/doc/pman " man-term))))
(add-hook 'php-mode-hook '(lambda () (local-set-key "\C-c\C-h" 'php-pman)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment