projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43201d7
)
* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil"
author
Alan Mackenzie
<acm@muc.de>
Sat, 20 Aug 2016 20:46:39 +0000
(20:46 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sat, 20 Aug 2016 20:46:39 +0000
(20:46 +0000)
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index ba9f1b69c505b59c5b2c562804be1bf7df2633a3..ab4baa247b92a2505cf496ec0dbc50441d878333 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-640,7
+640,7
@@
right side of it."
(let ((res (if (featurep 'xemacs)
`(scan-lists ,from ,count ,depth nil t)
`(c-safe (scan-lists ,from ,count ,depth)))))
- (if
(and limit (not (eq limit nil)))
+ (if
limit
`(save-restriction
(when ,limit
,(if (numberp count)