unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: invalid function
Date: Thu, 08 Nov 2007 01:29:47 +0100	[thread overview]
Message-ID: <yoijfxzh7f5w.fsf@remote4.student.chalmers.se> (raw)
In-Reply-To: fgtb3e$eit$1@ss408.t-com.hr

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	other threads:[~2007-11-08  0:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 21:35 invalid function Nikola Skoric
2007-11-08  0:29 ` Johan Bockgård [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijfxzh7f5w.fsf@remote4.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).