Juri Linkov wrote:
>>  Originally
>>    // Use super-foo
>>
>>  Type C-'
>>    // Use super-‘foo’
>>
>>  Some seconds later, after more typing
>>    // Use super-‘foo’ to bar LAX (laughter)
>>
>>  Type C-u 2 C-'
>>    // Use super-‘foo’ to bar ‘LAX (laughter)’
> 
> (add-to-list 'insert-pair-alist '(?\' ?\‘ ?\’))
> (global-set-key [(meta ?')] 'insert-pair)
> 

Hi,

think it's better to discriminate it from common singlequote,
calling the new function

left-right-singlequote

and writing instead just

add-to-list 'insert-pair-alist '(?\‘ ?\’)

BTW extended

https://code.launchpad.net/s-x-emacs-werkstatt/

with a respective set. Thanks Thi inspiring it.

Andreas


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

Reply via email to