Lines Matching defs:self
53 ;; zz ;; self-insert-command * 2
104 ;; If the last command was self-insert-command, the char to be inserted was
151 ;; Coping with strings of self-insert commands gets hairy when they interact
153 ;; self-inserting, so we only need to get it from the undo information once.
155 (defvar repeat-last-self-insert nil
156 "If last repeated command was `self-insert-command', it inserted this.")
159 ;; repetitions of self-insert commands:
161 (defvar repeat-num-input-keys-at-self-insert -1
162 "# key sequences read in Emacs session when `self-insert-command' repeated.")
176 ;; uses it self-documenting:
247 self-insert-and-exit))
255 (if (eq real-last-command 'self-insert-command)
258 repeat-num-input-keys-at-self-insert)
260 repeat-last-self-insert
263 (setq repeat-last-self-insert
270 (setq repeat-num-input-keys-at-self-insert num-input-keys)
271 ;; If the self-insert had a repeat count, INSERTION
279 (repeat-self-insert insertion)
304 (defun repeat-self-insert (string)
308 (self-insert-command 1))
319 ;; most recent self-insertion provoked an auto-fill. The problem is that
323 ;; self-insertion before it does its thing, but that's a performance hit on
326 ;; typed it, this'll correctly repeat its self-insertion, even if the