Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b32d1614
Commit
b32d1614
authored
Jul 01, 2010
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ruler-mode.el (ruler--save-header-line-format): Fix typos.
parent
c1ef4455
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/ruler-mode.el
lisp/ruler-mode.el
+7
-8
No files found.
lisp/ChangeLog
View file @
b32d1614
2010-07-01 Chong Yidong <cyd@stupidchicken.com>
* ruler-mode.el (ruler--save-header-line-format): Fix typos.
2010-06-30 Chong Yidong <cyd@stupidchicken.com>
* frame.el (make-frame): Add default-frame-alist to the PARAMETERS
...
...
lisp/ruler-mode.el
View file @
b32d1614
...
...
@@ -557,15 +557,14 @@ Use the command `ruler-mode' to change this variable.")
(
defun
ruler--save-header-line-format
()
"Install the header line format for Ruler mode.
Unless
if
Ruler mode is already enabled, save the old header line
Unless Ruler mode is already enabled, save the old header line
format first."
(
when
enable
(
when
(
and
(
not
ruler-mode
)
(
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
)))
(
when
(
and
(
not
ruler-mode
)
(
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
))
;;;###autoload
(
define-minor-mode
ruler-mode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment