in LaTeX mode
C-cC-f calls the
tex-file function. I performed a litte tweak to that function and I wrote a
Now I'd like to call the
tex-file-mode with the same key-binding during some scripts of mine and to restore the default behaviour when I exit these scripts.
Is there a way to do that using a
I hope I've been enough clear in my question.
EDIT. I tried, on a Drew's hint, this:
(let (latex-mode-map) (define-key latex-mode-map "\C-c\C-f" 'tex-file-mod))
But it doesn't restore the default key-binding at the script exit.