comparison lisp/diff-mode.el @ 66130:a6131b478689

(diff-mode): Doc fix.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sun, 16 Oct 2005 21:47:37 +0000
parents 0cf1480347a9
children 3bd95f4f2941 0ca0d9181b5e
comparison
equal deleted inserted replaced
66129:b6299ce0d13f 66130:a6131b478689
965 When the buffer is read-only, the ESC prefix is not necessary. 965 When the buffer is read-only, the ESC prefix is not necessary.
966 If you edit the buffer manually, diff-mode will try to update the hunk 966 If you edit the buffer manually, diff-mode will try to update the hunk
967 headers for you on-the-fly. 967 headers for you on-the-fly.
968 968
969 You can also switch between context diff and unified diff with \\[diff-context->unified], 969 You can also switch between context diff and unified diff with \\[diff-context->unified],
970 or vice versa with \\[diff-unified->context] and you can also revert the direction of 970 or vice versa with \\[diff-unified->context] and you can also reverse the direction of
971 a diff with \\[diff-reverse-direction]." 971 a diff with \\[diff-reverse-direction]."
972 (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults) 972 (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults)
973 (set (make-local-variable 'outline-regexp) diff-outline-regexp) 973 (set (make-local-variable 'outline-regexp) diff-outline-regexp)
974 (set (make-local-variable 'imenu-generic-expression) 974 (set (make-local-variable 'imenu-generic-expression)
975 diff-imenu-generic-expression) 975 diff-imenu-generic-expression)