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

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

Re: Changing outline-minor-mode keybindings for texinfo files


From: Yuri Khan
Subject: Re: Changing outline-minor-mode keybindings for texinfo files
Date: Sat, 15 May 2021 03:10:18 +0700

On Fri, 14 May 2021 at 23:36, <michael-franzese@gmx.com> wrote:

> > > (add-hook 'texinfo-mode-hook 'vmove-keytrigger)

> > (with-eval-after-load 'texinfo
> >   (define-key texinfo-mode-map (kbd "H-q") #'outline-hide-sublevels)
> >   (define-key texinfo-mode-map (kbd "H-b") #'outline-hide-body)
> >   (define-key texinfo-mode-map (kbd "H-<up>") #'outline-move-subtree-up)
> >   (define-key texinfo-mode-map (kbd "H-<down>") 
> > #'outline-move-subtree-down))

> Would your comments also mean that I remove the add-hook
>
>   (add-hook 'texinfo-mode-hook 'vmove-keytrigger)

Yes.

> Can with-eval-after-load be included inside a function?

Yes if you arrange for that function to be invoked some time before
you actually try pressing those keys while in texinfo-mode.



reply via email to

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