From 79f0fbcfd4e2f8f611a9e45742ea3849a329483a Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 17 Nov 2008 08:41:14 +0000 Subject: [PATCH] (c-put-char-property-fun): Add fallback definition of 'ignore, rather than nil. (Bug#1353) --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cc-defs.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 163751cd8ec..76530d7150a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-11-17 Glenn Morris + + * progmodes/cc-defs.el (c-put-char-property-fun): Add fallback + definition of 'ignore, rather than nil. (Bug#1353) + 2008-11-17 Stefan Monnier * window.el (window--frame-usable-p): Allow use for soft-dedication. diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 566d202aee8..5ce7ec5d117 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -932,7 +932,9 @@ MODE is either a mode symbol or a list of mode symbols." (or (memq property prop) (put-text-property pos (1+ pos) 'rear-nonsticky - (cons property prop)))))))))) + (cons property prop))))))) + ;; This won't be used for anything. + (t 'ignore)))) (cc-bytecomp-defun c-put-char-property-fun) ; Make it known below. (defmacro c-put-char-property (pos property value) -- 2.39.2