comparison lisp/ChangeLog @ 111625:586a15d21905

* lisp/textmodes/rst.el: Minor cleanup to improve style. (rst-get-decoration): Eliminate unneeded assignment. (rst-update-section, rst-promote-region, rst-straighten-decorations) (rst-section-tree, rst-adjust): Use point-marker. (rst-toc-mode-mouse-goto): Avoid setq. (rst-shift-region-guts, rst-shift-region-left) (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2) (rst-convert-bullets-to-enumeration): Use copy-marker.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 17 Nov 2010 22:02:15 -0500
parents 4ed7d6375e3b
children 3655cc4062e4
comparison
equal deleted inserted replaced
111588:4ed7d6375e3b 111625:586a15d21905
1 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca> 1 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Minor cleanup to improve style.
4 * textmodes/rst.el (rst-update-section): Use point-marker.
5 (rst-get-decoration): Eliminate unneeded assignment.
6 (rst-promote-region, rst-straighten-decorations)
7 (rst-section-tree, rst-adjust): Use point-marker.
8 (rst-toc-mode-mouse-goto): Avoid setq.
9 (rst-shift-region-guts, rst-shift-region-left)
10 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
11 (rst-convert-bullets-to-enumeration): Use copy-marker.
2 12
3 * minibuffer.el (completion-fail-discreetly): New var. 13 * minibuffer.el (completion-fail-discreetly): New var.
4 (completion--do-completion): Use it. 14 (completion--do-completion): Use it.
5 15
6 * electric.el (electric-pair-pairs): New var. 16 * electric.el (electric-pair-pairs): New var.