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

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

Re: Help improving an elisp function


From: Thien-Thi Nguyen
Subject: Re: Help improving an elisp function
Date: Fri, 03 Apr 2015 07:20:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Glen Stark <mail@glenstark.net>
() Thu, 02 Apr 2015 14:54:59 GMT

     (insert (concat "\n#include \""
                     (file-name-nondirectory
                      gas-cpp-include-path)
                     "\"\n"))

You can replace ‘(insert (concat STRING1 ... STRINGN))’ with
‘(insert STRING1 ... STRINGN)’.  This you can discover for
yourself by typing ‘C-h f insert RET’ and noting "&rest ARGS" in
the resulting *Help* buffer.

-- 
Thien-Thi Nguyen -----------------------------------------------
  (if you're human and you know it) read my lisp:
    (defun responsep (type via)
      (case type
        (technical (eq 'mailing-list via))
        ...))
---------------------------------------------- GPG key: 4C807502

Attachment: signature.asc
Description: PGP signature


reply via email to

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