diff options
Diffstat (limited to 'lisp/play/handwrite.el')
-rw-r--r-- | lisp/play/handwrite.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el index 98da26c2e6c..2aec408e11b 100644 --- a/lisp/play/handwrite.el +++ b/lisp/play/handwrite.el @@ -90,7 +90,8 @@ (define-key map [handwrite] '("Write by hand" . handwrite)) map)) (fset 'menu-bar-handwrite-map menu-bar-handwrite-map) - +(make-obsolete 'menu-bar-handwrite-map nil "28.1") +(make-obsolete-variable 'menu-bar-handwrite-map nil "28.1") ;; User definable variables @@ -199,7 +200,7 @@ Variables: `handwrite-linespace' (default 12) (concat "\\\\" (cdr trans)) line))) (switch-to-buffer ps-buf-name) - (insert (replace-regexp-in-string "\n" "" line)) + (insert (string-replace "\n" "" line)) (message "write write write...") (setq ps-ypos (+ ps-ypos handwrite-linespace)) (end-of-line) |