help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: define a keybinding for "find next alternate definition of last tag


From: Burkhard Schultheis
Subject: Re: define a keybinding for "find next alternate definition of last tag specified"
Date: Wed, 27 Feb 2013 14:53:38 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

Am 27.02.2013 13:36, schrieb Burkhard Schultheis:
I want to have a single keystroke for the keystroke sequence C-u m-.
(find next alternate definition of last tag specified). as far as I see
there is no command associated with this action.

How can I define a global key in my .emacs file for this action?

Thank you in advance!


In the meantime I've tried it several ways, last test was:

(defun find-next-tag ()
  "Find next tag with TAGS file"
  ((kdb <C-u>) (kbd <M-.>)))

(global-set-key [M-f9] 'find-next-tag)

If a try Alt-F9 I get an error message reading "Wrong type argument: commandp, find-next-tag"

I've tried it with the function names, too, but I got every time the same error message.

What's wrong and how to do it right?

Regards
Burkhard



reply via email to

[Prev in Thread] Current Thread [Next in Thread]