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
d775b378
Commit
d775b378
authored
Sep 23, 2002
by
Richard M. Stallman
Browse files
(select-safe-coding-system): Cope if default-coding-system gives nil
which was then used in `min'.
parent
c86237b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
lisp/ChangeLog
lisp/ChangeLog
+8
-0
lisp/international/mule-cmds.el
lisp/international/mule-cmds.el
+3
-2
No files found.
lisp/ChangeLog
View file @
d775b378
2002-09-22 Richard M. Stallman <rms@gnu.org>
* international/mule-cmds.el (select-safe-coding-system): Cope if
default-coding-system gives nil which was then used in `min'.
* mail/sendmail.el (sendmail-send-it): If user's buffer
is unibyte, make tembuf unibyte.
2002-09-22 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
* net/tramp.el: Version 2.0.22 released.
...
...
lisp/international/mule-cmds.el
View file @
d775b378
...
...
@@ -723,9 +723,10 @@ and TO is ignored."
(
let
((
window-configuration
(
current-window-configuration
)))
(
save-excursion
;; Make sure the offending buffer is displayed.
(
when
(
and
default-coding-system
(
not
(
stringp
from
)))
(
when
(
and
(
consp
default-coding-system
)
(
not
(
stringp
from
)))
(
pop-to-buffer
bufname
)
(
goto-char
(
apply
'min
(
mapcar
#'
(
lambda
(
x
)
(
car
(
cadr
x
)))
;; The `or' is because sometimes (car (cadr x)) is nil.
(
goto-char
(
apply
'min
(
mapcar
#'
(
lambda
(
x
)
(
or
(
car
(
cadr
x
))
(
point-max
)))
default-coding-system
))))
;; Then ask users to select one from CODINGS.
(
with-output-to-temp-buffer
"*Warning*"
...
...
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