aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-03-16 02:11:08 +0000
committerKenichi Handa2006-03-16 02:11:08 +0000
commit8d40f00458e961d50d0268f8ff96af5e47f5967f (patch)
tree5327a314c16b75d1d5fb673cf9fe388d85519612
parent18886d549ffc780c7b12166105f5cf00d0f24e8b (diff)
downloademacs-8d40f00458e961d50d0268f8ff96af5e47f5967f.tar.gz
emacs-8d40f00458e961d50d0268f8ff96af5e47f5967f.zip
(sort-build-lists): Temporarily bind
inhibit-field-text-motion to t.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/sort.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d9408ea25f1..22a20d99412 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-03-16 Kenichi Handa <handa@m17n.org>
2
3 * sort.el (sort-build-lists): Temporarily bind
4 inhibit-field-text-motion to t.
5
12006-03-15 Luc Teirlinck <teirllm@auburn.edu> 62006-03-15 Luc Teirlinck <teirllm@auburn.edu>
2 7
3 * locate.el (locate-command, locate-make-command-line) 8 * locate.el (locate-command, locate-make-command-line)
diff --git a/lisp/sort.el b/lisp/sort.el
index 5183bf65afa..f6ce9a6c7b0 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -121,6 +121,7 @@ it defaults to `<', otherwise it defaults to `string<'."
121(defun sort-build-lists (nextrecfun endrecfun startkeyfun endkeyfun) 121(defun sort-build-lists (nextrecfun endrecfun startkeyfun endkeyfun)
122 (let ((sort-lists ()) 122 (let ((sort-lists ())
123 (start-rec nil) 123 (start-rec nil)
124 (inhibit-field-text-motion t)
124 done key) 125 done key)
125 ;; Loop over sort records. 126 ;; Loop over sort records.
126 ;(goto-char (point-min)) -- it is the caller's responsibility to 127 ;(goto-char (point-min)) -- it is the caller's responsibility to