How to set cperl-mode to indent parens as block #14

Closed
mpkh opened this Issue Mar 9, 2013 · 2 comments

Comments

Projects
None yet
2 participants

mpkh commented Mar 9, 2013

Hello I want to write code blocks alike following:

xxx {
  yyy
  }

I saw this

(defcustom cperl-indent-parens-as-block nil
  "*Non-nil means that non-block ()-, {}- and []-groups are indented as blocks,
but for trailing \",\" inside the group, which won't increase indentation.
One should tune up `cperl-close-paren-offset' as well."
  :type 'boolean
  :group 'cperl-indentation-details)

And was trying to add this:

(setq cperl-indent-parens-as-block t)

https://github.com/Cynede/emacs.d/commit/a93298c882dbd5170636df7c7e53711bb1b94ba0

I expected it will indent closing block bracket but it doesn't. And I can't detect any other changes.

When I set

(defcustom cperl-indent-parens-as-block t
    ...

in code it doesn't indent closing block bracket too.

mpkh commented Mar 4, 2017

sorry, outdated =)

@mpkh mpkh closed this Mar 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment