diff options
| author | Mark Oteiza | 2016-11-17 17:58:20 -0500 |
|---|---|---|
| committer | Mark Oteiza | 2016-11-17 17:58:20 -0500 |
| commit | 5b003caa21bb840e3aad1bfc37d941db2b253918 (patch) | |
| tree | 6bce45a4c0785dc056f069e1a2ad4dba73cb0ed9 /lisp/progmodes/python.el | |
| parent | edda93cfb1a1da27adbda6bf43d826e492a135e5 (diff) | |
| download | emacs-5b003caa21bb840e3aad1bfc37d941db2b253918.tar.gz emacs-5b003caa21bb840e3aad1bfc37d941db2b253918.zip | |
Fix arglist in python.el (Bug#24762)
* lisp/progmodes/python.el: Remove unneeded second args.
(python-define-auxiliary-skeleton): DOC arg should be &optional.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f9b28c322c8..9cd9cc8b7c0 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -4040,7 +4040,7 @@ be added to `python-mode-skeleton-abbrev-table'." | |||
| 4040 | "Abbrev table for Python mode." | 4040 | "Abbrev table for Python mode." |
| 4041 | :parents (list python-mode-skeleton-abbrev-table)) | 4041 | :parents (list python-mode-skeleton-abbrev-table)) |
| 4042 | 4042 | ||
| 4043 | (defmacro python-define-auxiliary-skeleton (name doc &optional &rest skel) | 4043 | (defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel) |
| 4044 | "Define a `python-mode' auxiliary skeleton using NAME DOC and SKEL. | 4044 | "Define a `python-mode' auxiliary skeleton using NAME DOC and SKEL. |
| 4045 | The skeleton will be bound to python-skeleton-NAME." | 4045 | The skeleton will be bound to python-skeleton-NAME." |
| 4046 | (declare (indent 2)) | 4046 | (declare (indent 2)) |
| @@ -4060,11 +4060,11 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 4060 | (signal 'quit t)) | 4060 | (signal 'quit t)) |
| 4061 | ,@skel))) | 4061 | ,@skel))) |
| 4062 | 4062 | ||
| 4063 | (python-define-auxiliary-skeleton else nil) | 4063 | (python-define-auxiliary-skeleton else) |
| 4064 | 4064 | ||
| 4065 | (python-define-auxiliary-skeleton except nil) | 4065 | (python-define-auxiliary-skeleton except) |
| 4066 | 4066 | ||
| 4067 | (python-define-auxiliary-skeleton finally nil) | 4067 | (python-define-auxiliary-skeleton finally) |
| 4068 | 4068 | ||
| 4069 | (python-skeleton-define if nil | 4069 | (python-skeleton-define if nil |
| 4070 | "Condition: " | 4070 | "Condition: " |