summaryrefslogtreecommitdiff
path: root/lisp/language/misc-lang.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina <fgallina@gnu.org>2014-07-26 20:43:51 -0300
committerFabián Ezequiel Gallina <fgallina@gnu.org>2014-07-26 20:43:51 -0300
commit60cc81af68080a8d1edb7584ce0966754595e187 (patch)
treef1cc7f5b5194843d85d125b2ffd651679b05ca2e /lisp/language/misc-lang.el
parent9e9f8582a893f1e97b1f8955f69b96f969ee1f85 (diff)
downloademacs-60cc81af68080a8d1edb7584ce0966754595e187.tar.gz
emacs-60cc81af68080a8d1edb7584ce0966754595e187.tar.bz2
emacs-60cc81af68080a8d1edb7584ce0966754595e187.zip
Robust shell syntax highlighting. (Bug#18084, Bug#16875)
* lisp/progmodes/python.el: (python-shell-prompt-input-regexps): Add iPython block prompt. (python-shell-output-syntax-table): Delete var. (python-shell-font-lock-with-font-lock-buffer): New macro. (python-shell-font-lock-get-or-create-buffer) (python-shell-font-lock-kill-buffer) (python-shell-font-lock-cleanup-buffer) (python-shell-font-lock-post-command-hook) (python-shell-font-lock-turn-off): New functions. (python-shell-font-lock-turn-on): New function. (inferior-python-mode): Use it. (python-shell-font-lock-toggle): New command. (python-shell-font-lock-enable): Rename from python-shell-enable-font-lock. (run-python-internal): Use it. (python-shell-font-lock-comint-output-filter-function): New function. (python-shell-comint-end-of-output-p): New function. (python-shell-output-filter): Use it. (python-util-comint-last-prompt): New function. (python-util-text-properties-replace-name): New function.
Diffstat (limited to 'lisp/language/misc-lang.el')
0 files changed, 0 insertions, 0 deletions