This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LightPink1 #ffbdc5 255 189 197 {65535 | 48573 | 50629} | |
---|---|---|---|
pink4 #9d777f 157 119 127 {40349 | 30583 | 32639} | |
pink3 #d7a3ad 215 163 173 {55255 | 41891 | 44461} | |
pink2 #f2b9c4 242 185 196 {62194 | 47545 | 50372} | |
pink1 #ffc3cf 255 195 207 {65535 | 50115 | 53199} | |
HotPink4 #9e4f75 158 79 117 {40606 | 20303 | 30069} | |
HotPink3 #d878a1 216 120 161 {55512 | 30840 | 41377} | |
HotPink2 #f383b5 243 131 181 {62451 | 33667 | 46517} | |
HotPink1 #ff87c1 255 135 193 {65535 | 34695 | 49601} | |
DeepPink4 #9e1e62 158 30 98 {40606 | 7710 | 25186} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Support for creation and insertion of partials - v 0.1 | |
;;; (c) 2013 Adolfo Villafiorita - Distributed under the MIT license | |
;;; Use it at your own risk. | |
(defun rails-region-to-partial (filename) | |
"Get current region and make it into a partial." | |
(interactive "FPartial file name: ") | |
(if (file-exists-p filename) | |
(message "File exists. It is a bad idea to overwrite it. Aborted.") | |
(progn |