diff options
| author | Stefan Monnier | 2013-03-11 22:08:21 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-03-11 22:08:21 -0400 |
| commit | 940e5099142a1bb60e76ae2cbd1f47244cb2eb44 (patch) | |
| tree | 31e8ce32a3bc7f2de7040584db2faab8f35436e3 /lisp/emulation | |
| parent | cc72580827719a5012d4ac703c09f92e721f61de (diff) | |
| download | emacs-940e5099142a1bb60e76ae2cbd1f47244cb2eb44.tar.gz emacs-940e5099142a1bb60e76ae2cbd1f47244cb2eb44.zip | |
Use locate-user-emacs-file.
* lisp/type-break.el (type-break-file-name):
* lisp/textmodes/remember.el (remember-data-file):
* lisp/strokes.el (strokes-file):
* lisp/shadowfile.el (shadow-initialize):
* lisp/saveplace.el (save-place-file):
* lisp/ps-bdf.el (bdf-cache-file):
* lisp/progmodes/idlwave.el (idlwave-config-directory):
* lisp/net/quickurl.el (quickurl-url-file):
* lisp/international/kkc.el (kkc-init-file-name):
* lisp/ido.el (ido-save-directory-list-file):
* lisp/emulation/viper.el (viper-custom-file-name):
* lisp/emulation/vip.el (vip-startup-file):
* lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
* lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/vip.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/viper.el | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index e086f26e8ab..ce131b854f5 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -159,7 +159,7 @@ If nil then it is bound to `delete-backward-char'." | |||
| 159 | 159 | ||
| 160 | (defvar vip-inhibit-startup-message nil) | 160 | (defvar vip-inhibit-startup-message nil) |
| 161 | 161 | ||
| 162 | (defvar vip-startup-file (convert-standard-filename "~/.vip") | 162 | (defvar vip-startup-file (locate-user-emacs-file "vip" ".vip") |
| 163 | "Filename used as startup file for vip.") | 163 | "Filename used as startup file for vip.") |
| 164 | 164 | ||
| 165 | ;; key bindings | 165 | ;; key bindings |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 3813c304de1..d0c0a4b4019 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -1009,9 +1009,9 @@ as a Meta key and any number of multiple escapes are allowed." | |||
| 1009 | (inhibit-quit t)) | 1009 | (inhibit-quit t)) |
| 1010 | (if (viper-ESC-event-p event) | 1010 | (if (viper-ESC-event-p event) |
| 1011 | (progn | 1011 | (progn |
| 1012 | ;; Some versions of Emacs (eg., 22.50.8 have a bug, which makes even | 1012 | ;; Some versions of Emacs (eg., 22.50.8 (?)) have a bug, which makes |
| 1013 | ;; a single ESC into ;; a fast keyseq. To guard against this, we | 1013 | ;; even a single ESC into a fast keyseq. To guard against this, we |
| 1014 | ;; added a check if there are other events as well. Keep the next | 1014 | ;; added a check if there are other events as well. Keep the next |
| 1015 | ;; line for the next time the bug reappears, so that will remember to | 1015 | ;; line for the next time the bug reappears, so that will remember to |
| 1016 | ;; report it. | 1016 | ;; report it. |
| 1017 | ;;(if (and (viper-fast-keysequence-p) unread-command-events) | 1017 | ;;(if (and (viper-fast-keysequence-p) unread-command-events) |
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index df419420bd4..7f432cdc143 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -313,7 +313,7 @@ | |||
| 313 | (require 'viper-keym) | 313 | (require 'viper-keym) |
| 314 | 314 | ||
| 315 | ;; better be defined before Viper custom group. | 315 | ;; better be defined before Viper custom group. |
| 316 | (defvar viper-custom-file-name (convert-standard-filename "~/.viper") | 316 | (defvar viper-custom-file-name (locate-user-emacs-file "viper" ".viper") |
| 317 | "Viper customization file. | 317 | "Viper customization file. |
| 318 | If set by the user, this must be done _before_ Viper is loaded in `~/.emacs'.") | 318 | If set by the user, this must be done _before_ Viper is loaded in `~/.emacs'.") |
| 319 | 319 | ||