Mercurial > emacs
comparison lisp/simple.el @ 5764:5726c18895e3
Rms (in his change to comment-region on Feb 1) decided to make
`interactive' in the function backward-word all upper case. Needless
to say, this isn't such a good idea.
author | Michael I. Bushnell <mib@gnu.org> |
---|---|
date | Thu, 03 Feb 1994 23:48:59 +0000 |
parents | 5810e7311c05 |
children | 8fef255fe6b3 |
comparison
equal
deleted
inserted
replaced
5763:ec298224882d | 5764:5726c18895e3 |
---|---|
1 ;;; simple.el --- basic editing commands for Emacs | 1 ;;; simple.el --- basic editing commands for Emacs |
2 | 2 |
3 ;; Copyright (C) 1985, 1986, 1987, 1993 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1985, 1986, 1987, 1993, 1994 Free Software Foundation, Inc. |
4 | 4 |
5 ;; This file is part of GNU Emacs. | 5 ;; This file is part of GNU Emacs. |
6 | 6 |
7 ;; GNU Emacs is free software; you can redistribute it and/or modify | 7 ;; GNU Emacs is free software; you can redistribute it and/or modify |
8 ;; it under the terms of the GNU General Public License as published by | 8 ;; it under the terms of the GNU General Public License as published by |
1875 | 1875 |
1876 (defun backward-word (arg) | 1876 (defun backward-word (arg) |
1877 "Move backward until encountering the end of a word. | 1877 "Move backward until encountering the end of a word. |
1878 With argument, do this that many times. | 1878 With argument, do this that many times. |
1879 In programs, it is faster to call `forward-word' with negative arg." | 1879 In programs, it is faster to call `forward-word' with negative arg." |
1880 (INTERACTIVE "p") | 1880 (interactive "p") |
1881 (forward-word (- arg))) | 1881 (forward-word (- arg))) |
1882 | 1882 |
1883 (defun mark-word (arg) | 1883 (defun mark-word (arg) |
1884 "Set mark arg words away from point." | 1884 "Set mark arg words away from point." |
1885 (interactive "p") | 1885 (interactive "p") |