How can I disable
or keywords substitution in Python mode in Emacs 25.1?
emacs-w32 can't find appropriate fonts in Windows (for
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
Unfortunately this doesn't work:
(defun my/python-mode-hook () (when (eq window-system 'w32) (setq prettify-symbols-alist nil))) (add-hook 'python-mode-hook 'my/python-mode-hook)
So I do:
(defun my/python-mode-hook () (when (and (eq window-system 'w32) (fboundp 'prettify-symbols-mode)) (prettify-symbols-mode -1))) (add-hook 'python-mode-hook 'my/python-mode-hook)
The problem because I have:
that I set 2 years ago...