]> code.delx.au - gnu-emacs/commitdiff
Expunge "allow" + infinitive from source and doc, part 2.
authorAlan Mackenzie <acm@muc.de>
Mon, 25 Jan 2016 12:35:15 +0000 (12:35 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 25 Jan 2016 12:35:15 +0000 (12:35 +0000)
Do the same for "permit", "enable", "prevent", and (where appropriate)
"require".

doc/misc/reftex.texi:
doc/misc/url.texi:
lib/get-permissions.c:
lib/strftime.c:
lisp/org/org-element.el:
lisp/org/org-mobile.el:
lisp/textmodes/reftex-vars.el:
src/bidi.c:
src/emacs.c:
src/xdisp.c:
test/etags/c-src/emacs/src/lisp.h:

Expunge the likes of "This allows to do something" from the above files.

doc/misc/reftex.texi
doc/misc/url.texi
lib/get-permissions.c
lib/strftime.c
lisp/org/org-element.el
lisp/org/org-mobile.el
lisp/textmodes/reftex-vars.el
src/bidi.c
src/emacs.c
src/xdisp.c
test/etags/c-src/emacs/src/lisp.h

index dccb2f2a4e08965e9fba82af6600f7c3bc783b9d..ff7011c5a76772c75770eb9fe46b2ec024cf5107 100644 (file)
@@ -5213,7 +5213,7 @@ mouse    @r{Highlighting is mouse driven.}
 both     @r{Both cursor and mouse trigger highlighting.}
 @end example
 
-Changing this variable requires to rebuild the selection and *toc*
+Changing this variable requires rebuilding the selection and *toc*
 buffers to become effective (keys @kbd{g} or @kbd{r}).
 @end defopt
 
index acdad6b0d101d368977a7e7b2ac33ba0e428ab1a..c46859968a2e40bc98afa91fc5c3a62ed106e0b6 100644 (file)
@@ -423,7 +423,7 @@ the directory specified by @code{url-configuration-directory}.
 @end defopt
 
 @defopt url-cookie-confirmation
-Specifies whether confirmation is require to accept cookies.
+Specifies whether confirmation is required to accept cookies.
 @end defopt
 
 @defopt url-cookie-multiple-line
index 8c70df1984ce34705e488e4418304b652e24b3eb..bf40dad7801a0ec8d7f6aa6201d3c7c71c0706b8 100644 (file)
@@ -102,7 +102,7 @@ get_permissions (const char *name, int desc, mode_t mode,
      There is an API
        pathconf (name, _PC_ACL_ENABLED)
        fpathconf (desc, _PC_ACL_ENABLED)
-     that allows to determine which of the two kinds of ACLs is supported
+     that allows us to determine which of the two kinds of ACLs is supported
      for the given file.  But some file systems may implement this call
      incorrectly, so better not use it.
      When fetching the source ACL, we simply fetch both ACL types.
index 10d3eb4ef318d39617226e8e324a1ba08ed7cebf..4e65190386d5ea311c3f7c2869ef7fc9328b2077 100644 (file)
@@ -641,7 +641,7 @@ strftime_case_ (bool upcase, STREAM_OR_CHAR_T *s,
           break;
         }
 
-      /* As a GNU extension we allow to specify the field width.  */
+      /* As a GNU extension we allow the field width to be specified.  */
       if (ISDIGIT (*f))
         {
           width = 0;
index 91b1b007607da2f9969d09db9077ccd43044ca82..a19f52c7923d6f57ec7c65dfde76459a7462f56c 100644 (file)
@@ -487,7 +487,7 @@ Return parent element."
 ;; cannot contain other greater elements of their own type.
 ;;
 ;; Beside implementing a parser and an interpreter, adding a new
-;; greater element requires to tweak `org-element--current-element'.
+;; greater element requires tweaking `org-element--current-element'.
 ;; Moreover, the newly defined type must be added to both
 ;; `org-element-all-elements' and `org-element-greater-elements'.
 
index b11f4448a8d94ed06d92b307d00cc07526b18f9c..f535390790f0365954871037dfe9f914f9bf7cdb 100644 (file)
@@ -88,7 +88,7 @@ org-agenda-text-search-extra-files
 Encryption uses AES-256, with a password given in
 `org-mobile-encryption-password'.
 When nil, plain files are kept on the server.
-Turning on encryption requires to set the same password in the MobileOrg
+Turning on encryption requires setting the same password in the MobileOrg
 application.  Before turning this on, check of MobileOrg does already
 support it - at the time of this writing it did not yet."
   :group 'org-mobile
index c725d9f450ed7ffa6f233d78c7931442a522188e..d1a6b87da2e4b6834e10565277fe39e55bf813df 100644 (file)
@@ -1905,7 +1905,7 @@ instead or as well.  The variable may have one of these values:
    mouse    Highlighting is mouse driven.
    both     Both cursor and mouse trigger highlighting.
 
-Changing this variable requires to rebuild the selection and *toc* buffers
+Changing this variable requires rebuilding the selection and *toc* buffers
 to become effective (keys `g' or `r')."
   :group 'reftex-fontification-configurations
   :type '(choice
index 7f5d16b39ed0fedc0820987917faf616ae68427a..9b714543dd2580b78d74afc8c32f1a42d7f769b5 100644 (file)
@@ -3001,7 +3001,7 @@ bidi_resolve_neutral (struct bidi_it *bidi_it)
        {
          /* Arrrgh!!  The UAX#9 algorithm is too deeply entrenched in
             the assumption of batch-style processing; see clauses W4,
-            W5, and especially N1, which require to look far forward
+            W5, and especially N1, which require looking far forward
             (as well as back) in the buffer/string.  May the fleas of
             a thousand camels infest the armpits of those who design
             supposedly general-purpose algorithms by looking at their
index 41113f843315dd230a3f61a6f44b3f9d063ec09d..89d8ca784aea96bd6503ceb20036c6e432e2ecba 100644 (file)
@@ -2188,7 +2188,7 @@ synchronize_locale (int category, Lisp_Object *plocale, Lisp_Object desired_loca
     {
       *plocale = desired_locale;
 #ifdef WINDOWSNT
-      /* Changing categories like LC_TIME usually requires to specify
+      /* Changing categories like LC_TIME usually requires specifying
         an encoding suitable for the new locale, but MS-Windows's
         'setlocale' will only switch the encoding when LC_ALL is
         specified.  So we ignore CATEGORY, use LC_ALL instead, and
index 5185e77732407c059d68f4a84c7d2ed8beb48ccd..78fddd60fc09c13de1a264bac72587f0c1babc88 100644 (file)
@@ -13139,7 +13139,7 @@ text_outside_line_unchanged_p (struct window *w,
         beginning of a paragraph, before the first strong directional
         character, can change the base direction of the paragraph (unless
         the buffer specifies a fixed paragraph direction), which will
-        require to redisplay the whole paragraph.  It might be worthwhile
+        require redisplaying the whole paragraph.  It might be worthwhile
         to find the paragraph limits and widen the range of redisplayed
         lines to that, but for now just give up this optimization.  */
       if (!NILP (BVAR (XBUFFER (w->contents), bidi_display_reordering))
@@ -18067,7 +18067,7 @@ try_window_id (struct window *w)
      beginning of a paragraph, before the first strong directional
      character, can change the base direction of the paragraph (unless
      the buffer specifies a fixed paragraph direction), which will
-     require to redisplay the whole paragraph.  It might be worthwhile
+     require redisplaying the whole paragraph.  It might be worthwhile
      to find the paragraph limits and widen the range of redisplayed
      lines to that, but for now just give up this optimization and
      redisplay from scratch.  */
index 0fb068d1a2c3c7df12cbc7e6b55b01131a363c2f..96c52c0469147179e8f2db6bc57bbbf7e656213c 100644 (file)
@@ -2005,7 +2005,7 @@ struct Lisp_Marker
   /* For markers that point somewhere,
      this is used to chain of all the markers in a given buffer.  */
   /* We could remove it and use an array in buffer_text instead.
-     That would also allow to preserve it ordered.  */
+     That would also allow us to preserve it ordered.  */
   struct Lisp_Marker *next;
   /* This is the char position where the marker points.  */
   ptrdiff_t charpos;