aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorKévin Le Gouguec2021-11-14 02:30:06 +0100
committerLars Ingebrigtsen2021-11-14 02:30:06 +0100
commit48ffbcf7eb6626dd46b40c3cd1cb9df83720146a (patch)
tree0f060ca9ede6e98e3573cc6fb8d41fb5f360f1df /lisp/progmodes/python.el
parent08ce17c2c0d32e200af3984d59f0b78ec500dc2c (diff)
downloademacs-48ffbcf7eb6626dd46b40c3cd1cb9df83720146a.tar.gz
emacs-48ffbcf7eb6626dd46b40c3cd1cb9df83720146a.zip
Fix customization group of python-forward-sexp-function
* lisp/progmodes/python.el (python-forward-sexp-function): Move from the "Flymake integration" subsection to the "Navigation" subsection, so that the option is sorted into the 'python' group rather than the 'python-flymake' group (bug#51807).
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b12b22e992e..47d8d1ce8ec 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1427,6 +1427,13 @@ marks the next defun after the ones already marked."
1427 1427
1428;;; Navigation 1428;;; Navigation
1429 1429
1430(defcustom python-forward-sexp-function #'python-nav-forward-sexp
1431 "Function to use when navigating between expressions."
1432 :version "28.1"
1433 :type '(choice (const :tag "Python blocks" python-nav-forward-sexp)
1434 (const :tag "CC-mode like" nil)
1435 function))
1436
1430(defvar python-nav-beginning-of-defun-regexp 1437(defvar python-nav-beginning-of-defun-regexp
1431 (python-rx line-start (* space) defun (+ space) (group symbol-name)) 1438 (python-rx line-start (* space) defun (+ space) (group symbol-name))
1432 "Regexp matching class or function definition. 1439 "Regexp matching class or function definition.
@@ -5572,13 +5579,6 @@ By default messages are considered errors."
5572 :type '(alist :key-type (regexp) 5579 :type '(alist :key-type (regexp)
5573 :value-type (symbol))) 5580 :value-type (symbol)))
5574 5581
5575(defcustom python-forward-sexp-function #'python-nav-forward-sexp
5576 "Function to use when navigating between expressions."
5577 :version "28.1"
5578 :type '(choice (const :tag "Python blocks" python-nav-forward-sexp)
5579 (const :tag "CC-mode like" nil)
5580 function))
5581
5582(defvar-local python--flymake-proc nil) 5582(defvar-local python--flymake-proc nil)
5583 5583
5584(defun python--flymake-parse-output (source proc report-fn) 5584(defun python--flymake-parse-output (source proc report-fn)