]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/strings.texi
Documentation fixes re quotes
[gnu-emacs] / doc / lispref / strings.texi
index 08e8e877a9f1d077d8d2433df48752fd526ef286..d882be485effb36bb7e40967ea401782eef95a3f 100644 (file)
@@ -969,12 +969,12 @@ is not truncated.
 
 @example
 @group
-(format "The word '%7s' has %d letters in it."
+(format "The word ‘%7s’ has %d letters in it."
         "foo" (length "foo"))
-     @result{} "The word '    foo' has 3 letters in it."
-(format "The word '%7s' has %d letters in it."
+     @result{} "The word ‘    foo’ has 3 letters in it."
+(format "The word ‘%7s’ has %d letters in it."
         "specification" (length "specification"))
-     @result{} "The word 'specification' has 13 letters in it."
+     @result{} "The word ‘specification’ has 13 letters in it."
 @end group
 @end example
 
@@ -1013,12 +1013,12 @@ ignored.
 (format "%06d is padded on the left with zeros" 123)
      @result{} "000123 is padded on the left with zeros"
 
-(format "'%-6d' is padded on the right" 123)
-     @result{} "'123   ' is padded on the right"
+(format "‘%-6d’ is padded on the right" 123)
+     @result{} "‘123   ’ is padded on the right"
 
-(format "The word '%-7s' actually has %d letters in it."
+(format "The word ‘%-7s’ actually has %d letters in it."
         "foo" (length "foo"))
-     @result{} "The word 'foo    ' actually has 3 letters in it."
+     @result{} "The word ‘foo    ’ actually has 3 letters in it."
 @end group
 @end example