[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ada-mode-users] Ada-mode unconditionally sets comment-padding
From: |
SCHOEPFLIN Markus |
Subject: |
[Ada-mode-users] Ada-mode unconditionally sets comment-padding |
Date: |
Fri, 30 Sep 2016 07:46:55 +0000 |
Ada-mode currently contains the following code:
;; AdaCore standard style (enforced by -gnaty) requires two spaces
;; after '--' in comments; this makes it easier to distinguish
;; special comments that have something else after '--'
(set (make-local-variable 'comment-padding) " ")
This unconditionally overwrites commend-padding, despite the variable being
explicitly documented as customizable. In my case this breaks a number of elisp
functions defined locally for dealing with comments.
Could this please be replaced with something that checks if the variable has
been customized before? Or even better, don't overwrite it in the first place?
Anybody wanting to follow AdaCore standards can still customize it to two
spaces manually.
TIA,
Markus
- [Ada-mode-users] Ada-mode unconditionally sets comment-padding,
SCHOEPFLIN Markus <=