auctex
[Top][All Lists]
Advanced

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

[AUCTeX] delete-selection for TeX-insert-backslash


From: David Reitter
Subject: [AUCTeX] delete-selection for TeX-insert-backslash
Date: Mon, 13 Aug 2007 18:04:45 +0100

Hi,

I noticed that the code that deals with entering a backslash in latex- mode does not respect delete-selection-mode.
The following patch fixes the problem.


*** tex.el      23 Apr 2007 00:13:17 +0100      1.5
--- tex.el      13 Aug 2007 18:02:42 +0100      
***************
*** 5061,5066 ****
--- 5061,5067 ----
  (put 'TeX-newline 'delete-selection t)
  (put 'TeX-insert-dollar 'delete-selection t)
  (put 'TeX-insert-quote 'delete-selection t)
+ (put 'TeX-insert-backslash 'delete-selection t)


  (provide 'tex)





reply via email to

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