简体   繁体   中英

newline-and-indent from CSS Mode put indent to kill ring

I'm using css mode 0.11 by Lars Marius Garshol, it have a function newline-and-indent which call cssm-indent-line and it put spaces from indentation to kill ring. When I copy some css rule to clipboard and then type enter after semicolon and press CTRL+Y it insert spaces instead of the rule I had in clipboard.

How can I fix this behavior?

Just substitute kill-region by delete-region in cssm-indent-line . You could inform Lars Marius Garshol about that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM