mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 09:43:26 -08:00
Don't recommend using cperl-hairy
Enabling `cperl-hairy` makes cperl-mode break many Emacs conventions and can be confusing to new users. Let's not say that this is the "recommended mode of use", instead leaving it up to the user. * lisp/progmodes/cperl-mode.el (cperl-mode): Don't recommend using `cperl-hairy'.
This commit is contained in:
parent
ea3d211f3f
commit
82eb4f0020
1 changed files with 12 additions and 13 deletions
|
|
@ -1696,19 +1696,18 @@ into
|
|||
|
||||
\\{cperl-mode-map}
|
||||
|
||||
Setting the variable `cperl-font-lock' to t switches on `font-lock-mode'
|
||||
\(even with older Emacsen), `cperl-electric-lbrace-space' to t switches
|
||||
on electric space between $ and {, `cperl-electric-parens-string' is
|
||||
the string that contains parentheses that should be electric in CPerl
|
||||
\(see also `cperl-electric-parens-mark' and `cperl-electric-parens'),
|
||||
setting `cperl-electric-keywords' enables electric expansion of
|
||||
control structures in CPerl. `cperl-electric-linefeed' governs which
|
||||
one of two linefeed behavior is preferable. You can enable all these
|
||||
options simultaneously (recommended mode of use) by setting
|
||||
`cperl-hairy' to t. In this case you can switch separate options off
|
||||
by setting them to `null'. Note that one may undo the extra
|
||||
whitespace inserted by semis and braces in `auto-newline'-mode by
|
||||
consequent \\[cperl-electric-backspace].
|
||||
Setting the variable `cperl-font-lock' to t switches on `font-lock-mode',
|
||||
`cperl-electric-lbrace-space' to t switches on electric space between $
|
||||
and {, `cperl-electric-parens-string' is the string that contains
|
||||
parentheses that should be electric in CPerl (see also
|
||||
`cperl-electric-parens-mark' and `cperl-electric-parens'), setting
|
||||
`cperl-electric-keywords' enables electric expansion of control
|
||||
structures in CPerl. `cperl-electric-linefeed' governs which one of two
|
||||
linefeed behavior is preferable. You can enable all these options
|
||||
simultaneously by setting `cperl-hairy' to t. In this case you can
|
||||
switch separate options off by setting them to `null'. Note that one may
|
||||
undo the extra whitespace inserted by semis and braces in
|
||||
`auto-newline'-mode by consequent \\[cperl-electric-backspace].
|
||||
|
||||
Short one-liner-style help is available on \\[cperl-get-help],
|
||||
and one can run perldoc or man via menu.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue