changeset 99660:ae9eb12f2b81

(c-put-char-property-fun): Add fallback definition of 'ignore, rather than nil. (Bug#1353)
author Glenn Morris <rgm@gnu.org>
date Mon, 17 Nov 2008 08:41:00 +0000
parents 5b365150ca7e
children ee536c159517
files lisp/progmodes/cc-defs.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-defs.el	Mon Nov 17 05:00:23 2008 +0000
+++ b/lisp/progmodes/cc-defs.el	Mon Nov 17 08:41:00 2008 +0000
@@ -932,7 +932,9 @@
 		(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)