diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-15 15:53:53 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-15 15:53:53 +0200 |
commit | b2e3669d963667890f7b55158c3b6b51a07259d2 (patch) | |
tree | 2bb16487a188785cd8494168c86ded2468ec995c | |
parent | fbd0f194c5425d84c490ef8010deafd47e42a340 (diff) | |
download | emacs-b2e3669d963667890f7b55158c3b6b51a07259d2.tar.gz emacs-b2e3669d963667890f7b55158c3b6b51a07259d2.tar.bz2 emacs-b2e3669d963667890f7b55158c3b6b51a07259d2.zip |
Tweak python-hideshow-forward-sexp-function warning avoidance
* lisp/progmodes/python.el
(python-hideshow-forward-sexp-function): Avoid compilation warning
in a more standard way. Problem reported in
https://thedailywtf.com/articles/the-programmer-s-motto-and-other-comments
-rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index fae350dea24..19b79b69197 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4775,10 +4775,9 @@ Interactively, prompt for symbol." ;;; Hideshow -(defun python-hideshow-forward-sexp-function (arg) +(defun python-hideshow-forward-sexp-function (_arg) "Python specific `forward-sexp' function for `hs-minor-mode'. Argument ARG is ignored." - arg ; Shut up, byte compiler. (python-nav-end-of-defun) (unless (python-info-current-line-empty-p) (backward-char))) |