aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2007-01-20 15:53:04 +0000
committerEli Zaretskii2007-01-20 15:53:04 +0000
commit350b4cb9bbb255dbd4e8415d291f46511c52e212 (patch)
tree65fa066824a1353260e5de2c10c6e78ca3c72bb9
parentf56cd1335ce17bd2e871ca33e4d6d4c37cd949ff (diff)
downloademacs-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.el10
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.
355Can be overwritten by `cperl-hairy' if nil." 355Can be overwritten by `cperl-hairy' if nil.
356
357Uses `abbrev-mode' to do the expansion. If you want to use your
358own abbrevs in cperl-mode, but do not want keywords to be
359electric, you must redefine `cperl-mode-abbrev-table': do
360\\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in
361that paragraph, delete the words that appear at the ends of lines and
362that 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