I suggest the following small changes to the Changelog (mainly for the
benefit of people who might want to find out when the optional arg for
locate was introduced), as well as the adding of an additional comment
to locate.el, to make clear that the use of `current-prefix-arg' in
`locate-prompt-for-search-string' is legitimate.

These changes are so trivial that I thought of just committing them,
but I am unsure about the exact procedure, given the pretest, which is
why I post them.

===File ~/changelog-diff====================================
*** ChangeLog   23 Apr 2007 11:17:11 -0500      1.11042
--- ChangeLog   23 Apr 2007 11:46:01 -0500      
***************
*** 8,16 ****
  2007-04-23  Luc Teirlinck  <[EMAIL PROTECTED]>
  
        * locate.el (locate-local-prompt): New var.
        (locate-prompt-for-search-string): New function.
!       (locate): Make locate-local-prompt buffer-local.  Use
!       locate-prompt-for-search-string.
        (locate-with-filter): New optional arg.  Use
        locate-prompt-for-search-string.
        (locate-update): Bind locate-prompt-for-command.
--- 8,17 ----
  2007-04-23  Luc Teirlinck  <[EMAIL PROTECTED]>
  
        * locate.el (locate-local-prompt): New var.
+       (locate-prompt-for-command): Doc fix.
        (locate-prompt-for-search-string): New function.
!       (locate): New optional arg.  Make locate-local-prompt
!       buffer-local.  Use locate-prompt-for-search-string.
        (locate-with-filter): New optional arg.  Use
        locate-prompt-for-search-string.
        (locate-update): Bind locate-prompt-for-command.
============================================================

===File ~/locate-diff=======================================
*** locate.el   23 Apr 2007 11:17:12 -0500      1.43
--- locate.el   23 Apr 2007 11:40:14 -0500      
***************
*** 245,250 ****
--- 245,251 ----
         (skip-chars-backward "." pt)
         (point)))))
  
+ ;; Function for use in interactive declarations.
  (defun locate-prompt-for-search-string ()
    (if (or (and current-prefix-arg
               (not locate-prompt-for-command))
============================================================


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to