diff options
| author | Miles Bader | 2005-05-20 04:22:05 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-05-20 04:22:05 +0000 |
| commit | 64e9342958694825be1664890dcd22fffcd50d3a (patch) | |
| tree | a43e1796f5a49ae7eeec671447d10ac3731a1834 /lisp/emulation | |
| parent | 5447510256e5a1b371407b751ddcc461044da5df (diff) | |
| parent | a18ff9886771c41186eebf8d7984fee2120dbe36 (diff) | |
| download | emacs-64e9342958694825be1664890dcd22fffcd50d3a.tar.gz emacs-64e9342958694825be1664890dcd22fffcd50d3a.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-53
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 302-319)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 69)
- Update from CVS
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/crisp.el | 8 | ||||
| -rw-r--r-- | lisp/emulation/cua-base.el | 20 | ||||
| -rw-r--r-- | lisp/emulation/cua-rect.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/edt.el | 8 | ||||
| -rw-r--r-- | lisp/emulation/pc-select.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/tpu-edt.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/tpu-extras.el | 8 | ||||
| -rw-r--r-- | lisp/emulation/vip.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-ex.el | 10 | ||||
| -rw-r--r-- | lisp/emulation/viper-keym.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-macs.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-util.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper.el | 2 |
14 files changed, 39 insertions, 41 deletions
diff --git a/lisp/emulation/crisp.el b/lisp/emulation/crisp.el index 2ca819c0424..97706fdfab0 100644 --- a/lisp/emulation/crisp.el +++ b/lisp/emulation/crisp.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; crisp.el --- CRiSP/Brief Emacs emulator | 1 | ;;; crisp.el --- CRiSP/Brief Emacs emulator |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 1998, 1999, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM> | 5 | ;; Author: Gary D. Foster <Gary.Foster@Corp.Sun.COM> |
| 6 | ;; Keywords: emulations brief crisp | 6 | ;; Keywords: emulations brief crisp |
| @@ -386,10 +386,8 @@ With ARG, turn CRiSP mode on if ARG is positive, off otherwise." | |||
| 386 | minor-mode-map-alist)))) | 386 | minor-mode-map-alist)))) |
| 387 | 387 | ||
| 388 | ;; Interaction with other packages. | 388 | ;; Interaction with other packages. |
| 389 | (eval-after-load 'cua | 389 | (put 'crisp-home 'CUA 'move) |
| 390 | '(progn | 390 | (put 'crisp-end 'CUA 'move) |
| 391 | (add-to-list 'cua--standard-movement-commands 'crisp-home) | ||
| 392 | (add-to-list 'cua--standard-movement-commands 'crisp-end))) | ||
| 393 | 391 | ||
| 394 | (run-hooks 'crisp-load-hook) | 392 | (run-hooks 'crisp-load-hook) |
| 395 | (provide 'crisp) | 393 | (provide 'crisp) |
diff --git a/lisp/emulation/cua-base.el b/lisp/emulation/cua-base.el index e9679c66dd3..6ea6bfb7f3d 100644 --- a/lisp/emulation/cua-base.el +++ b/lisp/emulation/cua-base.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cua-base.el --- emulate CUA key bindings | 1 | ;;; cua-base.el --- emulate CUA key bindings |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 | 3 | ;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2005 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Kim F. Storm <storm@cua.dk> | 6 | ;; Author: Kim F. Storm <storm@cua.dk> |
| @@ -159,13 +159,13 @@ | |||
| 159 | ;; left edge of a rectangle start in the middle of a TAB character. | 159 | ;; left edge of a rectangle start in the middle of a TAB character. |
| 160 | ;; Sounds strange? Try it! | 160 | ;; Sounds strange? Try it! |
| 161 | ;; | 161 | ;; |
| 162 | ;; To start a rectangle, use [S-return] and extend it using the normal | 162 | ;; To start a rectangle, use [C-return] and extend it using the normal |
| 163 | ;; movement keys (up, down, left, right, home, end, C-home, | 163 | ;; movement keys (up, down, left, right, home, end, C-home, |
| 164 | ;; C-end). Once the rectangle has the desired size, you can cut or | 164 | ;; C-end). Once the rectangle has the desired size, you can cut or |
| 165 | ;; copy it using C-x and C-c (or C-w and M-w), and you can | 165 | ;; copy it using C-x and C-c (or C-w and M-w), and you can |
| 166 | ;; subsequently insert it - as a rectangle - using C-v (or C-y). So | 166 | ;; subsequently insert it - as a rectangle - using C-v (or C-y). So |
| 167 | ;; the only new command you need to know to work with cua-mode | 167 | ;; the only new command you need to know to work with cua-mode |
| 168 | ;; rectangles is S-return! | 168 | ;; rectangles is C-return! |
| 169 | ;; | 169 | ;; |
| 170 | ;; Normally, when you paste a rectangle using C-v (C-y), each line of | 170 | ;; Normally, when you paste a rectangle using C-v (C-y), each line of |
| 171 | ;; the rectangle is inserted into the existing lines in the buffer. | 171 | ;; the rectangle is inserted into the existing lines in the buffer. |
| @@ -183,7 +183,7 @@ | |||
| 183 | ;; entire rectangle overlay (but not the contents) in the given | 183 | ;; entire rectangle overlay (but not the contents) in the given |
| 184 | ;; direction. | 184 | ;; direction. |
| 185 | ;; | 185 | ;; |
| 186 | ;; [S-return] cancels the rectangle | 186 | ;; [C-return] cancels the rectangle |
| 187 | ;; [C-space] activates the region bounded by the rectangle | 187 | ;; [C-space] activates the region bounded by the rectangle |
| 188 | 188 | ||
| 189 | ;; If you type a normal (self-inserting) character when the rectangle is | 189 | ;; If you type a normal (self-inserting) character when the rectangle is |
| @@ -194,7 +194,7 @@ | |||
| 194 | ;; bottom of the rectangle. So, for example, to comment out an entire | 194 | ;; bottom of the rectangle. So, for example, to comment out an entire |
| 195 | ;; paragraph like this one, just place the cursor on the first character | 195 | ;; paragraph like this one, just place the cursor on the first character |
| 196 | ;; of the first line, and enter the following: | 196 | ;; of the first line, and enter the following: |
| 197 | ;; S-return M-} ; ; <space> S-return | 197 | ;; C-return M-} ; ; <space> C-return |
| 198 | 198 | ||
| 199 | ;; cua-mode's rectangle support also includes all the normal rectangle | 199 | ;; cua-mode's rectangle support also includes all the normal rectangle |
| 200 | ;; functions with easy access: | 200 | ;; functions with easy access: |
| @@ -330,12 +330,12 @@ interpreted as a register number." | |||
| 330 | :group 'cua) | 330 | :group 'cua) |
| 331 | 331 | ||
| 332 | (defcustom cua-use-hyper-key nil | 332 | (defcustom cua-use-hyper-key nil |
| 333 | "*If non-nil, bind rectangle commands to H-? instead of M-?. | 333 | "*If non-nil, bind rectangle commands to H-... instead of M-.... |
| 334 | If set to 'also, toggle region command is also on S-return. | 334 | If set to 'also, toggle region command is also on C-return. |
| 335 | Must be set prior to enabling CUA." | 335 | Must be set prior to enabling CUA." |
| 336 | :type '(choice (const :tag "Meta key and S-return" nil) | 336 | :type '(choice (const :tag "Meta key and C-return" nil) |
| 337 | (const :tag "Hyper key only" only) | 337 | (const :tag "Hyper key only" only) |
| 338 | (const :tag "Hyper key and S-return" also)) | 338 | (const :tag "Hyper key and C-return" also)) |
| 339 | :group 'cua) | 339 | :group 'cua) |
| 340 | 340 | ||
| 341 | (defcustom cua-enable-region-auto-help nil | 341 | (defcustom cua-enable-region-auto-help nil |
| @@ -1235,7 +1235,7 @@ If ARG is the atom `-', scroll upward by nearly full screen." | |||
| 1235 | 1235 | ||
| 1236 | (defun cua--init-keymaps () | 1236 | (defun cua--init-keymaps () |
| 1237 | (unless (eq cua-use-hyper-key 'only) | 1237 | (unless (eq cua-use-hyper-key 'only) |
| 1238 | (define-key cua-global-keymap [(shift return)] 'cua-set-rectangle-mark)) | 1238 | (define-key cua-global-keymap [(control return)] 'cua-set-rectangle-mark)) |
| 1239 | (when cua-use-hyper-key | 1239 | (when cua-use-hyper-key |
| 1240 | (cua--M/H-key cua-global-keymap 'space 'cua-set-rectangle-mark) | 1240 | (cua--M/H-key cua-global-keymap 'space 'cua-set-rectangle-mark) |
| 1241 | (define-key cua-global-keymap [(hyper mouse-1)] 'cua-mouse-set-rectangle-mark)) | 1241 | (define-key cua-global-keymap [(hyper mouse-1)] 'cua-mouse-set-rectangle-mark)) |
diff --git a/lisp/emulation/cua-rect.el b/lisp/emulation/cua-rect.el index 5c24c2dc36f..932448079dd 100644 --- a/lisp/emulation/cua-rect.el +++ b/lisp/emulation/cua-rect.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cua-rect.el --- CUA unified rectangle support | 1 | ;;; cua-rect.el --- CUA unified rectangle support |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2002, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2002, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Kim F. Storm <storm@cua.dk> | 5 | ;; Author: Kim F. Storm <storm@cua.dk> |
| 6 | ;; Keywords: keyboard emulations convenience CUA | 6 | ;; Keywords: keyboard emulations convenience CUA |
| @@ -1403,8 +1403,8 @@ With prefix arg, indent to that column." | |||
| 1403 | 1403 | ||
| 1404 | (defun cua--init-rectangles () | 1404 | (defun cua--init-rectangles () |
| 1405 | (unless (eq cua-use-hyper-key 'only) | 1405 | (unless (eq cua-use-hyper-key 'only) |
| 1406 | (define-key cua--rectangle-keymap [(shift return)] 'cua-clear-rectangle-mark) | 1406 | (define-key cua--rectangle-keymap [(control return)] 'cua-clear-rectangle-mark) |
| 1407 | (define-key cua--region-keymap [(shift return)] 'cua-toggle-rectangle-mark)) | 1407 | (define-key cua--region-keymap [(control return)] 'cua-toggle-rectangle-mark)) |
| 1408 | (when cua-use-hyper-key | 1408 | (when cua-use-hyper-key |
| 1409 | (cua--rect-M/H-key 'space 'cua-clear-rectangle-mark) | 1409 | (cua--rect-M/H-key 'space 'cua-clear-rectangle-mark) |
| 1410 | (cua--M/H-key cua--region-keymap 'space 'cua-toggle-rectangle-mark)) | 1410 | (cua--M/H-key cua--region-keymap 'space 'cua-toggle-rectangle-mark)) |
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el index ff0298e9a17..01f0af6f307 100644 --- a/lisp/emulation/edt.el +++ b/lisp/emulation/edt.el | |||
| @@ -1256,16 +1256,16 @@ Argument BOTTOM is the bottom margin in number of lines or percent of window." | |||
| 1256 | ;; set top scroll margin | 1256 | ;; set top scroll margin |
| 1257 | (or (string= top "") | 1257 | (or (string= top "") |
| 1258 | (if (string= "%" (substring top -1)) | 1258 | (if (string= "%" (substring top -1)) |
| 1259 | (setq edt-top-scroll-margin (string-to-int top)) | 1259 | (setq edt-top-scroll-margin (string-to-number top)) |
| 1260 | (setq edt-top-scroll-margin | 1260 | (setq edt-top-scroll-margin |
| 1261 | (/ (1- (+ (* (string-to-int top) 100) (window-height))) | 1261 | (/ (1- (+ (* (string-to-number top) 100) (window-height))) |
| 1262 | (window-height))))) | 1262 | (window-height))))) |
| 1263 | ;; set bottom scroll margin | 1263 | ;; set bottom scroll margin |
| 1264 | (or (string= bottom "") | 1264 | (or (string= bottom "") |
| 1265 | (if (string= "%" (substring bottom -1)) | 1265 | (if (string= "%" (substring bottom -1)) |
| 1266 | (setq edt-bottom-scroll-margin (string-to-int bottom)) | 1266 | (setq edt-bottom-scroll-margin (string-to-number bottom)) |
| 1267 | (setq edt-bottom-scroll-margin | 1267 | (setq edt-bottom-scroll-margin |
| 1268 | (/ (1- (+ (* (string-to-int bottom) 100) (window-height))) | 1268 | (/ (1- (+ (* (string-to-number bottom) 100) (window-height))) |
| 1269 | (window-height))))) | 1269 | (window-height))))) |
| 1270 | ;; report scroll margin settings if running interactively | 1270 | ;; report scroll margin settings if running interactively |
| 1271 | (and (interactive-p) | 1271 | (and (interactive-p) |
diff --git a/lisp/emulation/pc-select.el b/lisp/emulation/pc-select.el index 188e335687c..1221fca5199 100644 --- a/lisp/emulation/pc-select.el +++ b/lisp/emulation/pc-select.el | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | ;;; (or MAC GUI or MS-windoze (bah)) look-and-feel | 2 | ;;; (or MAC GUI or MS-windoze (bah)) look-and-feel |
| 3 | ;;; including key bindings. | 3 | ;;; including key bindings. |
| 4 | 4 | ||
| 5 | ;; Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. | 5 | ;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2005 Free Software Foundation, Inc. |
| 6 | 6 | ||
| 7 | ;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE> | 7 | ;; Author: Michael Staats <michael@thp.Uni-Duisburg.DE> |
| 8 | ;; Keywords: convenience emulation | 8 | ;; Keywords: convenience emulation |
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index f8f608b01d0..ec0eef05321 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT | 1 | ;;; tpu-edt.el --- Emacs emulating TPU emulating EDT |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994, 1995, 2000 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1994, 1995, 2000, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> | 5 | ;; Author: Rob Riepel <riepel@networking.stanford.edu> |
| 6 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> | 6 | ;; Maintainer: Rob Riepel <riepel@networking.stanford.edu> |
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index ced88ff3fdf..9c417dd3a40 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el | |||
| @@ -440,16 +440,16 @@ version that respects the bottom scroll margin." | |||
| 440 | ;; set top scroll margin | 440 | ;; set top scroll margin |
| 441 | (or (string= top "") | 441 | (or (string= top "") |
| 442 | (if (string= "%" (substring top -1)) | 442 | (if (string= "%" (substring top -1)) |
| 443 | (setq tpu-top-scroll-margin (string-to-int top)) | 443 | (setq tpu-top-scroll-margin (string-to-number top)) |
| 444 | (setq tpu-top-scroll-margin | 444 | (setq tpu-top-scroll-margin |
| 445 | (/ (1- (+ (* (string-to-int top) 100) (window-height))) | 445 | (/ (1- (+ (* (string-to-number top) 100) (window-height))) |
| 446 | (window-height))))) | 446 | (window-height))))) |
| 447 | ;; set bottom scroll margin | 447 | ;; set bottom scroll margin |
| 448 | (or (string= bottom "") | 448 | (or (string= bottom "") |
| 449 | (if (string= "%" (substring bottom -1)) | 449 | (if (string= "%" (substring bottom -1)) |
| 450 | (setq tpu-bottom-scroll-margin (string-to-int bottom)) | 450 | (setq tpu-bottom-scroll-margin (string-to-number bottom)) |
| 451 | (setq tpu-bottom-scroll-margin | 451 | (setq tpu-bottom-scroll-margin |
| 452 | (/ (1- (+ (* (string-to-int bottom) 100) (window-height))) | 452 | (/ (1- (+ (* (string-to-number bottom) 100) (window-height))) |
| 453 | (window-height))))) | 453 | (window-height))))) |
| 454 | ;; report scroll margin settings if running interactively | 454 | ;; report scroll margin settings if running interactively |
| 455 | (and (interactive-p) | 455 | (and (interactive-p) |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index af878085ba8..19f08d54989 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -2177,7 +2177,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2177 | (cond ((string= ex-token-type "plus") "add-number") | 2177 | (cond ((string= ex-token-type "plus") "add-number") |
| 2178 | ((string= ex-token-type "minus") "sub-number") | 2178 | ((string= ex-token-type "minus") "sub-number") |
| 2179 | (t "abs-number"))) | 2179 | (t "abs-number"))) |
| 2180 | (setq ex-token (string-to-int (buffer-substring (point) (mark))))) | 2180 | (setq ex-token (string-to-number (buffer-substring (point) (mark))))) |
| 2181 | ((looking-at "\\$") | 2181 | ((looking-at "\\$") |
| 2182 | (forward-char 1) | 2182 | (forward-char 1) |
| 2183 | (setq ex-token-type "end")) | 2183 | (setq ex-token-type "end")) |
| @@ -2471,7 +2471,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2471 | (progn | 2471 | (progn |
| 2472 | (set-mark (point)) | 2472 | (set-mark (point)) |
| 2473 | (re-search-forward "[0-9][0-9]*") | 2473 | (re-search-forward "[0-9][0-9]*") |
| 2474 | (setq ex-count (string-to-int (buffer-substring (point) (mark)))) | 2474 | (setq ex-count (string-to-number (buffer-substring (point) (mark)))) |
| 2475 | (skip-chars-forward " \t"))) | 2475 | (skip-chars-forward " \t"))) |
| 2476 | (if (looking-at "[pl#]") | 2476 | (if (looking-at "[pl#]") |
| 2477 | (progn | 2477 | (progn |
| @@ -2496,7 +2496,7 @@ a token has type \(command, address, end-mark\) and value." | |||
| 2496 | (progn | 2496 | (progn |
| 2497 | (set-mark (point)) | 2497 | (set-mark (point)) |
| 2498 | (re-search-forward "[0-9][0-9]*") | 2498 | (re-search-forward "[0-9][0-9]*") |
| 2499 | (setq ex-count (string-to-int (buffer-substring (point) (mark)))) | 2499 | (setq ex-count (string-to-number (buffer-substring (point) (mark)))) |
| 2500 | (skip-chars-forward " \t"))) | 2500 | (skip-chars-forward " \t"))) |
| 2501 | (if (looking-at "[pl#]") | 2501 | (if (looking-at "[pl#]") |
| 2502 | (progn | 2502 | (progn |
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 8023336b18b..4593d84c6fc 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-cmd.el --- Vi command support for Viper | 1 | ;;; viper-cmd.el --- Vi command support for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 98, 99, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 98, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-ex.el b/lisp/emulation/viper-ex.el index 90b006ffb65..7e8a5cbeb99 100644 --- a/lisp/emulation/viper-ex.el +++ b/lisp/emulation/viper-ex.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-ex.el --- functions implementing the Ex commands for Viper | 1 | ;;; viper-ex.el --- functions implementing the Ex commands for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 2000, 01, 02, 04, 05 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
| @@ -434,7 +434,7 @@ reversed." | |||
| 434 | ((eq ex-token-type 'minus) 'sub-number) | 434 | ((eq ex-token-type 'minus) 'sub-number) |
| 435 | (t 'abs-number))) | 435 | (t 'abs-number))) |
| 436 | (setq ex-token | 436 | (setq ex-token |
| 437 | (string-to-int (buffer-substring (point) (mark t))))) | 437 | (string-to-number (buffer-substring (point) (mark t))))) |
| 438 | ((looking-at "\\$") | 438 | ((looking-at "\\$") |
| 439 | (forward-char 1) | 439 | (forward-char 1) |
| 440 | (setq ex-token-type 'end)) | 440 | (setq ex-token-type 'end)) |
| @@ -912,7 +912,7 @@ reversed." | |||
| 912 | (progn | 912 | (progn |
| 913 | (set-mark (point)) | 913 | (set-mark (point)) |
| 914 | (re-search-forward "[0-9][0-9]*") | 914 | (re-search-forward "[0-9][0-9]*") |
| 915 | (setq ex-count (string-to-int (buffer-substring (point) (mark t)))) | 915 | (setq ex-count (string-to-number (buffer-substring (point) (mark t)))) |
| 916 | (skip-chars-forward " \t"))) | 916 | (skip-chars-forward " \t"))) |
| 917 | (if (looking-at "[pl#]") | 917 | (if (looking-at "[pl#]") |
| 918 | (progn | 918 | (progn |
| @@ -938,7 +938,7 @@ reversed." | |||
| 938 | (progn | 938 | (progn |
| 939 | (set-mark (point)) | 939 | (set-mark (point)) |
| 940 | (re-search-forward "[0-9][0-9]*") | 940 | (re-search-forward "[0-9][0-9]*") |
| 941 | (setq ex-count (string-to-int (buffer-substring (point) (mark t)))) | 941 | (setq ex-count (string-to-number (buffer-substring (point) (mark t)))) |
| 942 | (skip-chars-forward " \t"))) | 942 | (skip-chars-forward " \t"))) |
| 943 | (if (looking-at "[pl#]") | 943 | (if (looking-at "[pl#]") |
| 944 | (progn | 944 | (progn |
| @@ -1490,7 +1490,7 @@ reversed." | |||
| 1490 | (progn | 1490 | (progn |
| 1491 | (ex-edit t) | 1491 | (ex-edit t) |
| 1492 | (throw 'ex-edit nil)) | 1492 | (throw 'ex-edit nil)) |
| 1493 | (setq count (string-to-int ex-file)) | 1493 | (setq count (string-to-number ex-file)) |
| 1494 | (if (= count 0) (setq count 1)) | 1494 | (if (= count 0) (setq count 1)) |
| 1495 | (if (< count 0) (error "Usage: `next <count>' (count >= 0)")))) | 1495 | (if (< count 0) (error "Usage: `next <count>' (count >= 0)")))) |
| 1496 | (setq count 1)) | 1496 | (setq count 1)) |
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index e5074b95838..a74ca05b3df 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-keym.el --- Viper keymaps | 1 | ;;; viper-keym.el --- Viper keymaps |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-macs.el b/lisp/emulation/viper-macs.el index df0e37e7c25..9fd73efb9b9 100644 --- a/lisp/emulation/viper-macs.el +++ b/lisp/emulation/viper-macs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-macs.el --- functions implementing keyboard macros for Viper | 1 | ;;; viper-macs.el --- functions implementing keyboard macros for Viper |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 527a04084e2..497e4a1e559 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; viper-util.el --- Utilities used by viper.el | 1 | ;;; viper-util.el --- Utilities used by viper.el |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 99, 2000, 01, 02 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 95, 96, 97, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 6 | ||
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index be5a8e3467a..e3582f2165a 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; and a venomous VI PERil. | 3 | ;; and a venomous VI PERil. |
| 4 | ;; Viper Is also a Package for Emacs Rebels. | 4 | ;; Viper Is also a Package for Emacs Rebels. |
| 5 | 5 | ||
| 6 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 05 Free Software Foundation, Inc. | 6 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 2005 Free Software Foundation, Inc. |
| 7 | 7 | ||
| 8 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 8 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 9 | ;; Keywords: emulations | 9 | ;; Keywords: emulations |