emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116440: Mention read-regexp in doc of functions tha


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116440: Mention read-regexp in doc of functions that use it
Date: Fri, 14 Feb 2014 07:00:05 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116440
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2014-02-13 22:59:24 -0800
message:
  Mention read-regexp in doc of functions that use it
  
  * lisp/dired.el (dired-read-regexp):
  * lisp/faces.el (list-faces-display):
  * lisp/misearch.el (multi-isearch-read-matching-buffers)
  (multi-isearch-read-matching-files):
  * lisp/play/cookie1.el (cookie-apropos):
  * lisp/progmodes/grep.el (grep-read-regexp): Doc fixes.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/dired.el                  dired.el-20091113204419-o5vbwnq5f7feedwu-482
  lisp/faces.el                  faces.el-20091113204419-o5vbwnq5f7feedwu-562
  lisp/misearch.el               
misearch.el-20091113204419-o5vbwnq5f7feedwu-8754
  lisp/play/cookie1.el           cookie1.el-20091113204419-o5vbwnq5f7feedwu-559
  lisp/progmodes/grep.el         grep.el-20091113204419-o5vbwnq5f7feedwu-2948
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-02-14 06:55:59 +0000
+++ b/lisp/ChangeLog    2014-02-14 06:59:24 +0000
@@ -1,5 +1,12 @@
 2014-02-14  Glenn Morris  <address@hidden>
 
+       * dired.el (dired-read-regexp):
+       * faces.el (list-faces-display):
+       * misearch.el (multi-isearch-read-matching-buffers)
+       (multi-isearch-read-matching-files):
+       * play/cookie1.el (cookie-apropos):
+       * progmodes/grep.el (grep-read-regexp): Doc fixes.
+
        * textmodes/remember.el (remember): Use frameset-to-register
        rather than frame-configuration-to-register.
 

=== modified file 'lisp/dired.el'
--- a/lisp/dired.el     2014-02-11 11:16:38 +0000
+++ b/lisp/dired.el     2014-02-14 06:59:24 +0000
@@ -3284,6 +3284,7 @@
   "History list of regular expressions used in Dired commands.")
 
 (defun dired-read-regexp (prompt &optional default history)
+  "Read a regexp using `read-regexp'."
   (read-regexp prompt default (or history 'dired-regexp-history)))
 
 (defun dired-mark-files-regexp (regexp &optional marker-char)

=== modified file 'lisp/faces.el'
--- a/lisp/faces.el     2014-02-10 01:34:22 +0000
+++ b/lisp/faces.el     2014-02-14 06:59:24 +0000
@@ -1260,7 +1260,7 @@
 
 If REGEXP is non-nil, list only those faces with names matching
 this regular expression.  When called interactively with a prefix
-arg, prompt for a regular expression."
+argument, prompt for a regular expression using `read-regexp'."
   (interactive (list (and current-prefix-arg
                           (read-regexp "List faces matching regexp"))))
   (let ((all-faces (zerop (length regexp)))

=== modified file 'lisp/misearch.el'
--- a/lisp/misearch.el  2014-01-01 07:43:34 +0000
+++ b/lisp/misearch.el  2014-02-14 06:59:24 +0000
@@ -239,7 +239,8 @@
     (nreverse bufs)))
 
 (defun multi-isearch-read-matching-buffers ()
-  "Return a list of buffers whose names match specified regexp."
+  "Return a list of buffers whose names match specified regexp.
+Uses `read-regexp' to read the regexp."
   ;; Most code from `multi-occur-in-matching-buffers'
   ;; and `kill-matching-buffers'.
   (let ((bufregexp
@@ -322,8 +323,10 @@
       (add-to-list 'files file))
     (nreverse files)))
 
+;; A regexp is not the same thing as a file glob - does this matter?
 (defun multi-isearch-read-matching-files ()
-  "Return a list of files whose names match specified wildcard."
+  "Return a list of files whose names match specified wildcard.
+Uses `read-regexp' to read the wildcard."
   ;; Most wildcard code from `find-file-noselect'.
   (let ((filename (read-regexp "Search in files whose names match wildcard")))
     (when (and filename

=== modified file 'lisp/play/cookie1.el'
--- a/lisp/play/cookie1.el      2014-02-10 01:34:22 +0000
+++ b/lisp/play/cookie1.el      2014-02-14 06:59:24 +0000
@@ -187,6 +187,7 @@
 
 (defun cookie-apropos (regexp phrase-file &optional display)
   "Return a list of all entries matching REGEXP from PHRASE-FILE.
+Interactively, uses `read-regexp' to read REGEXP.
 Interactively, PHRASE-FILE defaults to `cookie-file', unless that
 is nil or a prefix argument is used.
 If called interactively, or if DISPLAY is non-nil, display a list of matches."

=== modified file 'lisp/progmodes/grep.el'
--- a/lisp/progmodes/grep.el    2014-02-10 06:44:49 +0000
+++ b/lisp/progmodes/grep.el    2014-02-14 06:59:24 +0000
@@ -819,7 +819,7 @@
                 t t command))))))
 
 (defun grep-read-regexp ()
-  "Read regexp arg for interactive grep."
+  "Read regexp arg for interactive grep using `read-regexp'."
   (read-regexp "Search for" 'grep-tag-default 'grep-regexp-history))
 
 (defun grep-read-files (regexp)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]