comparison lisp/info.el @ 31798:460c3cd7b368

Use the correct capitalization when making Info-mode and Info-edit-mode `special' modes.
author Miles Bader <miles@gnu.org>
date Thu, 21 Sep 2000 04:43:28 +0000
parents e3d01cb9b018
children 55dd93c0d728
comparison
equal deleted inserted replaced
31797:b9e108c1c1bf 31798:460c3cd7b368
2076 ;; Try to avoid entering infinite beep mode in case of errors. 2076 ;; Try to avoid entering infinite beep mode in case of errors.
2077 (error (ding)))) 2077 (error (ding))))
2078 2078
2079 2079
2080 ;; Info mode is suitable only for specially formatted data. 2080 ;; Info mode is suitable only for specially formatted data.
2081 (put 'info-mode 'mode-class 'special) 2081 (put 'Info-mode 'mode-class 'special)
2082 2082
2083 (defun Info-mode () 2083 (defun Info-mode ()
2084 "Info mode provides commands for browsing through the Info documentation tree. 2084 "Info mode provides commands for browsing through the Info documentation tree.
2085 Documentation in Info is divided into \"nodes\", each of which discusses 2085 Documentation in Info is divided into \"nodes\", each of which discusses
2086 one topic and contains references to other nodes which discuss related 2086 one topic and contains references to other nodes which discuss related
2176 nil 2176 nil
2177 (setq Info-edit-map (nconc (make-sparse-keymap) text-mode-map)) 2177 (setq Info-edit-map (nconc (make-sparse-keymap) text-mode-map))
2178 (define-key Info-edit-map "\C-c\C-c" 'Info-cease-edit)) 2178 (define-key Info-edit-map "\C-c\C-c" 'Info-cease-edit))
2179 2179
2180 ;; Info-edit mode is suitable only for specially formatted data. 2180 ;; Info-edit mode is suitable only for specially formatted data.
2181 (put 'info-edit-mode 'mode-class 'special) 2181 (put 'Info-edit-mode 'mode-class 'special)
2182 2182
2183 (defun Info-edit-mode () 2183 (defun Info-edit-mode ()
2184 "Major mode for editing the contents of an Info node. 2184 "Major mode for editing the contents of an Info node.
2185 Like text mode with the addition of `Info-cease-edit' 2185 Like text mode with the addition of `Info-cease-edit'
2186 which returns to Info mode for browsing. 2186 which returns to Info mode for browsing.