]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge branch 'master' into feature/tree-sitter
authorYuan Fu <casouri@gmail.com>
Wed, 5 Oct 2022 21:22:03 +0000 (14:22 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 5 Oct 2022 21:22:03 +0000 (14:22 -0700)
1  2 
configure.ac
lisp/progmodes/python.el
src/alloc.c
src/data.c
src/emacs.c
src/eval.c
src/lisp.h
src/lread.c

diff --cc configure.ac
Simple merge
index b498baec608d6a0dea423d2af14018d20aee55c0,80c5b31b6eaba9c88b5291be2c020f285ee169ea..801432cd188c2cbadd9ea5b782dceca34caf00be
  (require 'ansi-color)
  (require 'cl-lib)
  (require 'comint)
 -(eval-when-compile (require 'subr-x))   ;For `string-empty-p'.
 +(eval-when-compile (require 'subr-x))   ;For `string-empty-p' and `string-join'.
 +(require 'treesit)
 +(require 'pcase)
+ (require 'compat nil 'noerror)
+ (require 'project nil 'noerror)
+ (require 'seq)
  
  ;; Avoid compiler warnings
  (defvar compilation-error-regexp-alist)
    :version "24.3"
    :link '(emacs-commentary-link "python"))
  
 +(defcustom python-use-tree-sitter nil
 +  "If non-nil, `python-mode' tries to use tree-sitter.
 +Currently `python-mode' uses tree-sitter for font-locking, imenu,
 +and movement functions."
 +  :type 'boolean)
 +
+ (defcustom python-interpreter "python"
+   "Python interpreter for noninteractive use.
+ To customize the Python shell, modify `python-shell-interpreter'
+ instead."
+   :version "29.1"
+   :type 'string)
++
  \f
  ;;; Bindings
  
diff --cc src/alloc.c
Simple merge
diff --cc src/data.c
Simple merge
diff --cc src/emacs.c
Simple merge
diff --cc src/eval.c
Simple merge
diff --cc src/lisp.h
Simple merge
diff --cc src/lread.c
Simple merge