diff options
| author | Stefan Monnier | 2013-12-11 10:59:27 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-12-11 10:59:27 -0500 |
| commit | 7ae3ae396308f0a46974532c608e46c0e61767ad (patch) | |
| tree | aeface1a99681ee840aeed4adca7a9811a466c01 | |
| parent | 5a80236fc8817e3b7fabcba233246ec862758a29 (diff) | |
| download | emacs-7ae3ae396308f0a46974532c608e46c0e61767ad.tar.gz emacs-7ae3ae396308f0a46974532c608e46c0e61767ad.zip | |
* lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
comment-start-skip, since it fails when that uses submatch 1.
Fixes: debbugs:16041
| -rw-r--r-- | etc/NEWS | 7 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/smie.el | 2 |
3 files changed, 11 insertions, 1 deletions
| @@ -247,6 +247,13 @@ You can pick the name of the function and the variables with `C-x 4 a'. | |||
| 247 | 247 | ||
| 248 | * Changes in Specialized Modes and Packages in Emacs 24.4 | 248 | * Changes in Specialized Modes and Packages in Emacs 24.4 |
| 249 | 249 | ||
| 250 | ** CUA-mode | ||
| 251 | CUA-mode was changed to make use of delete-selection-mode and | ||
| 252 | shift-select-mode. So you can now enable it independently from | ||
| 253 | transient-mark-mode, delete-selection-mode, and shift-select-mode. | ||
| 254 | As a result, cua-highlight-region-shift-only is obsolete | ||
| 255 | (you can disable transient-mark-mode to get the same result). | ||
| 256 | |||
| 250 | ** `delete-selection-mode' can be used without transient-mark-mode. | 257 | ** `delete-selection-mode' can be used without transient-mark-mode. |
| 251 | 258 | ||
| 252 | ** prolog-use-smie has been removed, along with the non-SMIE indentation code. | 259 | ** prolog-use-smie has been removed, along with the non-SMIE indentation code. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22cba2e5225..22ff12fe6b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching | ||
| 4 | comment-start-skip, since it fails when that uses submatch 1 (bug#16041). | ||
| 5 | |||
| 3 | * emulation/cua-base.el (cua-paste): Add `delete-selection' property | 6 | * emulation/cua-base.el (cua-paste): Add `delete-selection' property |
| 4 | instead of deleting the selection "by hand" (bug#16098). | 7 | instead of deleting the selection "by hand" (bug#16098). |
| 5 | Rely on insert-for-yank to yank rectangles. | 8 | Rely on insert-for-yank to yank rectangles. |
diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index f025a8b400b..1c468e013d6 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el | |||
| @@ -1165,7 +1165,7 @@ the beginning of a line." | |||
| 1165 | (forward-char 1)) | 1165 | (forward-char 1)) |
| 1166 | (skip-chars-forward " \t") | 1166 | (skip-chars-forward " \t") |
| 1167 | (or (eolp) | 1167 | (or (eolp) |
| 1168 | (and (looking-at comment-start-skip) | 1168 | (and ;; (looking-at comment-start-skip) ;(bug#16041). |
| 1169 | (forward-comment (point-max)))) | 1169 | (forward-comment (point-max)))) |
| 1170 | (point)))))) | 1170 | (point)))))) |
| 1171 | 1171 | ||