aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emulation/tpu-edt.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el
index 425ac450fae..c5ae34e0f07 100644
--- a/lisp/emulation/tpu-edt.el
+++ b/lisp/emulation/tpu-edt.el
@@ -273,7 +273,6 @@
273 273
274;;; Code: 274;;; Code:
275 275
276(eval-when-compile (require 'cl))
277;; we use picture-mode functions 276;; we use picture-mode functions
278(require 'picture) 277(require 'picture)
279 278
@@ -1367,6 +1366,9 @@ The search is performed in the current direction."
1367;; tpu-search-forward (t) tpu-search-reverse (t) 1366;; tpu-search-forward (t) tpu-search-reverse (t)
1368;; tpu-search-forward-exit (t) tpu-search-backward-exit (t) 1367;; tpu-search-forward-exit (t) tpu-search-backward-exit (t)
1369 1368
1369(declare-function tpu-emacs-search "tpu-edt")
1370(declare-function tpu-emacs-rev-search "tpu-edt")
1371
1370(defun tpu-set-search (&optional arg) 1372(defun tpu-set-search (&optional arg)
1371 "Set the search functions and set the search direction to the current 1373 "Set the search functions and set the search direction to the current
1372direction. If an argument is specified, don't set the search direction." 1374direction. If an argument is specified, don't set the search direction."
@@ -2432,7 +2434,10 @@ If FILE is nil, try to load a default file. The default file names are
2432 (if (eq tpu-global-map parent) 2434 (if (eq tpu-global-map parent)
2433 (set-keymap-parent map (keymap-parent parent)) 2435 (set-keymap-parent map (keymap-parent parent))
2434 (setq map parent))))) 2436 (setq map parent)))))
2435 (ignore-errors (ad-disable-regexp "\\`tpu-")) 2437 ;; Only has an effect if the advice in tpu-extras has been activated.
2438 (condition-case nil
2439 (with-no-warnings (ad-disable-regexp "\\`tpu-"))
2440 (error nil))
2436 (setq tpu-edt-mode nil)) 2441 (setq tpu-edt-mode nil))
2437 2442
2438 2443