diff options
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/tpu-extras.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/viper-ex.el | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index 9c417dd3a40..427ef19bccd 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el | |||
| @@ -144,9 +144,9 @@ the previous line when starting from a line beginning." | |||
| 144 | "Eliminate whitespace at ends of lines, if the cursor is free." | 144 | "Eliminate whitespace at ends of lines, if the cursor is free." |
| 145 | (if (and (buffer-modified-p) tpu-cursor-free) (tpu-trim-line-ends))) | 145 | (if (and (buffer-modified-p) tpu-cursor-free) (tpu-trim-line-ends))) |
| 146 | 146 | ||
| 147 | (or (memq 'tpu-write-file-hook write-file-hooks) | 147 | (or (memq 'tpu-write-file-hook write-file-functions) |
| 148 | (setq write-file-hooks | 148 | (setq write-file-functions |
| 149 | (cons 'tpu-write-file-hook write-file-hooks))) | 149 | (cons 'tpu-write-file-hook write-file-functions))) |
| 150 | 150 | ||
| 151 | 151 | ||
| 152 | ;;; Utility routines for implementing scroll margins | 152 | ;;; Utility routines for implementing scroll margins |
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 7e8a5cbeb99..c29e0e26ba5 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -67,10 +67,10 @@ | |||
| 67 | ;;; Variables | 67 | ;;; Variables |
| 68 | 68 | ||
| 69 | (defconst viper-ex-work-buf-name " *ex-working-space*") | 69 | (defconst viper-ex-work-buf-name " *ex-working-space*") |
| 70 | (defconst viper-ex-work-buf (get-buffer-create viper-ex-work-buf-name)) | 70 | (defvar viper-ex-work-buf (get-buffer-create viper-ex-work-buf-name)) |
| 71 | (defconst viper-ex-tmp-buf-name " *ex-tmp*") | 71 | (defconst viper-ex-tmp-buf-name " *ex-tmp*") |
| 72 | (defconst viper-ex-print-buf-name " *ex-print*") | 72 | (defconst viper-ex-print-buf-name " *ex-print*") |
| 73 | (defconst viper-ex-print-buf (get-buffer-create viper-ex-print-buf-name)) | 73 | (defvar viper-ex-print-buf (get-buffer-create viper-ex-print-buf-name)) |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | ;;; ex-commands... | 76 | ;;; ex-commands... |