aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPaul Eggert2015-09-21 07:58:41 -0700
committerPaul Eggert2015-09-21 07:59:16 -0700
commit818fc6e128491de6bc5d630f6c9c8adf969e3ea8 (patch)
tree3c8b6bb8d47b1c5d0ea3307d3e460d0f0cf52597 /lisp/progmodes/python.el
parentcf91ea794be50c2d3c572726b1d4e53ab92da506 (diff)
downloademacs-818fc6e128491de6bc5d630f6c9c8adf969e3ea8.tar.gz
emacs-818fc6e128491de6bc5d630f6c9c8adf969e3ea8.zip
Clarify or replace a few \u escapes.
* doc/lispref/nonascii.texi (Character Properties) More-detailed commentary for \u escapes. * lisp/progmodes/python.el (python--prettify-symbols-alist): * lisp/replace.el (query-replace-from-to-separator): * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def) (rst-mode-syntax-table): * lisp/whitespace.el (whitespace-display-mappings): Prefer actual character to \u escape when this makes the code easier to follow in the usual case where Unicode chars can be displayed.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 4fdf2ca8542..b641e300163 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -621,9 +621,9 @@ The type returned can be `comment', `string' or `paren'."
621 (0 (ignore (python-syntax-stringify)))))) 621 (0 (ignore (python-syntax-stringify))))))
622 622
623(defconst python--prettify-symbols-alist 623(defconst python--prettify-symbols-alist
624 '(("lambda" . ?\u03bb) 624 '(("lambda" . ?λ)
625 ("and" . ?\u2227) 625 ("and" . ?)
626 ("or" . ?\u2228))) 626 ("or" . ?)))
627 627
628(defsubst python-syntax-count-quotes (quote-char &optional point limit) 628(defsubst python-syntax-count-quotes (quote-char &optional point limit)
629 "Count number of quotes around point (max is 3). 629 "Count number of quotes around point (max is 3).