diff options
author | David Reitter <david.reitter@gmail.com> | 2008-10-20 02:23:01 +0000 |
---|---|---|
committer | David Reitter <david.reitter@gmail.com> | 2008-10-20 02:23:01 +0000 |
commit | eb033d40ca4bc829a17449cd20d168dbc169265a (patch) | |
tree | c5c99ef5bd4b330f5dc621d4f37ea2c7b020b267 /lisp/info.el | |
parent | 7eba727fd204d59945ba0f939c982f2e82af0ba9 (diff) | |
download | emacs-eb033d40ca4bc829a17449cd20d168dbc169265a.tar.gz |
Info-mode: Do not remove an existing header line if `Info-use-header-line' is nil.
Diffstat (limited to 'lisp/info.el')
-rw-r--r-- | lisp/info.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/info.el b/lisp/info.el index 1d8460ee6aa..78e3f2ef70c 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -3512,10 +3512,9 @@ Advanced commands: (make-local-variable 'Info-history) (make-local-variable 'Info-history-forward) (make-local-variable 'Info-index-alternatives) - (setq header-line-format - (if Info-use-header-line - '(:eval (get-text-property (point-min) 'header-line)) - nil)) ; so the header line isn't displayed + (if Info-use-header-line ; do not override global header lines + (setq header-line-format + '(:eval (get-text-property (point-min) 'header-line)))) (set (make-local-variable 'tool-bar-map) info-tool-bar-map) ;; This is for the sake of the invisible text we use handling titles. (make-local-variable 'line-move-ignore-invisible) |