Improve sort-setq
This commit is contained in:
parent
b6cc87ca38
commit
3d46a93710
|
@ -564,7 +564,7 @@ It's called 'require-private' for historical reasons."
|
|||
(sort-beg (progn (beginning-of-defun)
|
||||
(re-search-forward "[ \\t]*(" (point-at-eol))
|
||||
(forward-sexp)
|
||||
(re-search-forward "\\<" (point-at-eol))
|
||||
(re-search-forward "\\_<" (point-at-eol))
|
||||
(point-marker))))
|
||||
(narrow-to-region (1- sort-beg) (1+ sort-end))
|
||||
(sort-subr nil #'sort-setq-next-record #'sort-setq-end-record)))))
|
||||
|
|
Loading…
Reference in New Issue