Fix debbugs#16971
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 17 Mar 2014 06:22:58 +0000 (08:22 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 17 Mar 2014 06:22:58 +0000 (08:22 +0200)
commit4f8aeb84b61f3be4eb0b5a7e3be0f7f8e9d5200e
treecb6bb5a1ebe11f0b7f2c74041448c5d532f7e505
parentdd72e25cb2561f180437db5e84b08dd7670809ae
Fix debbugs#16971

* lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Set
`comment-use-syntax' to t to avoid the unnecessary runtime check.
Set `comment-start-skip' to a simpler value that doesn't try to
check if the semicolon is escaped (this is handled by
`syntax-ppss' now).

* lisp/progmodes/scheme.el (scheme-mode-variables): Same.
lisp/ChangeLog
lisp/emacs-lisp/lisp-mode.el
lisp/progmodes/scheme.el