diff options
| author | Geoff Voelker | 1996-11-19 04:59:23 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1996-11-19 04:59:23 +0000 |
| commit | fbd6baedb5818026258ae813d298779d4d029bf1 (patch) | |
| tree | b48b862a1f549f0a5d903fb6aad622e4ae80bfe9 /lisp | |
| parent | 0f7d64d24552f764c1a34a2d6087dee2eb92770e (diff) | |
| download | emacs-fbd6baedb5818026258ae813d298779d4d029bf1.tar.gz emacs-fbd6baedb5818026258ae813d298779d4d029bf1.zip | |
Change identifiers of the form win32* to w32*.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/term/w32-win.el | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 559075cf313..a637aa54875 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -81,7 +81,7 @@ | |||
| 81 | ;; with the standard X scroll-bars, we don't try to use the normal | 81 | ;; with the standard X scroll-bars, we don't try to use the normal |
| 82 | ;; scroll bar routines. | 82 | ;; scroll bar routines. |
| 83 | 83 | ||
| 84 | (defun win32-handle-scroll-bar-event (event) | 84 | (defun w32-handle-scroll-bar-event (event) |
| 85 | "Handle Win32 scroll bar events to do normal Window style scrolling." | 85 | "Handle Win32 scroll bar events to do normal Window style scrolling." |
| 86 | (interactive "e") | 86 | (interactive "e") |
| 87 | (let ((old-window (selected-window))) | 87 | (let ((old-window (selected-window))) |
| @@ -107,9 +107,9 @@ | |||
| 107 | (select-window old-window)))) | 107 | (select-window old-window)))) |
| 108 | 108 | ||
| 109 | ;; The following definition is used for debugging. | 109 | ;; The following definition is used for debugging. |
| 110 | ;(defun win32-handle-scroll-bar-event (event) (interactive "e") (princ event)) | 110 | ;(defun w32-handle-scroll-bar-event (event) (interactive "e") (princ event)) |
| 111 | 111 | ||
| 112 | (global-set-key [vertical-scroll-bar mouse-1] 'win32-handle-scroll-bar-event) | 112 | (global-set-key [vertical-scroll-bar mouse-1] 'w32-handle-scroll-bar-event) |
| 113 | 113 | ||
| 114 | ;; (scroll-bar-mode nil) | 114 | ;; (scroll-bar-mode nil) |
| 115 | 115 | ||
| @@ -521,7 +521,7 @@ This is in addition to the primary selection.") | |||
| 521 | 521 | ||
| 522 | (defun x-select-text (text &optional push) | 522 | (defun x-select-text (text &optional push) |
| 523 | (if x-select-enable-clipboard | 523 | (if x-select-enable-clipboard |
| 524 | (win32-set-clipboard-data text)) | 524 | (w32-set-clipboard-data text)) |
| 525 | (setq x-last-selected-text text)) | 525 | (setq x-last-selected-text text)) |
| 526 | 526 | ||
| 527 | ;;; Return the value of the current selection. | 527 | ;;; Return the value of the current selection. |
| @@ -532,8 +532,8 @@ This is in addition to the primary selection.") | |||
| 532 | (let (text) | 532 | (let (text) |
| 533 | ;; Don't die if x-get-selection signals an error. | 533 | ;; Don't die if x-get-selection signals an error. |
| 534 | (condition-case c | 534 | (condition-case c |
| 535 | (setq text (win32-get-clipboard-data)) | 535 | (setq text (w32-get-clipboard-data)) |
| 536 | (error (message "win32-get-clipboard-data:%s" c))) | 536 | (error (message "w32-get-clipboard-data:%s" c))) |
| 537 | (if (string= text "") (setq text nil)) | 537 | (if (string= text "") (setq text nil)) |
| 538 | (cond | 538 | (cond |
| 539 | ((not text) nil) | 539 | ((not text) nil) |
| @@ -576,7 +576,7 @@ This is in addition to the primary selection.") | |||
| 576 | (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100) | 576 | (setq x-cut-buffer-max (min (- (/ (x-server-max-request-size) 2) 100) |
| 577 | x-cut-buffer-max)) | 577 | x-cut-buffer-max)) |
| 578 | 578 | ||
| 579 | ;; Win32 expects the menu bar cut and paste commands to use the clipboard. | 579 | ;; W32 expects the menu bar cut and paste commands to use the clipboard. |
| 580 | ;; This has ,? to match both on Sunos and on Solaris. | 580 | ;; This has ,? to match both on Sunos and on Solaris. |
| 581 | (menu-bar-enable-clipboard) | 581 | (menu-bar-enable-clipboard) |
| 582 | 582 | ||
| @@ -628,7 +628,7 @@ This is in addition to the primary selection.") | |||
| 628 | (setq interprogram-cut-function 'x-select-text) | 628 | (setq interprogram-cut-function 'x-select-text) |
| 629 | (setq interprogram-paste-function 'x-get-selection-value) | 629 | (setq interprogram-paste-function 'x-get-selection-value) |
| 630 | 630 | ||
| 631 | ;;; Turn off window-splitting optimization; win32 is usually fast enough | 631 | ;;; Turn off window-splitting optimization; w32 is usually fast enough |
| 632 | ;;; that this is only annoying. | 632 | ;;; that this is only annoying. |
| 633 | (setq split-window-keep-point t) | 633 | (setq split-window-keep-point t) |
| 634 | 634 | ||
| @@ -638,7 +638,7 @@ This is in addition to the primary selection.") | |||
| 638 | ;;; Set to a system sound if you want a fancy bell. | 638 | ;;; Set to a system sound if you want a fancy bell. |
| 639 | (set-message-beep 'ok) | 639 | (set-message-beep 'ok) |
| 640 | 640 | ||
| 641 | ;; Remap some functions to call win32 common dialogs | 641 | ;; Remap some functions to call w32 common dialogs |
| 642 | 642 | ||
| 643 | (defun internal-face-interactive (what &optional bool) | 643 | (defun internal-face-interactive (what &optional bool) |
| 644 | (let* ((fn (intern (concat "face-" what))) | 644 | (let* ((fn (intern (concat "face-" what))) |
| @@ -658,10 +658,10 @@ This is in addition to the primary selection.") | |||
| 658 | default))))) | 658 | default))))) |
| 659 | (list face (if (equal value "") nil value)))) | 659 | (list face (if (equal value "") nil value)))) |
| 660 | 660 | ||
| 661 | ;; Redefine the font selection to use the Win32 dialog | 661 | ;; Redefine the font selection to use the standard Win32 dialog |
| 662 | 662 | ||
| 663 | (defun mouse-set-font (&rest fonts) | 663 | (defun mouse-set-font (&rest fonts) |
| 664 | (interactive) | 664 | (interactive) |
| 665 | (set-default-font (win32-select-font))) | 665 | (set-default-font (w32-select-font))) |
| 666 | 666 | ||
| 667 | ;;; win32-win.el ends here | 667 | ;;; win32-win.el ends here |