]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.253
- updated to 7.1.326
[packages/vim.git] / 7.1.253
CommitLineData
ef75664d
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.253
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.253
11Problem: ":sort" doesn't work in a one line file. (Patrick Texier)
12Solution: Don't sort if there is only one line. (Dominique Pelle)
13Files: src/ex_cmds.c
14
15
16*** ../vim-7.1.252/src/ex_cmds.c Sat Jan 19 15:55:51 2008
17--- src/ex_cmds.c Mon Feb 18 19:38:02 2008
18***************
19*** 365,370 ****
20--- 365,374 ----
21 int sort_oct; /* sort on octal number */
22 int sort_hex; /* sort on hex number */
23
24+ /* Sorting one line is really quick! */
25+ if (count <= 1)
26+ return;
27+
28 if (u_save((linenr_T)(eap->line1 - 1), (linenr_T)(eap->line2 + 1)) == FAIL)
29 return;
30 sortbuf1 = NULL;
31*** ../vim-7.1.252/src/version.c Thu Feb 14 22:19:39 2008
32--- src/version.c Mon Feb 18 19:39:24 2008
33***************
34*** 668,669 ****
35--- 668,671 ----
36 { /* Add new patch number below this line */
37+ /**/
38+ 253,
39 /**/
40
41--
42"You know, it's at times like this when I'm trapped in a Vogon airlock with
43a man from Betelgeuse and about to die of asphyxiation in deep space that I
44really wish I'd listened to what my mother told me when I was young!"
45"Why, what did she tell you?"
46"I don't know, I didn't listen!"
47 -- Arthur Dent and Ford Prefect in Douglas Adams'
48 "The Hitchhiker's Guide to the Galaxy"
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52\\\ download, build and distribute -- http://www.A-A-P.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.032429 seconds and 4 git commands to generate.