comparison lisp/progmodes/cc-defs.el @ 63627:f22ddea914f2

(c-safe-scan-lists): Fix spellings.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 21 Jun 2005 13:46:49 +0000
parents 27b53b1903b6
children 18a818a2ee7c b7da78284d4c
comparison
equal deleted inserted replaced
63626:130a054b0179 63627:f22ddea914f2
415 "See `c-forward-sexp' and reverse directions." 415 "See `c-forward-sexp' and reverse directions."
416 (or count (setq count 1)) 416 (or count (setq count 1))
417 `(c-forward-sexp ,(if (numberp count) (- count) `(- ,count)))) 417 `(c-forward-sexp ,(if (numberp count) (- count) `(- ,count))))
418 418
419 (defmacro c-safe-scan-lists (from count depth) 419 (defmacro c-safe-scan-lists (from count depth)
420 "Like `scan-lists' but returns nil instead of signalling errors. 420 "Like `scan-lists' but returns nil instead of signaling errors.
421 421
422 This function does not do any hidden buffer changes." 422 This function does not do any hidden buffer changes."
423 (if (featurep 'xemacs) 423 (if (featurep 'xemacs)
424 `(scan-lists ,from ,count ,depth nil t) 424 `(scan-lists ,from ,count ,depth nil t)
425 `(c-safe (scan-lists ,from ,count ,depth)))) 425 `(c-safe (scan-lists ,from ,count ,depth))))