[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 48ffbcf: Fix customization group of python-forward-sexp-function
From: |
Lars Ingebrigtsen |
Subject: |
master 48ffbcf: Fix customization group of python-forward-sexp-function |
Date: |
Sat, 13 Nov 2021 20:30:42 -0500 (EST) |
branch: master
commit 48ffbcf7eb6626dd46b40c3cd1cb9df83720146a
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lisp/progmodes/python.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b12b22e..47d8d1c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1427,6 +1427,13 @@ marks the next defun after the ones already marked."
;;; Navigation
+(defcustom python-forward-sexp-function #'python-nav-forward-sexp
+ "Function to use when navigating between expressions."
+ :version "28.1"
+ :type '(choice (const :tag "Python blocks" python-nav-forward-sexp)
+ (const :tag "CC-mode like" nil)
+ function))
+
(defvar python-nav-beginning-of-defun-regexp
(python-rx line-start (* space) defun (+ space) (group symbol-name))
"Regexp matching class or function definition.
@@ -5572,13 +5579,6 @@ By default messages are considered errors."
:type '(alist :key-type (regexp)
:value-type (symbol)))
-(defcustom python-forward-sexp-function #'python-nav-forward-sexp
- "Function to use when navigating between expressions."
- :version "28.1"
- :type '(choice (const :tag "Python blocks" python-nav-forward-sexp)
- (const :tag "CC-mode like" nil)
- function))
-
(defvar-local python--flymake-proc nil)
(defun python--flymake-parse-output (source proc report-fn)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 48ffbcf: Fix customization group of python-forward-sexp-function,
Lars Ingebrigtsen <=