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

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

Re: Define key for bookmark-jump


From: Emilio Lopes
Subject: Re: Define key for bookmark-jump
Date: Thu, 23 Aug 2007 20:45:39 +0200
User-agent: Emacs Gnus

Fabian Braennstroem writes:

> e.g. I would like to set key '1' to jump to bookmark with
> 'bookmark_name':

>             (local-set-key "1" 'bookmark-jump "bookmark_name")

Achtung, untested:

    (define-key dired-mode-map "1" 
      (lambda ()
        (interactive)
        (bookmark-jump "bookmark name")))

-- 
Emílio C. Lopes
Munich, Germany


reply via email to

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