New answers tagged

0

I would just leverage python for this. (shell-command-to-string (format "python -c \"import inspect; print(inspect.cleandoc('''%s'''))\"" (let ((source-file "test.py")) (concat " import os import sys def _dotemacs_shellsend_setup(): ...


3

There's no predefined function for this, as far as I know. It's wrong to speak of the key associated with a given value. There can be more than one key with the same value. I use these functions (defined in apu.el): (defun apu-get-hash-keys (value hash-table &optional value-test-function) "Return a list of keys associated with VALUE in HASH-...


Top 50 recent answers are included