Created
March 27, 2017 11:05
-
-
Save perusio/d6f7067087096664d0aecf09fde0a915 to your computer and use it in GitHub Desktop.
Making pabbrev-mode completions work when cdlatex-mode is active
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; When we are in cdlatex mode then | |
;; rebind the TAB key so that pabbrev | |
;; -mode completions still work. | |
(when (and (boundp 'cdlatex-mode) | |
(boundp 'pabbrev-mode) | |
pabbrev-mode | |
cdlatex-mode) | |
(local-set-key '[f12] 'pabbrev-expand-maybe)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This needs to be included in LaTeX-mode-hook.