diff lisp/ediff-help.el @ 26263:4f315ca65976

*** empty log message ***
author Michael Kifer <kifer@cs.stonybrook.edu>
date Mon, 01 Nov 1999 07:16:15 +0000
parents 0b9d9cbf3cd4
children 42f9a58e0fc4
line wrap: on
line diff
--- a/lisp/ediff-help.el	Mon Nov 01 02:48:57 1999 +0000
+++ b/lisp/ediff-help.el	Mon Nov 01 07:16:15 1999 +0000
@@ -65,7 +65,7 @@
     ~ -rotate buffers|     m -wide display       |
 "
   "Help message usually used for 3-way comparison.
-Normally, not a user option. See `ediff-help-message' for details.")
+Normally, not a user option.  See `ediff-help-message' for details.")
   
 (defconst ediff-long-help-message-compare2
   "
@@ -79,7 +79,7 @@
     ~ -swap variants |     m -wide display       |  
 "
   "Help message usually used for 2-way comparison.
-Normally, not a user option. See `ediff-help-message' for details.")
+Normally, not a user option.  See `ediff-help-message' for details.")
   
 (defconst ediff-long-help-message-narrow2
   "
@@ -93,7 +93,7 @@
     ~ -swap variants |     m -wide display       |  
 "
   "Help message when comparing windows or regions line-by-line.
-Normally, not a user option. See `ediff-help-message' for details.")
+Normally, not a user option.  See `ediff-help-message' for details.")
   
 (defconst ediff-long-help-message-word-mode
   "
@@ -107,7 +107,7 @@
     ~ -swap variants |     m -wide display       |  
 "
   "Help message when comparing windows or regions word-by-word.
-Normally, not a user option. See `ediff-help-message' for details.")
+Normally, not a user option.  See `ediff-help-message' for details.")
   
 (defconst ediff-long-help-message-merge
   "
@@ -119,37 +119,38 @@
   v/V -scroll up/dn  |     X -read-only in buf X | wx -save buf X              
   </> -scroll lt/rt  |     m -wide display       | wd -save diff output        
     ~ -swap variants |     s -shrink window C    |  / -show ancestor buff      
-                     |     $ -show clashes only  |  & -merge w/new default     
+                     |  $$ -show clashes only    |  & -merge w/new default     
+                     |  $* -skip changed regions |
 "
-  "Help message during merging.
-Normally, not a user option. See `ediff-help-message' for details.")
+  "Help message for merge sessions.
+Normally, not a user option.  See `ediff-help-message' for details.")
 
 ;; The actual long help message.
 (ediff-defvar-local ediff-long-help-message ""
-  "Normally, not a user option. See `ediff-help-message' for details.")
+  "Normally, not a user option.  See `ediff-help-message' for details.")
   
 (defconst ediff-brief-message-string
-  "? -quick help "
+  " ? -quick help "
   "Contents of the brief help message.")
 ;; The actual brief help message
 (ediff-defvar-local ediff-brief-help-message ""
-  "Normally, not a user option. See `ediff-help-message' for details.")
+  "Normally, not a user option.  See `ediff-help-message' for details.")
   
 (ediff-defvar-local ediff-brief-help-message-function nil
   "The brief help message that the user can customize.
 If the user sets this to a parameter-less function, Ediff will use it to
-produce the brief help message. This function must return a string.")
+produce the brief help message.  This function must return a string.")
 (ediff-defvar-local ediff-long-help-message-function nil
   "The long help message that the user can customize.
 See `ediff-brief-help-message-function' for more.")
 
 (defvar ediff-use-long-help-message nil
-  "*If t, Ediff displays a long help message. Short help message otherwise.")
+  "*If t, Ediff displays a long help message.  Short help message otherwise.")
 
 ;; The actual help message.
 (ediff-defvar-local ediff-help-message ""
   "The actual help message.
-Normally, the user shouldn't touch this. However, if you want Ediff to
+Normally, the user shouldn't touch this.  However, if you want Ediff to
 start up with different help messages for different jobs, you can change
 the value of this variable and the variables `ediff-help-message-*' in
 `ediff-startup-hook'.") 
@@ -188,12 +189,12 @@
     (if ediff-xemacs-p
 	(setq overl (extent-at pos (current-buffer) 'ediff-help-info)
 	      cmd   (ediff-overlay-get overl 'ediff-help-info))
-      (setq cmd (car (mapcar (function (lambda (elt)
-					 (overlay-get elt 'ediff-help-info)))
+      (setq cmd (car (mapcar (lambda (elt)
+			       (overlay-get elt 'ediff-help-info))
 			     (overlays-at pos)))))
     
     (if (not (stringp cmd))
-	(error "Hmm... I don't see an Ediff command around here..."))
+	(error "Hmm...  I don't see an Ediff command around here..."))
     
     (ediff-documentation "Quick Help Commands")
     
@@ -231,7 +232,8 @@
 	    ((string= cmd "z/q") (re-search-forward "^`z'"))
 	    ((string= cmd "%") (re-search-forward "^`%'"))
 	    ((string= cmd "C-l") (re-search-forward "^`C-l'"))
-	    ((string= cmd "$") (re-search-forward "^`\\$'"))
+	    ((string= cmd "$$") (re-search-forward "^`\\$\\$'"))
+	    ((string= cmd "$*") (re-search-forward "^`\\$\\*'"))
 	    ((string= cmd "/") (re-search-forward "^`/'"))
 	    ((string= cmd "&") (re-search-forward "^`&'"))
 	    ((string= cmd "s") (re-search-forward "^`s'"))
@@ -309,5 +311,9 @@
 			     ediff-brief-help-message))
   (run-hooks 'ediff-display-help-hook))
 
+(defun ediff-customize ()
+  (interactive)
+  (customize-group "ediff"))
+
 
 ;;; ediff-help.el ends here