py-empty-out-list-backward in complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Invalid
|
Undecided
|
Unassigned |
Bug Description
It seems that python-mode.el defines the subject as
;; Electric deletion
(defun py-empty-
"Deletes all elements from list before point. "
(interactive "*")
(and (member (char-before) (list ?\) ?\] ?\}))
(let ((orig (point))
pps cn)
(setq pps (syntax-ppss))
(if (and (not (nth 8 pps)) (nth 1 pps))
(progn
(cond ((or (eq thischar 41)(eq thischar ?\)))
It seems this definitions has two extra '))' at the end.
Thanks,
Four closing parens:
- close forward-char
- close let
- close and
-close defun