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
873a4be1
Commit
873a4be1
authored
Aug 07, 2002
by
Kenichi Handa
Browse files
(select-safe-coding-system): Call pop-to-buffer inside
save-window-excursion and save-excursion.
parent
6d2413b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+9
-9
No files found.
lisp/international/mule-cmds.el
View file @
873a4be1
...
...
@@ -676,15 +676,15 @@ and TO is ignored."
(
coding-system-category
elt
)))
(
push
elt
l
))))
;; Make sure the offending buffer is displayed.
(
or
(
stringp
from
)
(
pop-to-buffer
bufname
))
(
save-excursion
(
goto-char
(
unencodable-char-position
from
to
(
mapcar
#'
car
default-coding-system
))
)
;; Then ask users to select one form CODINGS.
(
unwind-protect
(
save-window-excursion
(
unwind-protect
(
save-window-excursion
(
save-excursion
;; Make sure the offending buffer is displayed.
(
unless
(
stringp
from
)
(
pop-to-buffer
bufname
)
(
goto-char
(
unencodable-char-position
from
to
(
mapcar
#'
car
default-coding-system
))))
;; Then ask users to select one from CODINGS.
(
with-output-to-temp-buffer
"*Warning*"
(
save-excursion
(
set-buffer
standard-output
)
...
...
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