all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hijack C function, use it transparently with in-between layer
@ 2016-06-06  3:28 Emanuel Berg
  2016-06-06  3:46 ` Marcin Borkowski
  2016-06-06  7:32 ` Barry Margolin
  0 siblings, 2 replies; 21+ messages in thread
From: Emanuel Berg @ 2016-06-06  3:28 UTC (permalink / raw)
  To: help-gnu-emacs

The truth is down there!

(defvar old-message)
(fset 'old-message (symbol-function #'message))

(defun message (format-string &rest args)
  (unless (member format-string
                  '(
                    "It was just another system of control."
                    "Mark set"
                    ))
      (apply `(old-message ,format-string ,@args) )))

;; test:
;;
;;  (message "%s - %s" "1" "2")
;;  (message "Break on thru to the other side.")
;;  (message "It was just another system of control.")
;;  (message "Mark set")

-- 
underground experts united .... http://user.it.uu.se/~embe8573
Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic
                   - so far: 48 Blogomatic articles -                   


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-06-07 17:05 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-06  3:28 hijack C function, use it transparently with in-between layer Emanuel Berg
2016-06-06  3:46 ` Marcin Borkowski
2016-06-06  7:32 ` Barry Margolin
2016-06-06 10:55   ` Emanuel Berg
2016-06-06 11:30   ` Phillip Lord
     [not found]   ` <mailman.967.1465212644.1216.help-gnu-emacs@gnu.org>
2016-06-06 11:51     ` Emanuel Berg
2016-06-06 13:12       ` Stefan Monnier
     [not found]       ` <mailman.971.1465218784.1216.help-gnu-emacs@gnu.org>
2016-06-06 13:30         ` Emanuel Berg
2016-06-06 13:58           ` Stefan Monnier
     [not found]           ` <mailman.974.1465221532.1216.help-gnu-emacs@gnu.org>
2016-06-06 14:42             ` Barry Margolin
2016-06-06 14:58               ` Stefan Monnier
2016-06-06 23:03               ` Emanuel Berg
2016-06-06 23:44                 ` Barry Margolin
2016-06-07  1:12                   ` Emanuel Berg
2016-06-06 23:49                 ` John Mastro
     [not found]                 ` <mailman.1031.1465256987.1216.help-gnu-emacs@gnu.org>
2016-06-07  1:08                   ` Emanuel Berg
2016-06-07 11:12                 ` Phillip Lord
2016-06-07 15:22                   ` Eli Zaretskii
2016-06-07 17:05                   ` Emanuel Berg
     [not found]                 ` <mailman.1050.1465298004.1216.help-gnu-emacs@gnu.org>
2016-06-07 12:00                   ` Emanuel Berg
2016-06-06 14:40     ` Barry Margolin

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.