Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532358 - app-emacs/css-mode with app-editors/emacs-24.4 - Symbol's function definition is void: apropos-macrop // File mode specification error: (void-function apropos-macrop)
Summary: app-emacs/css-mode with app-editors/emacs-24.4 - Symbol's function definition...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 10:24 UTC by Hans de Graaff
Modified: 2014-12-12 23:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2014-12-12 10:24:00 UTC
According to --debug-init: entered--Lisp error: (void-function apropos-macrop)

This is a run-time error and reinstalling the package with 24.4 does not help.

A non-backwards-compatible fix is discussed here: http://stackoverflow.com/questions/20135194/emacs-css-mode-not-loading

According to ulm on IRC we probably need something like 

(defalias 'css-macrop (if (fboundp 'macrop) 'macrop) 'apropos-macrop)

to fix this for all emacs versions.
Comment 1 Ulrich Müller gentoo-dev 2014-12-12 23:50:51 UTC
Fixed in -r1.

(In reply to Hans de Graaff from comment #0)
> According to ulm on IRC we probably need something like 
> 
> (defalias 'css-macrop (if (fboundp 'macrop) 'macrop) 'apropos-macrop)

I have taken a simpler approach, namely removed the code that was calling apropos-macrop. It was only needed for backwards compatibility with Emacs 19.