bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16292: 24.3.50; info docs now contain single straight quotes instead


From: Juri Linkov
Subject: bug#16292: 24.3.50; info docs now contain single straight quotes instead of `'
Date: Sat, 03 May 2014 12:27:23 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> I want something simple, evaluable from Info mode.

(save-excursion
  (save-restriction
    (widen)
    (goto-char (point-min))
    (if (and (re-search-forward
              "makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
              (line-beginning-position 4) t)
             (version< (match-string 1) "5.0"))
        'backquote
      (if (string-match-p "utf-8" (symbol-name buffer-file-coding-system))
          'curly-quote
        'quote))))





reply via email to

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