Fix marker usage in align-areas.
* align.el (align-areas): Call the indication function with positions instead of markers for arguments. Fixes: debbugs:12343
This commit is contained in:
parent
0b97c030c6
commit
40d70ecb6d
2 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2012-09-16 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* align.el (align-areas): Call the indication function with
|
||||
positions instead of markers for arguments (Bug#12343).
|
||||
|
||||
* files.el (parse-colon-path): Use split-string (Bug#12351).
|
||||
|
||||
* window.el (special-display-popup-frame): Doc fix (Bug#8853).
|
||||
|
|
|
|||
|
|
@ -1201,7 +1201,10 @@ have been aligned. No changes will be made to the buffer."
|
|||
(gocol col) cur)
|
||||
(when area
|
||||
(if func
|
||||
(funcall func (car area) (cdr area) change)
|
||||
(funcall func
|
||||
(marker-position (car area))
|
||||
(marker-position (cdr area))
|
||||
change)
|
||||
(if (not (and justify
|
||||
(consp (cdr area))))
|
||||
(goto-char (cdr area))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue