* textmodes/css-mode.el (css-backward-sexp): Stop once
it reaches the beginning of the buffer. (Bug#1949)
This commit is contained in:
parent
ae4c27d26f
commit
9e3fd593e8
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-01-18 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* textmodes/css-mode.el (css-backward-sexp): Stop once it reaches
|
||||
the beginning of the buffer. (Bug#1949)
|
||||
|
||||
2009-01-18 Markus Triska <markus.triska@gmx.at>
|
||||
|
||||
* linum.el (linum-update-window): Use `delq' instead of `delete';
|
||||
|
|
|
@ -373,7 +373,7 @@
|
|||
(save-excursion
|
||||
(forward-comment (- (point-max)))
|
||||
;; FIXME: We should also skip punctuation.
|
||||
(not (memq (char-before) '(?\; ?\{)))))))))))
|
||||
(not (or (bobp) (memq (char-before) '(?\; ?\{))))))))))))
|
||||
|
||||
(defun css-forward-sexp (n)
|
||||
(let ((forward-sexp-function nil))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue