aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorK. Handa2017-10-08 11:56:06 +0900
committerK. Handa2017-10-08 11:56:06 +0900
commita9b72976deec9b266950865581a626ec8f7b74f4 (patch)
tree7b5fb778bad612133b54ea3a39aa8356b6bdbaf7 /lisp/progmodes/python.el
parent64baaff8c5f70b7d637ac37304c4377e955b3f09 (diff)
parentc194fb61c638490e3510864fe2750814af8c3719 (diff)
downloademacs-a9b72976deec9b266950865581a626ec8f7b74f4.tar.gz
emacs-a9b72976deec9b266950865581a626ec8f7b74f4.zip
Merge branch 'emacs-26' of git.sv.gnu.org:/srv/git/emacs into emacs-26
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 9aa5134ca0d..f79d9a47d31 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -640,10 +640,14 @@ The type returned can be `comment', `string' or `paren'."
640 ((python-rx string-delimiter) 640 ((python-rx string-delimiter)
641 (0 (ignore (python-syntax-stringify)))))) 641 (0 (ignore (python-syntax-stringify))))))
642 642
643(defconst python--prettify-symbols-alist 643(defvar python-prettify-symbols-alist
644 '(("lambda" . ?λ) 644 '(("lambda" . ?λ)
645 ("and" . ?∧) 645 ("and" . ?∧)
646 ("or" . ?∨))) 646 ("or" . ?∨))
647 "Value for `prettify-symbols-alist' in `python-mode'.")
648
649(define-obsolete-variable-alias 'python--prettify-symbols-alist
650 'python-prettify-symbols-alist "26.1")
647 651
648(defsubst python-syntax-count-quotes (quote-char &optional point limit) 652(defsubst python-syntax-count-quotes (quote-char &optional point limit)
649 "Count number of quotes around point (max is 3). 653 "Count number of quotes around point (max is 3).