all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* man pages in c-mode
@ 2007-05-30 21:02 Hadron
  2007-05-30 22:47 ` David Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: Hadron @ 2007-05-30 21:02 UTC (permalink / raw)
  To: help-gnu-emacs


I thought this might turn my man page display into c-mode. It
doesnt. What must I do?

(defun jump-man-page ()
  (interactive)
  (manual-entry (current-word))
  (c-mode)
  )

Note that I call manual-entry in "aggressive" mode meaning that
manual-entry puts the man page into another buffer and sets focus
there. I can then manually set c-mode with no problem using

M-x c-mode

But how to do it from my function which is bound to a function key?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-30 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-30 21:02 man pages in c-mode Hadron
2007-05-30 22:47 ` David Hansen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.