Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [symbol-function]

The tag has no usage guidance.

2
votes
1answer
120 views

What is the correct way of passing a function with a default argument to a function?

Here is the code with two things I tried as the ":filter" in ": my-pass-it-on-filter": (defun my-pass-it-on-sentinel (proc _msg) "Process entire output of PROC line-wise." (when (and (eq (process-...
1
vote
1answer
34 views

oddp vs cl-oddp in elisp script

I am trying to write a short script file with elisp for the first time which will serve me to install all the required packages that I use. Thus when I change from one computer to another, I can get ...
3
votes
1answer
63 views

How to get Emacs to know that a symbol has a function definition

While reading the source file prelude-ivy.el in the Prelude modules directory, I saw that there was a warning associated with "here" in the last line, specifically that prelude-required-packages was ...
1
vote
1answer
108 views

Error with org-fstree: Symbol's function definition is void: reduce

I want to use the package org-fstree (MELPA Link). But in a file when I press C-c C-c at #+BEGIN_FSTREE: ~/ I get the following error: Symbol's function definition is void: reduce I am not sure ...
2
votes
2answers
69 views

Monkey patch and restore builtin set-window-dedicated-p during advice

I would like to make set-window-dedicated-p a NOP when called from xref--show-pos-in-buf. Below is an attempt to do so using advice. It doesn't work, I think because fset is not really copying the ...
0
votes
1answer
29 views

Display lambda expression as let-bound symbol

Q: How can I display this let-bound lambda expression as a symbol -- i.e., display it as my-func instead of (lambda (arg1 ...))? I'd like the best of both worlds -- i.e., be able to use funcall in ...
0
votes
1answer
83 views

Elisp equivalent of FUNCTION-LAMBDA-EXPRESSION?

In Common Lisp, there is a function called function-lambda-expression, which returns the LAMBDA form that defines a function (or NIL on implementations that compile everything to native code). Is ...