This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; cl-lib.el --- Common Lisp extensions for Emacs -*- lexical-binding: t -*- | |
;; Copyright (C) 1993, 2001-2020 Free Software Foundation, Inc. | |
;; Author: Dave Gillespie <[email protected]> | |
;; Version: 1.0 | |
;; Keywords: extensions | |
;; This file is part of GNU Emacs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun schellj/try-insert-test-image (r g b) | |
"Insert XPM with colors r g b" | |
(ignore-errors | |
(insert-image (create-image (format "/* XPM */ | |
static char * XFACE[] = { | |
\"77 16 1 1\", | |
\"a c %s\", | |
\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", | |
\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", | |
\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", |