diff options
author | Alan Mackenzie <acm@muc.de> | 2010-04-12 14:59:56 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2010-04-12 14:59:56 +0000 |
commit | e2387bdba28af0022a4d63d024a8f16546001612 (patch) | |
tree | ebce3210b9d9f2c98ef50474f40dc4a0805c78ea /lisp/progmodes/cc-engine.el | |
parent | a1c7301e3195f11f5544288228d53e82f4caeda8 (diff) | |
download | emacs-e2387bdba28af0022a4d63d024a8f16546001612.tar.gz |
Reverse 2010-02-25T21:21:25Z!acm@muc.de:
" (i) Remove any hard syntax-table properties for <, > inserted by C-y.
(ii) Remove category text props, not syntax-table ones in unmarking <, >.
".
Diffstat (limited to 'lisp/progmodes/cc-engine.el')
-rw-r--r-- | lisp/progmodes/cc-engine.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 336e2c39262..3b7f6e4ea0a 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -4929,8 +4929,8 @@ comment at the start of cc-engine.el for more info." (c-go-list-forward)) (when (equal (c-get-char-property (1- (point)) 'syntax-table) c->-as-paren-syntax) ; should always be true. - (c-clear-char-property (1- (point)) 'category)) - (c-clear-char-property pos 'category)))) + (c-clear-char-property (1- (point)) 'syntax-table)) + (c-clear-char-property pos 'syntax-table)))) (defun c-clear->-pair-props (&optional pos) ;; POS (default point) is at a > character. If it is marked with @@ -4946,8 +4946,8 @@ comment at the start of cc-engine.el for more info." (c-go-up-list-backward)) (when (equal (c-get-char-property (point) 'syntax-table) c-<-as-paren-syntax) ; should always be true. - (c-clear-char-property (point) 'category)) - (c-clear-char-property pos 'category)))) + (c-clear-char-property (point) 'syntax-table)) + (c-clear-char-property pos 'syntax-table)))) (defun c-clear-<>-pair-props (&optional pos) ;; POS (default point) is at a < or > character. If it has an |