diff options
| author | Stefan Monnier | 2009-08-18 19:17:22 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-08-18 19:17:22 +0000 |
| commit | d440b941cf7282cafac2f1ff5f8d4de66c8f3178 (patch) | |
| tree | ffd5f4056cb57878d5a4b41242c100c14610676c | |
| parent | 265d4549b092b93c37c495a9202b7367f7a156d9 (diff) | |
| download | emacs-d440b941cf7282cafac2f1ff5f8d4de66c8f3178.tar.gz emacs-d440b941cf7282cafac2f1ff5f8d4de66c8f3178.zip | |
(ucs-normalize-hfs-nfd-post-read-conversion):
Remove unused var `buffer-modified-p'.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/international/ucs-normalize.el | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c3ca51be780..62dde5840ad 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion): | ||
| 4 | Remove unused var `buffer-modified-p'. | ||
| 5 | |||
| 3 | * minibuffer.el (completion--do-completion): Move point for the #b001 | 6 | * minibuffer.el (completion--do-completion): Move point for the #b001 |
| 4 | case as well (bug#4176). | 7 | case as well (bug#4176). |
| 5 | (minibuffer-complete, minibuffer-complete-word): Don't move point. | 8 | (minibuffer-complete, minibuffer-complete-word): Don't move point. |
diff --git a/lisp/international/ucs-normalize.el b/lisp/international/ucs-normalize.el index 22f0ca93eeb..a0e46adef54 100644 --- a/lisp/international/ucs-normalize.el +++ b/lisp/international/ucs-normalize.el | |||
| @@ -585,9 +585,8 @@ COMPOSITION-PREDICATE will be used to compose region." | |||
| 585 | (save-excursion | 585 | (save-excursion |
| 586 | (save-restriction | 586 | (save-restriction |
| 587 | (narrow-to-region (point) (+ (point) len)) | 587 | (narrow-to-region (point) (+ (point) len)) |
| 588 | (let ((buffer-modified-p (buffer-modified-p))) | 588 | (ucs-normalize-HFS-NFC-region (point-min) (point-max)) |
| 589 | (ucs-normalize-HFS-NFC-region (point-min) (point-max)) | 589 | (- (point-max) (point-min))))) |
| 590 | (- (point-max) (point-min)))))) | ||
| 591 | 590 | ||
| 592 | ;; Pre-write conversion for `utf-8-hfs'. | 591 | ;; Pre-write conversion for `utf-8-hfs'. |
| 593 | (defun ucs-normalize-hfs-nfd-pre-write-conversion (from to) | 592 | (defun ucs-normalize-hfs-nfd-pre-write-conversion (from to) |