[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp ChangeLog bs.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] emacs/lisp ChangeLog bs.el |
Date: |
Tue, 13 Oct 2009 01:13:13 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Juanma Barranquero <lektu> 09/10/13 01:13:12
Modified files:
lisp : ChangeLog bs.el
Log message:
* bs.el (bs-mode): Fix last change. (`revert-buffer-function'
should be automatically buffer-local, but isn't.)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16413&r2=1.16414
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/bs.el?cvsroot=emacs&r1=1.52&r2=1.53
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16413
retrieving revision 1.16414
diff -u -b -r1.16413 -r1.16414
--- ChangeLog 12 Oct 2009 21:04:15 -0000 1.16413
+++ ChangeLog 13 Oct 2009 01:13:08 -0000 1.16414
@@ -1,3 +1,8 @@
+2009-10-13 Juanma Barranquero <address@hidden>
+
+ * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
+ should be automatically buffer-local, but isn't.)
+
2009-10-12 Sam Steingold <address@hidden>
* progmodes/compile.el (compilation-next-error-function): Fix the
Index: bs.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/bs.el,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- bs.el 12 Oct 2009 04:57:51 -0000 1.52
+++ bs.el 13 Oct 2009 01:13:12 -0000 1.53
@@ -664,8 +664,8 @@
show-trailing-whitespace nil
font-lock-global-modes '(not bs-mode)
font-lock-defaults '(bs-mode-font-lock-keywords t)
- font-lock-verbose nil
- revert-buffer-function 'bs-refresh)
+ font-lock-verbose nil)
+ (set (make-local-variable 'revert-buffer-function) 'bs-refresh)
(add-hook 'window-size-change-functions 'bs--track-window-changes)
(add-hook 'kill-buffer-hook 'bs--remove-hooks nil t)
(add-hook 'change-major-mode-hook 'bs--remove-hooks nil t))