Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2401274b
Commit
2401274b
authored
Mar 11, 2015
by
Stefan Monnier
Browse files
* international/quail.el (quail-input-method): Use with-silent-modifications
parent
b90f502c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/international/quail.el
lisp/international/quail.el
+2
-5
No files found.
lisp/ChangeLog
View file @
2401274b
2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
* international/quail.el (quail-input-method):
Use with-silent-modifications.
* simple.el (goto-history-element): Don't burp on t history.
2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
...
...
lisp/international/quail.el
View file @
2401274b
...
...
@@ -202,7 +202,7 @@ It is an alist of translations and corresponding keys."
See also the documentation of `quail-define-package'."
(
nth
11
quail-current-package
))
(
defsubst
quail-overlay-plist
()
"Return property list of an overly used in the current Quail package."
"Return property list of an overl
a
y used in the current Quail package."
(
nth
12
quail-current-package
))
(
defsubst
quail-update-translation-function
()
"Return a function for updating translation in the current Quail package."
...
...
@@ -1335,9 +1335,7 @@ If STR has `advice' text property, append the following special event:
overriding-local-map)
(list key)
(quail-setup-overlays (quail-conversion-keymap))
(let ((modified-p (buffer-modified-p))
(buffer-undo-list t)
(inhibit-modification-hooks t))
(with-silent-modifications
(unwind-protect
(let ((input-string (if (quail-conversion-keymap)
(quail-start-conversion key)
...
...
@@ -1349,7 +1347,6 @@ If STR has `advice' text property, append the following special event:
(list (aref input-string 0))
(quail-input-string-to-events input-string))))
(quail-delete-overlays)
(set-buffer-modified-p modified-p)
;; Run this hook only when the current input method doesn't require
;; conversion. When conversion is required, the conversion function
;; should run this hook at a proper timing.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment