diff options
| author | Gerd Moellmann | 2001-09-14 11:08:20 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-14 11:08:20 +0000 |
| commit | 49c14a0533e1aefde82d7deab2afd7107f313483 (patch) | |
| tree | 936c67dd0d049f8617af6709f10dcb6d02105f5e | |
| parent | 483e0218fe1acdac8ca03ce6c2e6498d3e859ab8 (diff) | |
| download | emacs-49c14a0533e1aefde82d7deab2afd7107f313483.tar.gz emacs-49c14a0533e1aefde82d7deab2afd7107f313483.zip | |
Comment out change of 2001-09-13.
| -rw-r--r-- | lisp/simple.el | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 19fee9a0c92..91a99a7a3e0 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4188,23 +4188,23 @@ See also `normal-erase-is-backspace'." | |||
| 4188 | 4188 | ||
| 4189 | ;;; Minibuffer prompt stuff. | 4189 | ;;; Minibuffer prompt stuff. |
| 4190 | 4190 | ||
| 4191 | (defun minibuffer-prompt-modification (start end) | 4191 | ;(defun minibuffer-prompt-modification (start end) |
| 4192 | (error "You cannot modify the prompt")) | 4192 | ; (error "You cannot modify the prompt")) |
| 4193 | 4193 | ; | |
| 4194 | 4194 | ; | |
| 4195 | (defun minibuffer-prompt-insertion (start end) | 4195 | ;(defun minibuffer-prompt-insertion (start end) |
| 4196 | (let ((inhibit-modification-hooks t)) | 4196 | ; (let ((inhibit-modification-hooks t)) |
| 4197 | (delete-region start end) | 4197 | ; (delete-region start end) |
| 4198 | ;; Discard undo information for the text insertion itself | 4198 | ; ;; Discard undo information for the text insertion itself |
| 4199 | ;; and for the text deletion.above. | 4199 | ; ;; and for the text deletion.above. |
| 4200 | (when (consp buffer-undo-list) | 4200 | ; (when (consp buffer-undo-list) |
| 4201 | (setq buffer-undo-list (cddr buffer-undo-list))) | 4201 | ; (setq buffer-undo-list (cddr buffer-undo-list))) |
| 4202 | (message "You cannot modify the prompt"))) | 4202 | ; (message "You cannot modify the prompt"))) |
| 4203 | 4203 | ; | |
| 4204 | 4204 | ; | |
| 4205 | (setq minibuffer-prompt-properties | 4205 | ;(setq minibuffer-prompt-properties |
| 4206 | (list 'modification-hooks '(minibuffer-prompt-modification) | 4206 | ; (list 'modification-hooks '(minibuffer-prompt-modification) |
| 4207 | 'insert-in-front-hooks '(minibuffer-prompt-insertion))) | 4207 | ; 'insert-in-front-hooks '(minibuffer-prompt-insertion))) |
| 4208 | 4208 | ; | |
| 4209 | 4209 | ||
| 4210 | ;;; simple.el ends here | 4210 | ;;; simple.el ends here |