[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/view.el
From: |
Romain Francoise |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/view.el |
Date: |
Tue, 29 Nov 2005 05:53:31 -0500 |
Index: emacs/lisp/view.el
diff -c emacs/lisp/view.el:1.79 emacs/lisp/view.el:1.80
*** emacs/lisp/view.el:1.79 Fri Oct 28 09:41:21 2005
--- emacs/lisp/view.el Tue Nov 29 10:53:29 2005
***************
*** 93,98 ****
--- 93,104 ----
:type 'boolean
:group 'view)
+ (defcustom view-inhibit-help-message nil
+ "*Non-nil inhibits the help message showed upon entering View mode."
+ :type 'boolean
+ :group 'view
+ :version "22.1")
+
;;;###autoload
(defvar view-mode nil
"Non-nil if View mode is enabled.
***************
*** 516,524 ****
(unless view-mode ; Do nothing if already in view mode.
(view-mode-enable)
(force-mode-line-update)
! (message "%s"
! (substitute-command-keys "\
! View mode: type \\[help-command] for help, \\[describe-mode] for commands,
\\[View-quit] to quit."))))
(defun view-mode-exit (&optional return-to-alist exit-action all-win)
"Exit View mode in various ways, depending on optional arguments.
--- 522,531 ----
(unless view-mode ; Do nothing if already in view mode.
(view-mode-enable)
(force-mode-line-update)
! (unless view-inhibit-help-message
! (message "%s"
! (substitute-command-keys "\
! View mode: type \\[help-command] for help, \\[describe-mode] for commands,
\\[View-quit] to quit.")))))
(defun view-mode-exit (&optional return-to-alist exit-action all-win)
"Exit View mode in various ways, depending on optional arguments.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/view.el,
Romain Francoise <=