mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(completion-separator-self-insert-command)
(completion-separator-self-insert-autofilling): If `self-insert-command' has been remapped, use the substitute.
This commit is contained in:
parent
b66eb11bec
commit
3e7a2d671a
@ -2231,15 +2231,19 @@ Patched to remove the most recent completion."
|
||||
|
||||
(defun completion-separator-self-insert-command (arg)
|
||||
(interactive "p")
|
||||
(use-completion-before-separator)
|
||||
(self-insert-command arg))
|
||||
(if (command-remapping 'self-insert-command)
|
||||
(funcall (command-remapping 'self-insert-command) arg)
|
||||
(use-completion-before-separator)
|
||||
(self-insert-command arg)))
|
||||
|
||||
(defun completion-separator-self-insert-autofilling (arg)
|
||||
(interactive "p")
|
||||
(use-completion-before-separator)
|
||||
(self-insert-command arg)
|
||||
(and auto-fill-function
|
||||
(funcall auto-fill-function)))
|
||||
(if (command-remapping 'self-insert-command)
|
||||
(funcall (command-remapping 'self-insert-command) arg)
|
||||
(use-completion-before-separator)
|
||||
(self-insert-command arg)
|
||||
(and auto-fill-function
|
||||
(funcall auto-fill-function))))
|
||||
|
||||
;;-----------------------------------------------
|
||||
;; Wrapping Macro
|
||||
|
Loading…
Reference in New Issue
Block a user