diff options
| author | Eli Zaretskii | 2007-01-20 15:53:04 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-01-20 15:53:04 +0000 |
| commit | 350b4cb9bbb255dbd4e8415d291f46511c52e212 (patch) | |
| tree | 65fa066824a1353260e5de2c10c6e78ca3c72bb9 | |
| parent | f56cd1335ce17bd2e871ca33e4d6d4c37cd949ff (diff) | |
| download | emacs-350b4cb9bbb255dbd4e8415d291f46511c52e212.tar.gz emacs-350b4cb9bbb255dbd4e8415d291f46511c52e212.zip | |
(cperl-electric-keywords): Document in the doc string how to use personal
abbrevs without electric keywords.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 14cbaf9c0f4..4aea466f747 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -352,7 +352,15 @@ Can be overwritten by `cperl-hairy' if nil." | |||
| 352 | 352 | ||
| 353 | (defcustom cperl-electric-keywords nil | 353 | (defcustom cperl-electric-keywords nil |
| 354 | "*Not-nil (and non-null) means keywords are electric in CPerl. | 354 | "*Not-nil (and non-null) means keywords are electric in CPerl. |
| 355 | Can be overwritten by `cperl-hairy' if nil." | 355 | Can be overwritten by `cperl-hairy' if nil. |
| 356 | |||
| 357 | Uses `abbrev-mode' to do the expansion. If you want to use your | ||
| 358 | own abbrevs in cperl-mode, but do not want keywords to be | ||
| 359 | electric, you must redefine `cperl-mode-abbrev-table': do | ||
| 360 | \\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in | ||
| 361 | that paragraph, delete the words that appear at the ends of lines and | ||
| 362 | that begin with \"cperl-electric\". | ||
| 363 | " | ||
| 356 | :type '(choice (const null) boolean) | 364 | :type '(choice (const null) boolean) |
| 357 | :group 'cperl-affected-by-hairy) | 365 | :group 'cperl-affected-by-hairy) |
| 358 | 366 | ||