diff options
| author | Chong Yidong | 2010-08-21 10:46:43 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-08-21 10:46:43 -0400 |
| commit | d64b8a68f94303367f9117360bce8ce812fd1ea0 (patch) | |
| tree | 68b8991ffe6b0ff6aaf30c9c0349643f52120f7d | |
| parent | 537ffaf3c900034f9ff6ffc3cd70bf806e531066 (diff) | |
| download | emacs-d64b8a68f94303367f9117360bce8ce812fd1ea0.tar.gz emacs-d64b8a68f94303367f9117360bce8ce812fd1ea0.zip | |
* cus-edit.el (custom-group-value-create): Add extra newline before end line (Bug#6876).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index db5bc124626..b4e04ab7f39 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -4,6 +4,11 @@ | |||
| 4 | 4 | ||
| 5 | 2010-08-21 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-08-21 Chong Yidong <cyd@stupidchicken.com> |
| 6 | 6 | ||
| 7 | * cus-edit.el (custom-group-value-create): Add extra newline | ||
| 8 | before end line (Bug#6876). | ||
| 9 | |||
| 10 | 2010-08-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 11 | |||
| 7 | * mouse.el (mouse-save-then-kill): Don't save region to kill ring | 12 | * mouse.el (mouse-save-then-kill): Don't save region to kill ring |
| 8 | when extending it. Before killing on the second click, check if | 13 | when extending it. Before killing on the second click, check if |
| 9 | the buffer is the correct one. Doc fix. | 14 | the buffer is the correct one. Doc fix. |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 9fa817bd102..e4cb29b50f2 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -4097,8 +4097,8 @@ If GROUPS-ONLY non-nil, return only those members that are groups." | |||
| 4097 | (custom-group-state-update widget) | 4097 | (custom-group-state-update widget) |
| 4098 | (progress-reporter-done reporter)) | 4098 | (progress-reporter-done reporter)) |
| 4099 | ;; End line | 4099 | ;; End line |
| 4100 | (let ((p (point))) | 4100 | (let ((p (1+ (point)))) |
| 4101 | (insert "\n") | 4101 | (insert "\n\n") |
| 4102 | (put-text-property p (1+ p) 'face '(:underline t)) | 4102 | (put-text-property p (1+ p) 'face '(:underline t)) |
| 4103 | (overlay-put (make-overlay p (1+ p)) | 4103 | (overlay-put (make-overlay p (1+ p)) |
| 4104 | 'before-string | 4104 | 'before-string |