Skip to content

Commit

Permalink
Specify defcustom type
Browse files Browse the repository at this point in the history
  • Loading branch information
iquiw committed Oct 8, 2017
1 parent d53361e commit 94cf665
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions smart-semicolon.el
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@
:group 'editing)

(defcustom smart-semicolon-trigger-chars '(?\;)
"List of characters that trigger smart semicolon behavior.")
"List of characters that trigger smart semicolon behavior."
:type '(repeat character))

(defcustom smart-semicolon-block-chars '(?\; ?\})
"List of characters that block smart semicolon behavior if they are at eol.")
"List of characters that block smart semicolon behavior if they are at eol."
:type '(repeat character))

(defcustom smart-semicolon-backspace-commands
'(backward-delete-char delete-backward-char c-electric-backspace)
"List of commands that are treated as backspace command.")
"List of commands that are treated as backspace command."
:type '(repeat symbol))

(defvar smart-semicolon--last-change nil)
(defvar smart-semicolon--last-command nil)
Expand Down

0 comments on commit 94cf665

Please sign in to comment.