summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/editor.js')
-rw-r--r--common/content/editor.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/content/editor.js b/common/content/editor.js
index 597129e9..8d0073b5 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -179,7 +179,11 @@ function Editor() //{{{
commands.add([ch ? ch + "una[bbrev]" : "una[bbreviate]"],
"Remove an abbreviation" + modeDescription,
- function (args) { editor.removeAbbreviation(mode, args.string); });
+ function (args) { editor.removeAbbreviation(mode, args.literalArg); },
+ {
+ argCount: "1",
+ literal: 0
+ });
commands.add([ch + "abc[lear]"],
"Remove all abbreviations" + modeDescription,