diff options
| author | Richard M. Stallman | 1993-03-07 09:31:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-07 09:31:37 +0000 |
| commit | 4d1f43c0381536f68fc0f3ae0011b3b3fc869830 (patch) | |
| tree | ddf1395ff27bf613d8ad59f4900e3720fe394805 /src | |
| parent | a3c44b1451b833d5e766d09e67bdd5b0f43c98ae (diff) | |
| download | emacs-4d1f43c0381536f68fc0f3ae0011b3b3fc869830.tar.gz emacs-4d1f43c0381536f68fc0f3ae0011b3b3fc869830.zip | |
(check_mark): Error if mark is not active.
Diffstat (limited to 'src')
| -rw-r--r-- | src/callint.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/callint.c b/src/callint.c index d688f0e2b1c..0528fe78f2d 100644 --- a/src/callint.c +++ b/src/callint.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Call a Lisp function interactively. | 1 | /* Call a Lisp function interactively. |
| 2 | Copyright (C) 1985, 1986, 1992, 1993 Free Software Foundation, Inc. | 2 | Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -69,9 +69,9 @@ c -- Character.\n\ | |||
| 69 | C -- Command name: symbol with interactive function definition.\n\ | 69 | C -- Command name: symbol with interactive function definition.\n\ |
| 70 | d -- Value of point as number. Does not do I/O.\n\ | 70 | d -- Value of point as number. Does not do I/O.\n\ |
| 71 | D -- Directory name.\n\ | 71 | D -- Directory name.\n\ |
| 72 | e -- Event that invoked this command (value of `last-nonmenu-event').\n\ | 72 | e -- Parametrized event (i.e., one that's a list) that invoked this command.\n\ |
| 73 | This skips events without parameters.\n\ | 73 | If used more than once, the Nth `e' returns the Nth parameterized event.\n\ |
| 74 | If used more than once, the Nth 'e' returns the Nth parameterized event.\n\ | 74 | This skips events that are integers or symbols.\n\ |
| 75 | f -- Existing file name.\n\ | 75 | f -- Existing file name.\n\ |
| 76 | F -- Possibly nonexistent file name.\n\ | 76 | F -- Possibly nonexistent file name.\n\ |
| 77 | k -- Key sequence (string).\n\ | 77 | k -- Key sequence (string).\n\ |
| @@ -141,6 +141,8 @@ check_mark () | |||
| 141 | Lisp_Object tem = Fmarker_buffer (current_buffer->mark); | 141 | Lisp_Object tem = Fmarker_buffer (current_buffer->mark); |
| 142 | if (NILP (tem) || (XBUFFER (tem) != current_buffer)) | 142 | if (NILP (tem) || (XBUFFER (tem) != current_buffer)) |
| 143 | error ("The mark is not set now"); | 143 | error ("The mark is not set now"); |
| 144 | if (NILP (current_buffer->mark_active)) | ||
| 145 | error ("The mark is not active now"); | ||
| 144 | } | 146 | } |
| 145 | 147 | ||
| 146 | 148 | ||