Commit d7b6196 1 parent cee212a commit d7b6196 Copy full SHA for d7b6196
File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
MAJOR=2
2
2
MINOR=17
3
- BUILD=2110
3
+ BUILD=2111
4
4
REVISION=102
5
5
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
6
6
# downloaded by NaCl Mozc.
Original file line number Diff line number Diff line change @@ -541,10 +541,11 @@ The undo list will not be affected. ARGS defaults to
541
541
The return value is a cons which holds two markers which point to the region of
542
542
added characters."
543
543
(let ((beg (point-marker )))
544
- (mozc-with-undo-list-unchanged
545
- (if args
546
- (apply #'insert args)
547
- (insert mozc-buffer-placeholder-char)))
544
+ (mozc-with-buffer-modified-p-unchanged
545
+ (mozc-with-undo-list-unchanged
546
+ (if args
547
+ (apply #'insert args)
548
+ (insert mozc-buffer-placeholder-char))))
548
549
(cons beg (point-marker ))))
549
550
550
551
(defun mozc-buffer-insert-char (&optional character count )
@@ -563,8 +564,9 @@ added characters."
563
564
(defun mozc-buffer-delete-region (region )
564
565
" Delete the text in the REGION."
565
566
(when region
566
- (mozc-with-undo-list-unchanged
567
- (delete-region (car region ) (cdr region )))))
567
+ (mozc-with-buffer-modified-p-unchanged
568
+ (mozc-with-undo-list-unchanged
569
+ (delete-region (car region ) (cdr region ))))))
568
570
569
571
(defun mozc-buffer-delete-all-regions (regions )
570
572
" Delete each text in the REGIONS.
You can’t perform that action at this time.
0 commit comments