diff options
| author | Juanma Barranquero | 2007-12-04 15:48:25 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-12-04 15:48:25 +0000 |
| commit | efccebb5740fb0d7d3084a4880677e5d226a36e5 (patch) | |
| tree | e66094da6cec6ca2563c95d3dfeb1d00e582a6da | |
| parent | 9cf8f393addebf0b19c732af6bf493965437f833 (diff) | |
| download | emacs-efccebb5740fb0d7d3084a4880677e5d226a36e5.tar.gz emacs-efccebb5740fb0d7d3084a4880677e5d226a36e5.zip | |
(ido-save-history): Set the `coding' local
variable in the first line of the file.
| -rw-r--r-- | lisp/ido.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index 3801934fc3e..2a327439078 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -1309,6 +1309,7 @@ Value is an integer which is number of chars to right of prompt.") | |||
| 1309 | (unwind-protect | 1309 | (unwind-protect |
| 1310 | (with-current-buffer buf | 1310 | (with-current-buffer buf |
| 1311 | (erase-buffer) | 1311 | (erase-buffer) |
| 1312 | (insert ";;; -*- coding: utf-8 -*-\n") | ||
| 1312 | (setq buffer-file-coding-system 'utf-8) | 1313 | (setq buffer-file-coding-system 'utf-8) |
| 1313 | (ido-pp 'ido-last-directory-list) | 1314 | (ido-pp 'ido-last-directory-list) |
| 1314 | (ido-pp 'ido-work-directory-list) | 1315 | (ido-pp 'ido-work-directory-list) |
| @@ -1317,7 +1318,7 @@ Value is an integer which is number of chars to right of prompt.") | |||
| 1317 | (if (listp ido-unc-hosts-cache) | 1318 | (if (listp ido-unc-hosts-cache) |
| 1318 | (ido-pp 'ido-unc-hosts-cache) | 1319 | (ido-pp 'ido-unc-hosts-cache) |
| 1319 | (insert "\n;; ----- ido-unc-hosts-cache -----\nt\n")) | 1320 | (insert "\n;; ----- ido-unc-hosts-cache -----\nt\n")) |
| 1320 | (insert "\n;; Local Variables:\n;; coding: utf-8\n;; End:\n") | 1321 | (insert "\n") |
| 1321 | (write-file ido-save-directory-list-file nil)) | 1322 | (write-file ido-save-directory-list-file nil)) |
| 1322 | (kill-buffer buf))))) | 1323 | (kill-buffer buf))))) |
| 1323 | 1324 | ||