emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hexl: doesn't play nicely with dynamic-completion-mode


From: Richard Stallman
Subject: Re: hexl: doesn't play nicely with dynamic-completion-mode
Date: Sun, 09 Sep 2007 21:13:11 -0400

Here's a more elegant and general version of the fix.
Does it work in your test case?

*** completion.el       19 Aug 2007 16:31:48 -0400      1.63
--- completion.el       09 Sep 2007 16:31:50 -0400      
***************
*** 2231,2238 ****
  
  (defun completion-separator-self-insert-command (arg)
    (interactive "p")
!   (use-completion-before-separator)
!   (self-insert-command arg))
  
  (defun completion-separator-self-insert-autofilling (arg)
    (interactive "p")
--- 2231,2240 ----
  
  (defun completion-separator-self-insert-command (arg)
    (interactive "p")
!   (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")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]