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
e290d997
Commit
e290d997
authored
Nov 10, 2007
by
Juanma Barranquero
Browse files
(ido-save-history): Write the history file in UTF-8,
and add `coding' file-local variable.
parent
83fa6123
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/ido.el
lisp/ido.el
+4
-3
No files found.
lisp/ChangeLog
View file @
e290d997
2007-11-10 Juanma Barranquero <lekktu@gmail.com>
* ido.el (ido-save-history): Write the history file in UTF-8,
and add `coding' file-local variable.
2007-11-09 Juanma Barranquero <lekktu@gmail.com>
* international/iso-cvt.el (iso-spanish, iso-german, iso-iso2tex)
lisp/ido.el
View file @
e290d997
...
...
@@ -449,7 +449,7 @@ in merged file and directory lists."
;(setq ido-ignore-files '("^ " "\\.c$" "\\.h$"))
(
defcustom
ido-default-file-method
'raise-frame
"*How to visit a new file when using `ido-find-file'.
"*How to visit a new file when using `ido-find-file'.
Possible values:
`selected-window' Show new file in selected window
`other-window' Show new file in another window (same frame)
...
...
@@ -469,7 +469,7 @@ Possible values:
:group
'ido
)
(
defcustom
ido-default-buffer-method
'raise-frame
"*How to switch to new buffer when using `ido-switch-buffer'.
"*How to switch to new buffer when using `ido-switch-buffer'.
See `ido-default-file-method' for details."
:type
'
(
choice
(
const
:tag
"Show in selected window"
selected-window
)
(
const
:tag
"Show in other window"
other-window
)
...
...
@@ -1309,6 +1309,7 @@ Value is an integer which is number of chars to right of prompt.")
(
unwind-protect
(
with-current-buffer
buf
(
erase-buffer
)
(
setq
buffer-file-coding-system
'utf-8
)
(
ido-pp
'ido-last-directory-list
)
(
ido-pp
'ido-work-directory-list
)
(
ido-pp
'ido-work-file-list
)
...
...
@@ -1316,7 +1317,7 @@ Value is an integer which is number of chars to right of prompt.")
(
if
(
listp
ido-unc-hosts-cache
)
(
ido-pp
'ido-unc-hosts-cache
)
(
insert
"\n;; ----- ido-unc-hosts-cache -----\nt\n"
))
(
insert
"\n"
)
(
insert
"\n
;; Local Variables:\n;; coding: utf-8\n;; End:\n
"
)
(
write-file
ido-save-directory-list-file
nil
))
(
kill-buffer
buf
)))))
...
...
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