> > but this function doesn't seem to be in my emacs
> 
> What I don't understand is that I'm sure I had it in my Emacs
> yesterday, but I don't have it anymore today. Must be hidden somewhere
> in my configuration in a file I didn't load yet ;-)

M-x find-function is available on your Emacs?

M-x find-function 
Find Function: replace-in-string

On my Emacs configuration, I can find

    (or (fboundp 'replace-in-string)
        (defun replace-in-string (target old new)
          (replace-regexp-in-string old new  target)))

in func-menu.el:
    ;;; func-menu.el         --- Jump to a function within a buffer.
    ;;;
    ;;; David Hughes <[EMAIL PROTECTED]>
    ;;; Last Modified: David Hughes 9th November 1998
    ;;; Version: 2.63
    ;;; Keywords: tools, c, lisp

M-x find-function 
Find Function: find-function 

;;; find-func.el --- find the definition of the Emacs Lisp function near point

;; Copyright (C) 1997, 1999, 2001, 2004  Free Software Foundation, Inc.

;; Author: Jens Petersen <[EMAIL PROTECTED]>
;; Maintainer: [EMAIL PROTECTED]
;; Keywords: emacs-lisp, functions, variables
;; Created: 97/07/25

How about on your Emacs?

Reply via email to