aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-07-03 19:27:34 +0000
committerRichard M. Stallman2005-07-03 19:27:34 +0000
commitc9b6a3a6d3d4890ec0fc6d72a757a8abfa567215 (patch)
tree4ecafd5cc69057248f4e60de32bb79d662ab2fc3
parentf24cd32e9b9feac4f8f246cd75d7f0d36fef383c (diff)
downloademacs-c9b6a3a6d3d4890ec0fc6d72a757a8abfa567215.tar.gz
emacs-c9b6a3a6d3d4890ec0fc6d72a757a8abfa567215.zip
(tpu-lucid-emacs-p): Renamed from tpu-lucid-emacs19-p. Uses changed.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/emulation/tpu-edt.el14
2 files changed, 8 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ce58a6dd5c4..7de1ee9a6b1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,6 +9,7 @@
9 9
10 * emulation/tpu-edt.el (tpu-emacs19-p): Var deleted. 10 * emulation/tpu-edt.el (tpu-emacs19-p): Var deleted.
11 All references simplified. 11 All references simplified.
12 (tpu-lucid-emacs-p): Renamed from tpu-lucid-emacs19-p. Uses changed.
12 13
13 * textmodes/artist.el (artist-key-is-drawing) 14 * textmodes/artist.el (artist-key-is-drawing)
14 (artist-key-endpoint1, artist-key-poly-point-list) 15 (artist-key-endpoint1, artist-key-poly-point-list)
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el
index 27f348853f1..02b4da7bedc 100644
--- a/lisp/emulation/tpu-edt.el
+++ b/lisp/emulation/tpu-edt.el
@@ -309,9 +309,9 @@
309;;; o tpu-mark o tpu-set-mark 309;;; o tpu-mark o tpu-set-mark
310;;; o mode line section o tpu-load-xkeys 310;;; o mode line section o tpu-load-xkeys
311;;; 311;;;
312(defconst tpu-lucid-emacs19-p 312(defconst tpu-lucid-emacs-p
313 (string-match "Lucid" emacs-version) 313 (string-match "Lucid" emacs-version)
314 "Non-nil if we are running Lucid Emacs version 19.") 314 "Non-nil if we are running Lucid Emacs.")
315 315
316;;; 316;;;
317;;; Global Keymaps 317;;; Global Keymaps
@@ -338,7 +338,7 @@ GOLD is the ASCII 7-bit escape sequence <ESC>OP.")
338(defvar tpu-original-global-map global-map 338(defvar tpu-original-global-map global-map
339 "Original global keymap.") 339 "Original global keymap.")
340 340
341(and tpu-lucid-emacs19-p 341(and tpu-lucid-emacs-p
342 (defvar minibuffer-local-ns-map (make-sparse-keymap) 342 (defvar minibuffer-local-ns-map (make-sparse-keymap)
343 "Hack to give Lucid Emacs the same maps as ordinary Emacs.")) 343 "Hack to give Lucid Emacs the same maps as ordinary Emacs."))
344 344
@@ -459,7 +459,7 @@ GOLD is the ASCII 7-bit escape sequence <ESC>OP.")
459 (setq tpu-mark-flag (if transient-mark-mode "" (if (tpu-mark) " @" " "))) 459 (setq tpu-mark-flag (if transient-mark-mode "" (if (tpu-mark) " @" " ")))
460 (force-mode-line-update)) 460 (force-mode-line-update))
461 461
462(cond (tpu-lucid-emacs19-p 462(cond (tpu-lucid-emacs-p
463 (add-hook 'zmacs-deactivate-region-hook 'tpu-update-mode-line) 463 (add-hook 'zmacs-deactivate-region-hook 'tpu-update-mode-line)
464 (add-hook 'zmacs-activate-region-hook 'tpu-update-mode-line)) 464 (add-hook 'zmacs-activate-region-hook 'tpu-update-mode-line))
465 (t 465 (t
@@ -541,7 +541,7 @@ Otherwise sets the tpu-match markers to nil and returns nil."
541 "TPU-edt version of the mark function. 541 "TPU-edt version of the mark function.
542Return the appropriate value of the mark for the current 542Return the appropriate value of the mark for the current
543version of Emacs." 543version of Emacs."
544 (cond (tpu-lucid-emacs19-p (mark (not zmacs-regions))) 544 (cond (tpu-lucid-emacs-p (mark (not zmacs-regions)))
545 (and mark-active (mark (not transient-mark-mode))))) 545 (and mark-active (mark (not transient-mark-mode)))))
546 546
547(defun tpu-set-mark (pos) 547(defun tpu-set-mark (pos)
@@ -549,7 +549,7 @@ version of Emacs."
549Sets the mark at POS and activates the region according to the 549Sets the mark at POS and activates the region according to the
550current version of Emacs." 550current version of Emacs."
551 (set-mark pos) 551 (set-mark pos)
552 (and tpu-lucid-emacs19-p pos (zmacs-activate-region))) 552 (and tpu-lucid-emacs-p pos (zmacs-activate-region)))
553 553
554(defun tpu-string-prompt (prompt history-symbol) 554(defun tpu-string-prompt (prompt history-symbol)
555 "Read a string with PROMPT." 555 "Read a string with PROMPT."
@@ -2395,7 +2395,7 @@ If FILE is nil, try to load a default file. The default file names are
2395 (setq file (expand-file-name file))) 2395 (setq file (expand-file-name file)))
2396 (tpu-xkeys-file 2396 (tpu-xkeys-file
2397 (setq file (expand-file-name tpu-xkeys-file))) 2397 (setq file (expand-file-name tpu-xkeys-file)))
2398 (tpu-lucid-emacs19-p 2398 (tpu-lucid-emacs-p
2399 (setq file (convert-standard-filename 2399 (setq file (convert-standard-filename
2400 (expand-file-name "~/.tpu-lucid-keys")))) 2400 (expand-file-name "~/.tpu-lucid-keys"))))
2401 (t 2401 (t