summaryrefslogtreecommitdiff
path: root/src/cmds.c
Commit message (Collapse)AuthorAgeFilesLines
* (internal_self_insert): Check the propertyRichard M. Stallman1997-01-021-2/+4
| | | | on the hook, not on the abbrev symbol.
* (internal_self_insert): If the abbrev has no expansion,Richard M. Stallman1996-12-261-4/+14
| | | | just a hook, inhibit the insertion of the character.
* (Fend_of_line, Fbeginning_of_line):Richard M. Stallman1996-12-101-2/+2
| | | | Use Fline_beginning_position, Fline_end_position.
* Change all references from point to PT.Karl Heuer1996-09-011-17/+17
|
* (Fdelete_backward_char): Fix off-by-one error.Karl Heuer1996-08-161-6/+6
| | | | Treat deleted newline specially.
* (internal_self_insert): Don't return 2 for auto-fillKarl Heuer1996-05-211-2/+5
| | | | unless the auto_fill_function returns non-nil.
* (Fdelete_backward_char): In overwrite mode,Richard M. Stallman1996-01-291-2/+32
| | | | insert spaces, unless we deleted a tab.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (Fforward_line, Fbeginning_of_line, Fend_of_line, Fdelete_char,Erik Naggum1996-01-091-37/+37
| | | | Fdelete_backward_char): Harmonize arguments with documentation.
* (internal_self_insert): Declare arg c1 as unsigned char.Richard M. Stallman1995-12-231-1/+4
|
* (Fbackward_char, Fforward_char): Rename arg to ARG.Karl Heuer1995-12-211-14/+14
|
* (Fself_insert_command): Optimize the case with arg > 2Richard M. Stallman1995-08-161-1/+14
| | | | to avoid running change hooks lots of times.
* (internal_self_insert): Make last_command be kboard-local.Karl Heuer1995-06-091-1/+2
|
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (internal_self_insert): Do face code only if HAVE_FACES.Karl Heuer1995-03-151-0/+2
|
* (use_hard_newlines): Variable definition moved to paragraphs.el.Boris Goldowsky1995-03-011-98/+7
| | | | | | (newline): Function moved to simple.el. (internal_self_insert): Insert newline BEFORE calling auto-fill-function, so centering & right-justify can work.
* (Vself_insert_face, Vself_insert_face_command): New variables.Richard M. Stallman1995-02-131-6/+34
| | | | | (syms_of_cmds): Set up Lisp variables. Doc syntax fix. (internal_self_insert): Handle Vself_insert_face.
* (internal_self_insert): Don't test current_columnRichard M. Stallman1995-01-191-2/+1
| | | | when deciding to call auto_fill_function.
* (Vuse_hard_newlines): New variable.Richard M. Stallman1995-01-131-6/+41
| | | | | (Fnewline): If use_hard_newlines is on, mark inserted newline(s) with `hard' property, marked rear-nonsticky.
* (Fnewline): Always use insert_and_inherit.Richard M. Stallman1994-11-101-1/+1
|
* * cmds.c (Fforward_line): Call scan_buffer with new args.Jim Blandy1994-10-081-8/+2
| | | | | (Fend_of_line): Replace call to Fforward_line and search loop with call to find_before_next_newline.
* (Fself_insert_command, Fnewline): Don't use XFASTINT as an lvalue.Karl Heuer1994-10-041-2/+4
|
* (Fforward_char, Fbackward_char, Fbeginning_of_line, Fend_of_line): Don't useKarl Heuer1994-10-041-4/+4
| | | | XFASTINT as an lvalue.
* (Fself_insert_command): Use type test macros.Karl Heuer1994-09-271-1/+1
|
* Include window.h.Richard M. Stallman1994-09-151-0/+6
| | | | | (Fnewline): Inhibit the insert-at-end-of-line hack when at the top of the window.
* (internal_self_insert): Use insert_and_inherit.Richard M. Stallman1994-08-281-3/+3
|
* (internal_self_insert): Now can return 2.Richard M. Stallman1994-06-291-5/+6
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (internal_self_insert): Test Vafter_change_functions,Richard M. Stallman1994-04-101-1/+2
| | | | Vbefore_change_functions.
* (internal_self_insert): Use assignment, not initialization.Karl Heuer1994-03-231-1/+2
|
* (Fforward_line): Pass new arg to scan_buffer.Richard M. Stallman1994-02-031-1/+1
|
* (keys_of_cmds) [MSDOS]: Chars 0200 to 0237 self-insert.Richard M. Stallman1994-01-081-0/+4
|
* (keys_of_cmds): Make 0377 self-inserting.Richard M. Stallman1993-11-171-1/+1
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (Fnewline): If we don't do the first SET_PT,Richard M. Stallman1993-08-111-6/+9
| | | | clear flag, so we don't do the second SET_PT.
* (Fnewline): Disable the "insert one position before"Richard M. Stallman1993-07-311-1/+7
| | | | optimization if it would screw up text property behavior.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* (Fnewline): Use Fbarf_if_buffer_read_only.Richard M. Stallman1993-06-041-1/+1
|
* (keys_of_cmds): Predefined 0240-0376 as self-insert.Richard M. Stallman1993-05-281-0/+2
|
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* * cmds.c (Fforward_char): Check proposed new position, and thenJim Blandy1993-05-141-11/+22
| | | | | set point, instead of setting point to a potentially invalid position.
* * cmds.c (overwrite_binary_mode): Deleted; this implements theJim Blandy1993-03-161-9/+10
| | | | | | | | | | | wrong feature. (Qoverwrite_mode_binary): New variable. (internal_self_insert): If current_buffer->overwrite_mode is `overwrite-mode-binary', do as overwrite_binary_mode used to. (syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize Qoverwrite_mode_binary. * buffer.c (syms_of_buffer): Doc fix for overwrite_mode. * buffer.h (struct buffer): Doc fix.
* (internal_self_insert): Check that tab_width does notRichard M. Stallman1993-03-121-0/+1
| | | | exceed 20, to be consistent with indent.c and xdisp.c.
* * cmds.c (Fnewline): Doc fix.Jim Blandy1993-03-021-7/+8
|
* (syms_of_cmds): Typo in last change.Richard M. Stallman1993-03-011-1/+1
|
* (syms_of_cmds): New var `overwrite-binary-mode'.Richard M. Stallman1993-02-241-2/+10
| | | | (internal_self_insert): Handle that var.
* (internal_self_insert): Assume Fexpand_abbrev expandedRichard M. Stallman1992-09-111-3/+4
| | | | something if it incremented MODIFF.
* (internal_self_insert): Ignore value of Fexpand_abbrev;Richard M. Stallman1992-08-191-2/+11
| | | | instead, check whether buf is modified when it returns.
* entered into RCSJim Blandy1992-05-181-3/+4
|
* *** empty log message ***Jim Blandy1992-01-131-15/+15
|