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

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

Re: invalid function


From: Johan Bockgård
Subject: Re: invalid function
Date: Thu, 08 Nov 2007 01:29:47 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Nikola Skoric <nick-news@net4u.hr> writes:

> (fset 'goto-nav-panel
>    "\C-s<!--Navigation Panel-->\C-a")
>
> (get-buffer-create "node5.html")
> (set-buffer "node5.html")
> (goto-nav-panel)

A string is not a function (though it is a command). Try
`execute-kbd-macro' (or `command-execute'). (Or write a proper Lisp
function.)

-- 
Johan Bockgård


reply via email to

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