# HG changeset patch # User Eli Zaretskii # Date 1169308384 0 # Node ID c8f5a9de4a5ec31023959a6b03727905f2904a45 # Parent 528bac1f7b32a2aabec2de97017d00b0e4837c7d (cperl-electric-keywords): Document in the doc string how to use personal abbrevs without electric keywords. diff -r 528bac1f7b32 -r c8f5a9de4a5e lisp/progmodes/cperl-mode.el --- a/lisp/progmodes/cperl-mode.el Sat Jan 20 15:43:48 2007 +0000 +++ b/lisp/progmodes/cperl-mode.el Sat Jan 20 15:53:04 2007 +0000 @@ -352,7 +352,15 @@ (defcustom cperl-electric-keywords nil "*Not-nil (and non-null) means keywords are electric in CPerl. -Can be overwritten by `cperl-hairy' if nil." +Can be overwritten by `cperl-hairy' if nil. + +Uses `abbrev-mode' to do the expansion. If you want to use your +own abbrevs in cperl-mode, but do not want keywords to be +electric, you must redefine `cperl-mode-abbrev-table': do +\\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in +that paragraph, delete the words that appear at the ends of lines and +that begin with \"cperl-electric\". +" :type '(choice (const null) boolean) :group 'cperl-affected-by-hairy)