diff options
| author | Stefan Monnier | 2015-03-11 10:54:56 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-03-11 10:54:56 -0400 |
| commit | 41bba4b40f6e07924a3681ffeabb26ca48424095 (patch) | |
| tree | 4e2ee779f139c90df2ba8a69da111793bd2ad629 | |
| parent | f0e8673a9e708fc0ba6c092ec2fc777efbb4bb23 (diff) | |
| download | emacs-41bba4b40f6e07924a3681ffeabb26ca48424095.tar.gz emacs-41bba4b40f6e07924a3681ffeabb26ca48424095.zip | |
* lisp/simple.el (goto-history-element): Don't burp on t history.
| -rw-r--r-- | lisp/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b25988de516..c5d2e6c95fd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * simple.el (goto-history-element): Don't burp on t history. | ||
| 4 | |||
| 1 | 2015-03-10 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2015-03-10 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | Prefer "initialize" to "initialise" | 7 | Prefer "initialize" to "initialise" |
| @@ -46,14 +50,14 @@ | |||
| 46 | 50 | ||
| 47 | 2015-03-08 Dmitry Gutov <dgutov@yandex.ru> | 51 | 2015-03-08 Dmitry Gutov <dgutov@yandex.ru> |
| 48 | 52 | ||
| 49 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use | 53 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): |
| 50 | `font-lock-constant-face' for nil, true and false. Highlight | 54 | Use `font-lock-constant-face' for nil, true and false. |
| 51 | `self' as a keyword. (Bug#17733) | 55 | Highlight `self' as a keyword. (Bug#17733) |
| 52 | 56 | ||
| 53 | 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org> | 57 | 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org> |
| 54 | 58 | ||
| 55 | * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect | 59 | * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): |
| 56 | beginning of regexp also after open brace or vertical bar. | 60 | Expect beginning of regexp also after open brace or vertical bar. |
| 57 | (Bug#20026) | 61 | (Bug#20026) |
| 58 | 62 | ||
| 59 | 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca> | 63 | 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -277,8 +281,8 @@ | |||
| 277 | 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com> | 281 | 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com> |
| 278 | 282 | ||
| 279 | Improve string search in `flyspell-word-search-*`. (Bug#16800) | 283 | Improve string search in `flyspell-word-search-*`. (Bug#16800) |
| 280 | * textmodes/flyspell.el (flyspell-duplicate-distance): Limit | 284 | * textmodes/flyspell.el (flyspell-duplicate-distance): |
| 281 | default search distance for duplicated words to 40000. | 285 | Limit default search distance for duplicated words to 40000. |
| 282 | (flyspell-word-search-backward, flyspell-word-search-forward): | 286 | (flyspell-word-search-backward, flyspell-word-search-forward): |
| 283 | Search as full word with defined casechars, not as substring. | 287 | Search as full word with defined casechars, not as substring. |
| 284 | 288 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index 1e64f998fd4..4deb4cfce2e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1940,7 +1940,9 @@ The argument NABS specifies the absolute history position." | |||
| 1940 | (user-error (if minibuffer-default | 1940 | (user-error (if minibuffer-default |
| 1941 | "End of defaults; no next item" | 1941 | "End of defaults; no next item" |
| 1942 | "End of history; no default available"))) | 1942 | "End of history; no default available"))) |
| 1943 | (if (> nabs (length (symbol-value minibuffer-history-variable))) | 1943 | (if (> nabs (if (listp (symbol-value minibuffer-history-variable)) |
| 1944 | (length (symbol-value minibuffer-history-variable)) | ||
| 1945 | 0)) | ||
| 1944 | (user-error "Beginning of history; no preceding item")) | 1946 | (user-error "Beginning of history; no preceding item")) |
| 1945 | (unless (memq last-command '(next-history-element | 1947 | (unless (memq last-command '(next-history-element |
| 1946 | previous-history-element)) | 1948 | previous-history-element)) |