aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2016-11-04 15:01:17 -0700
committerPaul Eggert2016-11-04 15:01:17 -0700
commit6a20bd3579ef87103d5ea37e6b8193dc6385e547 (patch)
treee11a49c3cbb7e72ccfb6689fbad81bcccfd12665 /lisp
parent29559361f56c9398dcb69db7396dcfc0887843a2 (diff)
parentdbb341022870ecad4c9177485a6770a355633cc0 (diff)
downloademacs-6a20bd3579ef87103d5ea37e6b8193dc6385e547.tar.gz
emacs-6a20bd3579ef87103d5ea37e6b8193dc6385e547.zip
Merge from origin/emacs-25
dbb3410 python.el: Fix detection of native completion in Python 3 (bu... 91c97b6 * Makefile.in (install-arch-indep): Skip etc/refcards/emacsve... 9c1cb8d * lisp/subr.el (set-transient-map): Exit for unbound events (... 9c247d2 Update category-table for Chinese characters 43986d1 Inhibit buffer relocation during regex searches fee4cef Revert fixes to allocation of regex matching
Diffstat (limited to 'lisp')
-rw-r--r--lisp/international/characters.el8
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/subr.el6
3 files changed, 9 insertions, 7 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index 2a7bc32f821..5085e637e39 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -141,10 +141,10 @@ with L, LRE, or LRO Unicode bidi character type.")
141;; Chinese characters (Unicode) 141;; Chinese characters (Unicode)
142(modify-category-entry '(#x2E80 . #x312F) ?|) 142(modify-category-entry '(#x2E80 . #x312F) ?|)
143(modify-category-entry '(#x3190 . #x33FF) ?|) 143(modify-category-entry '(#x3190 . #x33FF) ?|)
144(modify-category-entry '(#x3400 . #x4DBF) ?C) 144(modify-category-entry '(#x3400 . #x4DB5) ?C)
145(modify-category-entry '(#x4E00 . #x9FAF) ?C) 145(modify-category-entry '(#x4E00 . #x9FD5) ?C)
146(modify-category-entry '(#x3400 . #x9FAF) ?c) 146(modify-category-entry '(#x3400 . #x9FD5) ?c)
147(modify-category-entry '(#x3400 . #x9FAF) ?|) 147(modify-category-entry '(#x3400 . #x9FD5) ?|)
148(modify-category-entry '(#xF900 . #xFAFF) ?C) 148(modify-category-entry '(#xF900 . #xFAFF) ?C)
149(modify-category-entry '(#xF900 . #xFAFF) ?c) 149(modify-category-entry '(#xF900 . #xFAFF) ?c)
150(modify-category-entry '(#xF900 . #xFAFF) ?|) 150(modify-category-entry '(#xF900 . #xFAFF) ?|)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index ad69f8779e0..290cdc8120d 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3318,7 +3318,7 @@ When a match is found, native completion is disabled."
3318 python-shell-completion-native-try-output-timeout)) 3318 python-shell-completion-native-try-output-timeout))
3319 (python-shell-completion-native-get-completions 3319 (python-shell-completion-native-get-completions
3320 (get-buffer-process (current-buffer)) 3320 (get-buffer-process (current-buffer))
3321 nil ""))) 3321 nil "_")))
3322 3322
3323(defun python-shell-completion-native-setup () 3323(defun python-shell-completion-native-setup ()
3324 "Try to setup native completion, return non-nil on success." 3324 "Try to setup native completion, return non-nil on success."
diff --git a/lisp/subr.el b/lisp/subr.el
index fba43be9e34..fd46a818df9 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4562,8 +4562,10 @@ to deactivate this transient map, regardless of KEEP-PRED."
4562 ;; exit C-u. 4562 ;; exit C-u.
4563 t) 4563 t)
4564 ((eq t keep-pred) 4564 ((eq t keep-pred)
4565 (eq this-command 4565 (let ((mc (lookup-key map (this-command-keys-vector))))
4566 (lookup-key map (this-command-keys-vector)))) 4566 ;; If the key is unbound `this-command` is
4567 ;; nil and so is `mc`.
4568 (and mc (eq this-command mc))))
4567 (t (funcall keep-pred))) 4569 (t (funcall keep-pred)))
4568 (funcall exitfun))))) 4570 (funcall exitfun)))))
4569 (add-hook 'pre-command-hook clearfun) 4571 (add-hook 'pre-command-hook clearfun)