[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/ruler-mode.el, v [EMACS_22_BASE]
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/ruler-mode.el, v [EMACS_22_BASE] |
Date: |
Sat, 23 Jun 2007 10:45:02 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Juanma Barranquero <lektu> 07/06/23 10:45:02
Index: ruler-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ruler-mode.el,v
retrieving revision 1.28
retrieving revision 1.28.2.1
diff -u -b -r1.28 -r1.28.2.1
--- ruler-mode.el 14 Jan 2007 03:49:17 -0000 1.28
+++ ruler-mode.el 23 Jun 2007 10:45:01 -0000 1.28.2.1
@@ -29,7 +29,7 @@
;;; Commentary:
;; This library provides a minor mode to display a ruler in the header
-;; line. It works only on Emacs 21.
+;; line. It works from Emacs 21 onwards.
;;
;; You can use the mouse to change the `fill-column' `comment-column',
;; `goal-column', `window-margins' and `tab-stop-list' settings:
@@ -562,7 +562,8 @@
(progn
;; When `ruler-mode' is on save previous header line format
;; and install the ruler header line format.
- (when (local-variable-p 'header-line-format)
+ (when (and (local-variable-p 'header-line-format)
+ (not (local-variable-p 'ruler-mode-header-line-format-old)))
(set (make-local-variable 'ruler-mode-header-line-format-old)
header-line-format))
(setq header-line-format ruler-mode-header-line-format)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/ruler-mode.el, v [EMACS_22_BASE],
Juanma Barranquero <=